Friday, February 21, 2014

Assembling & Wiring

This post describes how we have assembled the robot and connected all the devices to it.
The AWBB robot is easy to assemble, only just a few solder are required to obtain extra pin.

If you just bought your Official Arduino Robot, please follow this first step before:
Don't forget to plug the Arduino TFT LCD screen.

Rear ball shifting

In the way to improve AWBB moving, rear ball has been moved far of its original place, fixed to a piece of plastic to allow it to move on surface with relief.

Wiring all devices and sensors

We've got plenty of data to collect from various sensor, some for the robot moving and some for the environment analysis.
The main problem is the available number of pin. On a standalone board as the Uno,  it's easy, nearly all the pin are available and accessible, not on both board of the Official Arduino Robot (Control & Motor). 
OK, let's deal with it!

Control Board

This board already contains a lot of components (compass, LCD, SDCard reader, buttons, knob, EEPROM, & buzzer) and they are all connected, it means too few available pins for our sensors.
We have connected on this Control board:
  • Servo motor to manage the Ultra-Sonic range meter (connected to a PWM digital pin TK2)
  • Ultra-Sonic range meter connected to another PWM digital pin TKD4
  • Light Dependent Resistor on analog pin TK4 (with a 10kOhm pull-down resistor)
As we don't have more free pin for interrupt management and not enough memory, that's all for this board!
We will broach Arduino Robot Control memory optimization in another post. 

µSD Card port is used to log all the data coming from sensors.

Motor Board

This board only manages wheels, infrared sensors and communication with Control board and we have plenty of free memory, let's use it!
We have connected on this motor board:

  • DFRobot CO2 sensor connected on analog pin TK2 (more details here)
  • Adafruit Ultimate GPS sensor connected on digital pins MOSI and TK3 (more details here)
  • Temperature & Hygro sensor DHT22 connected on digital pin TK4
  • Adafruit Electret Microphone Amplifier (MAX4466) connected on analog pin TK1

Note: Electret microphone and CO2 sensor must be plugged to TK1 and TK2 pin as they are working better on analog mode than TK3 and TK4

Later, in future version of this robot we will add Bluetooth connection to this board.

No comments:

Post a Comment