Home

User Manual

image

Contents

1. libv4l dev Sapt get install libjpeg8 dev Sapt get install subversion Sapt get install imagemagick Sapt get install make Sapt get install vim 2 Download mjpg streamer source code scd Ssvn co https svn code sf net p mjpg streamer code mjpg streamer It will download automatically after executed the command after finish download the mijpg streamer document will appeared in the current directory 3 Modify the configuration file vi mjpg streamer mjpg streamer plugins input uvc input uvc c Modify int width 640 height 480 fps 5 format V4L2 PIX EMT MJPEG i to int width 640 height 480 fps 5 format VAL2 PIX EMT YUYV i Exit after save it 4 Compile Scd mjpg streamer mjpg streamer Smake clean Smake 5 Check the assigned ip address S ifconfig ethO Shenzhen Waveshare Electronics Co Ltd www waveshare com 12 2 COMS PuTTY call 2 Link encap ed inet addr 132 inet addr UP BROZ root cubietruck The ip address is 192 168 1 205 6 Start the video streamer server Scd mjpg streamer mjpg streamer S start sh EP COMS PuTTY Adding control for Tilt UVCIOC CTRL ADD Error D Adding control for Pan tilt UVCIOC CTRL ADD Error Adding control for Focus absolute UVCIOC CTRL ADD Error Inappropriate mapping control for Pan relative UVCIOC CTRL MAP Error Inappropriate ioctl mapping control for Tilt relative UVCIOC CTRL MAP Error Inappropriate ioctl m
2. 1 1 pre up ip link set wlanO up pre up iwconfig wlanO essid waveshareNet wpa ssid waveshareNet wpa psk 123456 Exit after save it 6 Restart the network S etc init d networking restart 7 Network Demo ping www baidu com CU O 3 t DI tal B3 Il do dea de y I dA k al bat Let o ll d I II GA Bo ll lal la CO La LA pl m m ke fe H VS 4 d 4 a coc c ct he de Qu UU H e Ln pa TES Ha Ha F o T o T m m m Il Il Al dA n amp i in amp i in WC a a a a CHE dA vcr vm cl cl ctr cr cr cr cr cr cr cr cr cr co mm qq h hi HH Tene I H CT l VS EMIT Fh I 1 1 wed Hes kd H d hi F b H he vi Tel Il VS e WI ep Bien 04 e hi Pa L d ct m ct VS d co d mm d d Il in LA Ln Gn iN d D D D D iD D E Dm M ea LA LO Lo Lu LA P R3 Bo Bo Bo fo fo Bo Ba Bo Bo Bo fo 3 Ctr cr cr cet et ID im n iD in Il i dr rim Lm A P3 Aa B3 3 Bo fo Bo fo Bo 2 F GW Lem Les Shenzhen Waveshare Electronics Co Ltd www waveshare com 18
3. DVK570 Expansion Board User Manual 2014 04 12 V1 0 Waveshare Electronics www wvshare com Copyright Statement The ownership of this user manual is Shenzhen Waveshare Electronics Co Ltd Any manner or form of modifying distributing or copying any parts of this document without permission is forbidden otherwise offender will have to suffer all the consequences Version update records V1 0 2014 04 12 Initial Release Shenzhen Waveshare Electronics Co Ltd www waveshare com Contents Copyrient E men EEN l Versi n update FecOLUS iria iia e 1 SM ET MP 1 PRETI RIS NETT 1 PAPA Ge arco pin PP HG A 2 DF Ucet n 2 3 Preparation A E 3 S E EE 3 3 2 USB to serial port driver installation teni oat nn ti kid rh Eoo did da dava 3 A Starine tO BL oerte itineris iade eti ud ddnde dU RN IPM 4 Di Lg A Stal CINE RETE 4 aa WAI Ce E Ee dE 4 5 Tope Or STC Seege 4 SL LU ut E 4 O MR 5 DOMO is 5 A mAK NE EA N E E OE A E E E E O cee 5 BZ BUZZ DEMO ies 6 ONDA Eno A ends E A E E ater wate tacos 7 6 4 AD Keypad DEMO EE 7 6 5 AT45DB Read Write Demo 8 6 6 MAG3 L10 DN Orar ica 8 6 7 UART Interface Demo 9 A PA E 10 SE BEE Kn e A A terete teeta nace tcete moet E actions 11 AA A A 11 SEA nubi vrbvpe primi oum PUpF CSI Pros U
4. S PuTTY o 1 e Jm Jic d Press Ctrl C to stop 6 7 UARTInterface Demo Short RXD and TXD of the UART Enter the following command test uart ttyS1 d COMS PuTTY Sas root cubietruck z 3 i Welcome to uart data hello un e mh h h hn D dB Qc TD Bo iD D th H oct ae e sel t to to mmm ta to to Im D MN d 5 d 5 d d VJ x v Uu d d AJ r1 EM LEM LM LEM LM LM LM LM LM LM DL El HI DI ct ct LLJ gt m r e C e zT Ex jo finished Read Test Data is gt hello world again hello world gt pn E If the serial port can receive and send automatically it means the UART can work normally Shenzhen Waveshare Electronics Co Ltd www waveshare com 9 6 8 RS485 Demo Connect the two RS485 Boards to the onboard UART4 and UART7 interface Connect the A B side of one RS485 module to the A B side of the other RS485 module using connecting wires Users can also use their own RS485 for testing The two RS485 devices can optionally regarded as a receiver or transmitter the receiver should firstly be in receiving status then the transmitter begin to send Open two console terminals one enter the following command test 485 uart7 d dev ttyS3 b 115200 The other enter the following command test 485 uart4 d dev ttyS2 b 115200 1 Select 2 for the receiver before select 3 to stop receiving the receiver remain in the stat
5. Waveshare Electronics Co Ltd www waveshare com 14 EP COMS PuTTY root cubietruck i Sat Apr 12 17 51 root cubietruck Sat Apr 12 17 50 D H 2014 041217502014 gt 2014 D i H i I d cc D 2 bl ir root cubietruck hwclock w f dev 62 sunxi rtc actually set time to 2014 4 12 hwclock r dev rtc 2014 1 045239 ht hwclock s f RoR to ok 6 Cut off the power and restart read the time of RTC hardware and synchronized to the system time enter the following command EP COMS PuTTY mec root cubietruck hwclock 1 fdev rtcoO 12 17 52 10 2014 1 964 root cubietruck hwclock dt date 17 52 17 UTC 2014 Now time of the software and hardware are synchronized the RTC works normally 6 13 WIFI Demo Test the onboard Cubietruck WIFI module enter corresponding command on the console terminal nr m cl h ri ta IcT BCI I ud iu LU LE fo L 1 Install corresponding tools When finished reboot the system 2 After rebooted the system turn off the Ethernet card and open WIFI card Shenzhen Waveshare Electronics Co Ltd www waveshare com 15 Note e wlan1 in diff 3 Checkthe network status Sifconfig EP COMS PuTTY ct it e T Gto th th a O i IB RI DI n kd 4 Scanthe wireless router iwlist wlanO scan to find available wireless network cr qe S CITILATIAN Shenzhen Wav
6. apping control for Pan Reset OC CTRL MAP Error Inappropriate ioctl mapping control for Tilt Reset UVCIOC CTRL MAP Error Inappropriate ioctl mapping control for Pan tilt Reset UVCIOC CTRL MAP Error Inappropriate ioctl mapping control for Focus absolute UVCIOC CTRL MAP Error Inappropriate ioctl mapping control for LED1 Mode UVCIOC CTRL MAP Error Inappropriate ioctl napping control for LED1 Frequency UVCIOC CTRL MAP Error Ina appropriate ioctl Mapping control for Disable video UVCIOC CTRL MAP Error Inappropria mapping control for Raw bits per pixel UVCIOC CTRL MAP Error Inappropriate a www folder path www HTTP TCP port UUB username SEET s bled commands enabled 7 Open the browser on a computer which is connected to the same subnet or directly on the display which is connected to Cubietruck enter the following address You can see the captured video stream Press Ctrl C to stop Shenzhen Waveshare Electronics Co Ltd www waveshare com 13 The MJPG streamer team Design by Andreas Viklund 6 12 RTCDemo Test onboard Cubietruck RTC enter corresponding demand on the console terminal 1 Readthe system time date 2 Configure the system time date 041217502014 23 3 Setthe hardware of RTC time hwclock w f dev rtcO 4 Read time of RTC hardware hwclock r f dev rtcO 5 Time of RTC hardware synchronized to the system time hwclock s f dev rtcO Shenzhen
7. eshare Electronics Co Ltd www waveshare com 16 me COMS PuTTY EC Sui Encre key Bit Rates 1 M s pe pe Address ESSID Lin zhi hui Mode Managed dai rai ia d Quality 1 IE IEEE 302 Group Cipher Palrwise Ciphers Authentication Sul Encryption key on Bit Rates 1 Mb 24 Mb is r2 Mb ele uuz TATEM 36 S Address SSID Wav Mode Man Frequent quality 5 IE IEEE 111 Group ohe EC ER Ge Authentication Es eieiei GHz TT WPA2 a P Encry urina Sea on Bit Rates 1 Mb s 9 ardt 48 Mb s root cubietruck 5 Configure wlanO Ch level Version TRIP 2 Mb F Mb Channel igual level Version CCMP 1 Suites DDS d n io 10 dica H 3 P Lokale CCMP TRIP PSRK 6 dBm 1 annel t Noise CCMP TKIP 1 D d F Mb DEA BE 7 dBm 1 ez leve Noise CCMP 1 PSK 103 ipd Acquire the IP configuration dynamically as following Hauto lo ethO Hiface lo inet loopback Hiface ethO inet dhcp auto wlanO iface wlanO inet dhcp pre up ip link set wlanO up pre up iwconfig wlanO essid wpa ssid wpa psk Acquire the IP configuration statically as following Hauto lo ethO Hiface lo inet loopback Hiface ethO inet dhcp Shenzhen Waveshare Electronics Co Ltd www waveshare com 17 auto wlanO iface wlanO inet static address 192 168 1 121 netmask 255 255 255 0 gateway 192 168
8. ess 7 keypads respectively then related key value that were pressed or released will be displayed on the console terminal N Shenzhen Waveshare Electronics Co Ltd www waveshare com 3 COMS PuTTY o E meza root cubi d east key eve ts mr hi qm ri a Tce OF Oe Oe Oe ip i iq id m m Dh dq m Dh dq in H L ke 4 RE MENU epis gt MENU gt SEARCH SEARCH ccs gt HOME gt HOME ee gt ESC ecc gt ESC gt ENTER EE ENTER He H ri m m H m fai DA ES di A LO LO aum ds tuum DI Ip m H Ri R3 EE E LA ee m k B3 is iD n 3 H Ex Exod c Ca o Ca CI Ga Ca CI p Ga Ca dO 1 E qm fu CL mM k R3 E La in i Ip hi eH t D tu d SS PO Press Ctrl C to stop 6 5 AT45DB Read Write Demo Connect the AT45DBXX DataFlash Board to the onboard SPI2 interface Enter the following command test at45db Data will be read and displayed on the console terminal EP COMS PuTTY o 1 mE D1ITS W 42VUUUUULU 6 6 MAG3110 Demo Connect the MAG3110 Board to the onboard I2C1 interface Shenzhen Waveshare Electronics Co Ltd www waveshare com Enter the following command Stest_mag3110 Rotate the module for a circle in the same plane to record the maximum and minimum mean parameter When the correction finished the correct guide angle will be displayed on the console terminal ge COM
9. leds gt leds gt leds gt i leds gt legds gt IIS E root cubietruck Press Ctrl C to stop 6 2 Buzzer Demo Short the onboard BUZZER jumper Enter the following command The buzzer will start to make sound and stop later COMS PuTTY root cubietruck pwmQ gt off pwm gt e PRO gt gt off pen gt on pen Se gt Off on gt 2 gt on own gt off Dwm gt on pwm gt oft Ban gt on pan gt off pwn eee gt on root cubietruck Shenzhen Waveshare Electronics Co Ltd www waveshare com 6 3 DS18B20 Demo Insert the DS18B20 into the 1 WIRE socket short the onboard 1 WIRE jumper ensure that the AT45DBXX DataFlash Board has been disconnected Enter the following command Sis sys bus w1 devices There s a folder with the name looks like 28 0000054a5bec the last 7 characters is an unique device ID of every different DS18B20 in this case the device ID is 54a5bec Enter the following command Stest_ds18b20 57c5948 The current environment temperature will be displayed on the console terminal As shown in the figure below B COMS putty olas 6 4 AD Keypad Demo Short the ADKEY jumper Enter the following command S test_key event3 Pr
10. open Shenzhen Waveshare Electronics Co Ltd www waveshare com 3 ipecity the destination you want to connect to 115200 Raw O Tene O Rogn ASSH Se a Load save or delete a stored session Saved Sessions Default Settings 192 168 1 114 192 168 1 139 192 168 1 400 192 168 1 401 i 192 168 1 205 gt Hlogin 192 168 1 251 H SSH 4 Starting mode 4 1 TF Card starting Insert the burned firmware TF card to the CARDO slot of the Cubietruck connect electricity for starting 4 2 Nand starting After burned firmware connect to electricity for starting directly 5 Type of system 5 1 Lubuntu Input enter at the terminal to enter Bash Shell development environment with root user privileges Shenzhen Waveshare Electronics Co Ltd www waveshare com 4 Bf B n O Dp m D 67 mmc m ni LH D ul Em lt 6 gt mmc m Lr Hj i uu In D D Ll 5 2 Debian Reboot the system input user name and password User root Password chird Then enter Bash Shell development environment with root user privileges 6 1 LED Demo Short the onboard LED jumper set by default following are the same Enter the following command test led 4 different color led blinking Shenzhen Waveshare Electronics Co Ltd www waveshare com 5 COMS PuTTY root cubietruck leds leds leds leds leds leds leds leds leds leds gt
11. rface For easily connecting to core board Core2530 used with ZB500 11 ONEWIRE interface Easily connects to ONE WIRE devices TO 92 package such as temperature sensor DS18B20 electronic registration number DS2401 etc 12 5V 3 3 V power input output Usually used as power output also common grounding with other user board 2 2 Component 13 PL2303TA USB TO UART MCU 14 12M crystal oscillator PL2303TA crystal oscillator 15 Buzzer 16 User LED 4 different color user LEDs 17 Power LED 18 AD Keypad 7 ANDROID common keypads VOL VOL MENU SEARCH HOME ESC ENTER 2 3 Jumper 19 ONEWIRE jumper 20 Buzzer jumper Shenzhen Waveshare Electronics Co Ltd www waveshare com 2 21 AD keypad jumper 22 User LED jumper 23 TVIN jumper Users can choose video input of 4 channels factory default is the forth channel 24 TVOUT jumper 25 UARTO jumper 3 Preparation 3 1Firmware burning Burning corresponding firmware ct dvk xxxx img is needed when testing DVK570 Click http dl cubieboard org parteners waveshare Image to download details please refer to Burning Firmware 3 2USB to serial port driver installation Connect DVK570 to Cubietruck then connect it to PC using a mini USB wire via USB TO UART connector Launch PL2303 Prolific Driverlnstaller v1 8 0 exe to install the driver After installed launch the serial debugging assistant and check putty exe configure like below then click
12. u NDS NUEpE 12 LLERO D ro C 14 La NIR AMA En A E A EE E O E A 15 Shenzhen Waveshare Electronics Co Ltd www waveshare com II Document formatting convention Commands on PC ubuntu terminal formatted in red preceding with 8 Commands on SD card linaro terminal formatted in red preceding with S 1 Overview DVK570 is an expansion board designed for Cubietruck integrates various interfaces for connecting external accessory boards supports complete sample codes users can easily develop their own products 2 What s on Board 2000 0 O 5 0 Lal ad Paz ied ET En ES Le rs re Th l ER 2 1 Interfaces 1 CUBIETRUCK interface For connecting CUBIETRUCK 2 UARTOinterface For easily connecting various serial port modules 3 12C interface Shenzhen Waveshare Electronics Co Ltd www waveshare com 1 easily connects to I2C modules such as PCF8563 RTC Module MAG3110 Board Module etc 4 TVIN interface For video input 5 TVOUT interface For video CVBS output can connect to devices such as TV etc 6 LINEIN interface For audio input 7 USB interface USB TO UART PL2303TA 8 UART interface Easily connects to various modules with UART peripherals such as RS485 Board 3 3V GPS modules etc 9 SPI interface Easily connects to all kinds of modules with SPI peripherals such as AT45DBXX Dataflash modules etc 10 ZIGBEE inte
13. us of receiving As shown in the figure below EP COMS PuTTY 2 Select 1 for the receiver enter information that you want to send such as hello before select 3 to stop sending the transmitter remain in the status of loop sending keep sending data As shown in the figure below Shenzhen Waveshare Electronics Co Ltd www waveshare com 10 er als El m Ho HW dH d ll H Ho Hn i TI in mm th t iT Hou Wo TI Jo m um uu ID iD od kW Hh oH Press Ctrl C to stop 6 9 GPS Demo Connect the UART GPS NEO 6M module to the onboard UART3 interface Enter the following command test gps ttyS1 User can analyze corresponding data according to their needs Press Ctrl C to stop Detail for how to use the UART GPS NEO 6M module please refer to http www wvshare com product UART GPS NEO 6M htm 6 10 ZIGBEE Demo Interfaces of onboard ZIGBEE only compatible with configured Core2530 board When burning program for the core board or other corresponding configure it may need support from ZB500 Detail development package please refer to http www wvshare com product Core2530 Acce htm Shenzhen Waveshare Electronics Co Ltd www waveshare com 11 6 11 USB Camera Demo Connect our standard USB Camera to the onboard Cubietruck USB Host interface connect the network cable to ensure access to the Internet enter corresponding command 1 Install corresponding tool Sapt get install

Download Pdf Manuals

image

Related Search

Related Contents

UC-331 体重計 取扱説明書(保証書付)  Íntegra - Inmetro  Samsung YP-P2JAB/XEU User Manual  ClimaPak User Manual  MANUEL D` UTILISATION 2006  Repair manual - Lens  M@gistère Glossaire des outils  Entreprise  MANUALE DI INSTALLAZIONE E FUNZIONAMENTO  manuel d`utilisation de la salle des marches  

Copyright © All rights reserved.
Failed to retrieve file