Arduino: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
* Chapter 5 (Whiskers). Activity 3 or 4: See my robot is in action on http://www.youtube.com/watch?v=sjzQI6GHe3w.
* Chapter 5 (Whiskers). Activity 3 or 4: See my robot is in action on http://www.youtube.com/watch?v=sjzQI6GHe3w.
[[File:Robot whisker.jpg|100px]]
[[File:Robot whisker.jpg|100px]]
* Chapter 7 (Infrared headlight). Activity 4: Similar to Chapter 5 but IR detectors are used.
* Chapter 7 (Infrared headlight). Activity 4: Similar to Chapter 5 but IR detectors are used. Activity 7: Drop-off detection (Very Cool).
[[File:Robot Infrared.jpg|100px]]
[[File:Robot Infrared.jpg|100px]]

Revision as of 22:17, 22 April 2013

Hardware

  • Uno The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.
  • Due The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit ARM core microcontroller. It has 54 digital input/output pins (of which 12 can be used as PWM outputs), 12 analog inputs, 4 UARTs (hardware serial ports), a 84 MHz clock, an USB OTG capable connection, 2 DAC (digital to analog), 2 TWI, a power jack, an SPI header, a JTAG header, a reset button and an erase button.

Source code

https://github.com/arduino/Arduino/tree/master/hardware/arduino/cores/arduino

C users

Robot based on BOE

  • Chapter 3. Activity 2: Re-test the servos. We can use Pins 11 and 12 instead of 12 and 13. Be sure to adjust your code accordingly.
  • Chapter 4. Activity 2: First time we disconnect robot from the computer and let it go (forward, left turn, right turn and back ward).
  • Chapter 5 (Whiskers). Activity 3 or 4: See my robot is in action on http://www.youtube.com/watch?v=sjzQI6GHe3w.

Robot whisker.jpg

  • Chapter 7 (Infrared headlight). Activity 4: Similar to Chapter 5 but IR detectors are used. Activity 7: Drop-off detection (Very Cool).

Robot Infrared.jpg