Home

User Manual

image

Contents

1. DVK522 Expansion Board User Manual 2014 06 17 V1 1 Waveshare Electronics Wwww 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 1 2014 06 17 Initial Release Shenzhen Waveshare Electronics Co Ltd www waveshare com Content COD TIDE E L ene eee rere eee ee tee errant are eee ee nner rn rene re ene ne tere Version pdate Nee E Document formatting CONVENTION csecsssesecesteseeesseseeteteseeeeseseeneseseenesesteneaesteneaeetenees E Ae E 2 What s neie e DE 2 1 Beien N ssi eea a aari F Bette Te ain 2 3 PUNDE ee E eee onan eee E Die EC i T T A destsesedestsass esu cqasceab caeudsatulsctdecteectescteacsdscsdecede 3 1 ergeet tre 3 2 USB to serial port driver installation c EE ee ose eosec ccs prs cacsnctcectsere zac ectracespesecnsiecoeecespcecsckiaenmecnceeestrpauneeescecoespeecaceiececes 4 1 TF Gar E CAA STT 4 2 PNAS CAT e EE Bes DV OR 6 EE 5 1 ler e KE 5 2 NK SEENEN 6 1 PDY DENO EE 6 2 LED DENO srana 6 3 DUZA 5 1 n eect terre erener eer ere eres eee eee 6 4 IRR E ODC sa trerere er iern en arere ener ee srerr ere 6 5 ADRK s BR 6 6 AT45DB Read Write Dem 6 7 MAGS TIO DENO csiis n n 6 8 UART Interface Demp ni 6 9 RAGS DEMO ea ee
2. S test_at45db Data written and read will be displayed on the console terminal Shenzhen Waveshare Electronics Co Ltd www waveshare com d COMS PuTTY lS leal gt W A kA LO H ll 1 en H Ww amp CO kA O OO LA mM lo Ww fe H e N WwW H WwW W H Ww CO H W O kA Un LO H n en KH On Un kA in Lu 2 Or 8 49 7 6 1 O el 4 LA ry a C LA A oy CO el J oO CO H O W A LA O CO m co A LU CO D mH w Oo KH NUC Ln mH LA LO e W KA in in D in Mm O H On ell 6 7 MAG3110 Demo Connect the MAG3110 Board to the onboard I2C1 interface 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 LL leas Press Ctrl C to stop Shenzhen Waveshare Electronics Co Ltd www waveshare com 10 6 8 UART Interface Demo Short RXD and TXD of the UART Enter the following command S test_uart ttyS1 EP COMS PuTTY lla O ct few iD 1 L d il e fu D 0 U 0 I f J P Lei Le r E M U H H I a ra D D D DU D D o 0 KI 19 P P gl el U D U il o D D l U 0 fa D D u 0 l J D mM x d D i cl LA 5 5 5 S e S 5 c c 5 5 JaA EI E kl rn tn o Ou
3. 2 Read the system time S date 3 Configure the system time S date 061717502014 23 4 Set the hardware of RTC time S hwclock w f dev rtc1 5 Read time of RTC hardware S hwclock r f dev rtc1 6 Time of RTC hardware synchronized to the system time S hwclock s f dev rtc1 Shenzhen Waveshare Electronics Co Ltd www waveshare com LUI LU el el Ld F el Hi i el IS i k i kl L i L i Pa IS 4 kel IS i ke ke ke kel lard fA GE S A LA Je IE he A H 9 E fA fl Ui U 7 Cut off the power and restart read the time of RTC hardware and synchronized to the system time enter the following command S echo pcf8563 0x51 gt sys class i2c adapter i2c 1 new_device S hwclock r f dev rtc1 S hwclock s f dev rtc1 S date EP COMS Pul TY ES K a E Pe O97 06 2f d i 17727720 ee q m e j J ECH E EC A e w l KW J I da Ga Da LA EWEN Now time of the software and hardware are synchronized the RTC works normally 6 13 USB Camera Demo Connect our standard USB Camera to the onboard Cubieboard1 2 USB Host interface connect the network cable to ensure access to the Internet enter corresponding command 1 Install corresponding tool Sapt get install 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 Shenzhen Waveshare Electronics Co Ltd www
4. COMS PuTTY o lS Igel re 5 Configure want Svi etc network interfaces Acquire the IP configuration dynamically as following auto lo ethO Hiface lo inet loopback Hiface ethO inet dhcp auto wlan0O iface wlanO inet dhcp pre up ip link set wlanO up pre up iwconfig wlanO essid waveshareNet wpa ssid waveshareNet wpa psk 123456 Acquire the IP configuration statically as following auto lo ethO Hiface lo inet loopback Hiface ethO inet dhcp auto wlanO iface wlanO inet static address 192 168 1 121 Shenzhen Waveshare Electronics Co Ltd www waveshare com 18 6 7 netmask 255 255 255 0 gateway 192 168 1 1 pre up ip link set wlanO up pre up iwconfig wlanO essid waveshareNet wpa ssid waveshareNet wpa psk 123456 Note Confi Restart the network S etc init d networking restart Restart the network S ping www baidu com mom om oo H He c om of oo H oe c ES He A V naa Aan bh H Ho Ha T L E r Kee p Jee a itd eet a a a ee ry e ET Er EI o Cr CI lt Gr CI ET EA Lei d Lei d Lei d Lei d Lei ke Lei ke Lei ke H H H 4 N 4 bet hae d J E t D T C T Le t D T C T Le t D T C T Le t vu 0 0 D D 0 D Ev nf un lan hd Ch PuTTY r nihnh h hhh h Ce Er hh Ih fh amp C F d ke WO ee el Cr ee ee ee ee ee sw eee ee Cr ee ee ee ee ee sw a RER i ke e eh 8 Sec Seil wei 8 Wel ee z z ed 8 A A sf e wae a A AJ sw
5. interface for connecting 7inch capacitive LCD with RGB interface 7inch capacitive LCD LVDS interface for connecting 7inch capacitive LCD with LVDS interface 7inch resistive LCD RGB interface for connecting 7inch resistive LCD with RGB interface CAMERA interface for connecting OV7670 Camera Module ZIGBEE connector for connecting ZigBee modules like Core2530 supports working with ZB501 UART interface easily connects to UART modules such as RS485 Board 3 3V GPS module etc ONEWIRE interface easily connects to ONE WIRE devices TO 92 package such as temperature sensor DS18B20 etc SPIO I2C1 interface easily connects to SPI or I2C modules such as MAG3110 Board AT45DBXX Dataflash etc Arduino interface for connecting compatible Arduino modules UART interface PL2303TA for connecting to UARTO interface on CUBIEBOARD1 2 USB interface USB TO UART PL2303TA ICSP interface ICSP interface for Arduino 5V 3 3V power input output usually used as power output also common grounding with other user board 2 2 Component 18 12M crystal for PL2303TA Shenzhen Waveshare Electronics Co Ltd www waveshare com 2 19 20 21 22 23 24 25 26 PL2303TA USB TO UART MCU RTC backup battery 3 3V battery 32 768KHZ crystal for PCF8563 PCF8563 RTC board MCU Buzzer AD keys 3 common Android keys VOL VOL ESC User LED 8 user LEDs Power indicator 2 3 Jumper 27 2
6. 8 29 30 31 32 33 34 35 TVOUT selection jumper CAMERA power selection jumper RTC selection jumper RTC power selection jumper ONEWIRE buzzer and AD key selection jumper Arduino Port selection jumper easily controlling the Arduino connection User LED selection jumper Arduino AD selection jumper short the right while connecting Arduino ADC shield short the left while connecting Arduino 12C shield Arduino UART selection jumper short the right while connecting Arduino UART shield short the left while connecting Arduino microcontroller board 3 Preparation 3 1 Firmware burning Burning corresponding firmware cbx dvk xxxx img is needed when testing DVK522 download it from http dl cubieboard org parteners waveshare Image detail please refer to Burning Firmware Shenzhen Waveshare Electronics Co Ltd www waveshare com 3 3 2USB to serial port driver installation Connect UART connector of DVK522 to UARTO connector of cubieboard 1 2 via 4 pin or 2 pin wires connect USB TO UART connector of DVK522 to PC via mini USB wire Launch PL2303_Prolific_DriverInstaller_v1 8 0 exe to install the driver After installed launch the serial debugging assistant and check putty exe configure like below then click open Specify the destination you want to connect to serial line 0 pech on type Raw Tenet Rogn SSH Serial Load save or delete a stored s
7. AJ ZK sw L CT L CT L Leg r PT d d et eft et ef ef ef ef ef ef dl s ct ct ct l 1 f VS H VS VS H VS VS T l in da LN LA T me at i U DT T D LO Pa bi dr 3 Du F HHH HHH D in th th in tn mm tn th pol Les Les nil pel Un dr 0 W Shenzhen Waves hare Electronics Co Ltd www waveshare com 19
8. d HDMI connector via HDMI wire 6 2 LED Demo Short the onboard LED jumper set by default following are the same Enter the following command S test_led 8 leds blinking Press Ctrl C to stop 6 3 Buzzer Demo Short the onboard BUZZER jumper Enter the following command Shenzhen Waveshare Electronics Co Ltd www waveshare com 7 Stest_ buzzer The buzzer will start to make sound d COMS PuTTY u a 6 4 DS18B20 Demo Insert the DS18B20 into the ONEWIRE socket short the onboard ONEWIRE jumper Enter the following command Sls sys bus w1 devices There s a folder with the name looks like 28 O000054a5bec the last 7 characters is an unique device ID of every different DS18B20 in this case the device ID is 57c5948 Enter the following command Stest_ds18b20 57c5948 The current environment temperature will be printed on the console terminal As shown in the figure below ge COMS PuTTY Il Si seen 6 5 AD Keypad Demo Short the ADKEY jumper Enter the following command S test_key event3 Shenzhen Waveshare Electronics Co Ltd www waveshare com 8 Press 3 keypads respectively then related key value that were pressed or released will be displayed on the console terminal Ss kk D 70 Gn 8 Press Ctrl C to stop 6 6 AT45DB Read Write Demo Connect the AT45DBXX DataFlash Board to the onboard SPIO interface Enter the following command
9. eee eee 6 10 GPS DOOS ann E I 6 11 AIBE E DO O Peete ere ence S 6 12 REC DOMO aa A creer er arer er errr 6 13 BH EN Re A a eee er on erate eer ree 6 14 VVE MY CN e oE S EEE E E S Shenzhen Waveshare Electronics Co Ltd www waveshare com Document formatting convention 1 Commands on PC ubuntu terminal preceding with here root user privileges is requested Commands on the board terminal preceding with S 2 This Manual is for API demo on Ubuntu and Debian system 1 Overview DVK522 is an expansion board designed for Cubieboard1 2 integrates various components and interfaces for connecting external accessory boards complete sample codes will also be offered users can easily develop your own products with it 2 What s on board oe 000 e i a H J dy l x J o EH J 1 ah LS ec 8 a I NRT Se slk es 98 si E r 1 lt HESE Get GPL aad me mer me m N e o weal EA Pal GE me L LCE Gab rel pl rca PER pel Se GVS 2 1 Core interface 1 CUBIEBOARD1 2 socket for connecting CUBIEBOARD1 2 Shenzhen Waveshare Electronics Co Ltd www waveshare com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 CUBIEBOARD1 2 expansion connector For expanding IOs TVOUT interface video CVBS output for connecting display devices like TV VGA interface for connecting VGA display Module 7inch capacitive LCD RGB
10. ession D SSH Shenzhen Waveshare Electronics Co Ltd www waveshare com 4 4 Starting mode 4 1 TF Card starting Insert the burned firmware TF card to the DATA CARD slot of the Cubieboard1 2 connect to electricity for starting 4 2 Nand starting After burned firmware connect to electricity for starting directly 5 Type of system 5 1 Ubuntu Input enter at the terminal to enter Bash Shell development environment with root user privileges Documentation 5 2 Debian Reboot the system input user name and password User root Password 123456 Then enter Bash Shell development environment with root user privileges Al n E f fa eae Note If it Is not rc 6 Demos Shenzhen Waveshare Electronics Co Ltd www waveshare com 5 6 1 Display Demo Different display demo must use corresponding firmware 1 LCD demo Connect connector of LCD to connector of DVK522 via 40pin wires like below LCD connector DVK522 connector CTP_RGB LVDS CTP_LVDS a Connect the RGB connector on the LCD to DVK522 via CTP_RGB connector CN fi wg KS CM T SD Hit E je E el f La HEN mi Pen ae L LVDS connector w G Shenzhen Waves hare Electronics Co Ltd www waveshare com SN 2 VGA demo Connect the display LCD to the DVK522 onboard VGA connector via VGA wire 3 HDMI demo Connect the display to the cubieboard1 2 onboar
11. h 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 COMS PuTTY Lens COOL Cup 1 ehboard2 485 TEST e ir e dde drd e r e dde dr dd dd dA dde e ir e lr e dA dd ie dde lr ddr e dd ddd A d the information to a5 D 0 mo in m m no H E KE 1 In in 5 hello hello hello hello hello D s H D 1 mm num num num num Ln d U ER in H In in opp o sl rf ih dr W Ln Va L Bi LI ry EL Press Ctrl C to stop Shenzhen Waveshare Electronics Co Ltd www waveshare com 12 6 10 GPS Demo Connect the UART GPS module to the onboard UART3 interface Enter the following command S 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 module please refer to http www wvshare com aspx search aspx keywords GPS 6 11 ZIGBEE Demo Interface 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 ZB501 Detail development package please refer to http www wvshare com product ZB501 htm 6 12 RTCDemo Test onboard DVK522 RTC enter corresponding demand on the console terminal 1 Add device S echo pcf8563 0x51 gt sys class i2c adapter i2c 1 new_device
12. ntrol for LEDI Seege UVCTOC CTRL MAP Error Inappropr mapping control for Disable video _CTRL MAP Error Inapt mapping control for Raw bits per pi UVCTIOC CTRL MAP Error Inap propr www folder path www HTTP TCP lt S 8080 G disabled commands 2 enabled ct D a L W s ba D H H w D j CT U d CH H H ct D ka M 7 Open the browser on a computer which is connected to the same subnet or directly on the LCD display which is connected to DVK522 enter the following address http 192 168 1 244 8080 javascript html You can see the captured video stream Press Ctrl C to stop The MJPG streamer team Design by Andreas Viklund Shenzhen Waveshare Electronics Co Ltd www waveshare com 16 6 14 WIFI Demo Insert our standard USB WIFI to the Cubieboard1 2 onboard USB Host connector enter corresponding command on the console terminal 1 2 3 4 Install corresponding tools Sapt get install wifi radar Sapt get install linux firmware When finished reboot the system After rebooted the system turn off the Ethernet card and open WIFI card Sifconfig ethO down Sifconfig wlanO up qT III AHT Check the network status Sifconfig EP COMS PuTTY Cu In Se LEE e Pah D Wo a Scan the wireless router S iwlist wlanO scan to find available wireless network Shenzhen Waveshare Electronics Co Ltd www waveshare com 17 Ee
13. rl If the serial port can receive and send automatically it means the UART can work normally 6 9 RS485 Demo Connect the two RS485 Boards to the onboard UART3 and UART4 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 S test_485_uart3 d dev ttyS1 b 115200 The other enter the following command S test_485_uart4 d dev ttyS2 b 115200 1 Select 2 for the receiver before select 3 to stop receiving the receiver remain Shenzhen Waveshare Electronics Co Ltd www waveshare com 11 in the status of receiving As shown in the figure below root cubieboard A LD root cubieboard2 test 485 uart3 d dev ttysl Ki Ki Vo Hi K wi wi M Hi E Ki 4 Ki CN Ki Ki K D H H Ki l tee A A ps Ki Hi Hi wi Hi wi Ki Ki E Ki Hi r r e r e e wt e we vr e vr e e vr e br d dr e e r e ir r e e r ir e ir e e r e Ar ir e ir r e ir e ESE i ok D M ct ct TEES T En d D B3 D Stop Receive Ln num num num nimi num Ln Ln Ida LH Lu B3 A in 2 Select 1 for the receiver enter information that you want to send suc
14. waveshare com 14 3 4 5 6 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 Modify the configuration file BVI mjpg streamer mjpg streamer plugins input_uvc input_uvc c Modify int width 640 height 480 fps 5 format V4L2_PIX_FMT_MUJPEG i to int width 320 height 240 fps 5 format V4L2_PIX_FMT_YUYYV i Exit after save it Compile Scd mjpg streamer mjpg streamer Smake clean Smake Check the assigned ip address S ifconfig ethO EP COMS PuTTY E The ip address is 192 168 1 244 Check the assigned ip address Scd mjpg streamer mjpg streamer S start sh Shenzhen Waveshare Electronics Co Ltd www waveshare com 15 EP COMS PuTTY Adding control for Tilt JVCIOC CTRL ADD Errori Adding control for Pan d UVCTOC_ CTRL ADD Errors EE control for Focus absolut UVCIO C CTRL ADD Error Inappropr Mapping control for Pan telativel UVCIOC CTRL MAP Error a get aire Mapping control for Tilt relative UVCIOC CTRL MAP Error I ppropriate Mapping control for Pan Re UVCIOC CTRL MAP control capes aig EES PI control for Pan TVCIOC _CTRL MAP Error mapping control for Focus UV IN CTRL MAP Error V mapping control for LEDI Moc UVCIOC CTRL MAP Error PE Mapping co

Download Pdf Manuals

image

Related Search

Related Contents

OWNER`S GUIDE  Thermador Char-Glo CGBD30RX User's Manual  Here - Discount Car Stereo  ED4000, ED5000 Parts Manual  OpenScape Xpressions V6 Web Assistant  Philips EasySpeed Steam iron GC2040/20  Charging the Battery Pack How to Use the Touch Sensor  Tripp Lite Cat6, 60.96m  テクニカルシート - 住友重機械精機販売  PrimeTec User Manual  

Copyright © All rights reserved.
Failed to retrieve file