
www.nexusrobot.com Robot Kits manual
I
¾Arduino...................................................................................................................1
¾Introduction......................................................................................................1
¾Hardware ...............................................................................................................1
¾Specification ....................................................................................................1
¾Arduino Board Pinout......................................................................................2
¾Arduino 328 Features.......................................................................................2
¾Memory function ......................................................................................3
¾Input and Output PinMode........................................................................3
¾Communication.........................................................................................3
¾Configuration...................................................................................................3
¾Servo Power Select Jumper ......................................................................3
¾Motor Control Pin Jumper........................................................................4
¾Wireless Select Jumper.............................................................................4
¾Arduino IO Expansion Board ..........................................................................4
¾Features.....................................................................................................4
¾Software.................................................................................................................5
¾Before you start................................................................................................5
¾Applying Power........................................................................................5
¾Getting Started..........................................................................................5
¾Language Reference.........................................................................................9
¾Programming structure.....................................................................................9
¾Re-write Arduino bootloader.............................................................................10
¾FT232RL BitBang Mode AVR-Writer..........................................................10
¾Modify the Diecimila..............................................................................10
¾Downloading...........................................................................................11
¾Installing .................................................................................................11
¾Setting.....................................................................................................12
¾Testing and confirming...........................................................................13
¾Adjust PWM frequencies...................................................................................13
¾Simple Examples in Arduino 328.....................................................................15
¾LED control ...................................................................................................15
¾Button module................................................................................................16
¾Interrrupt control............................................................................................17
¾Digital Read Serial.........................................................................................18
¾Analog Read Serial........................................................................................19
¾Servo Motor Theory.......................................................................................19
¾Motor Control ................................................................................................21
¾Serial Port.......................................................................................................22
¾External device modules...................................................................................23
¾Dual Ultrasonic Sensor (DUS).......................................................................23
¾Introduction.............................................................................................23
¾Specification ...........................................................................................24
¾Dimension and Pin definition .................................................................24
¾RS485 Bus ..............................................................................................25