I’ve just received my Bluetooth Controlled Robot Car Kit and it has a micro servo that needs testing (and I’ve never worked with one before).
The Funduino Tracking Maze also comes with a L298 Dual H-Bridge Motor driver to control the two wheels of the robot. It’s designed to drive inductive loads, such as relays, solenoids, DC and stepping motors. It can also let us drive two independent DC motors, controlling the speed and direction of each one .
I’ve bought two Arduino SD Cards modules from DX.com and didn’t found any info for them – So I decided to try by my self.
Reading a bit about Arduino SD cards i found out that Arduino SD card uses SPI (Serial Peripheral Interface) to communicate with the SD Cards and with Arduino UNO (along with others – except Mega) those PINs are 11, 12 and 13.
The HC-SR04 Ultrasonic Sensor is a very cheap and neat sensor tha gives eyes to your Arduino. This one comes in a Robot kit from Deal Extreme. It works by sending and receiving (bouncing) ultrasound pulses, thus giving you the distance to the nearest object.
In this sketch we’re going to do, we’ll send a pulse to trigger the detection and then listen for the echo using the pulse() function. The duration of this second pulse is equal to the time taken by the ultrasound to travel to the object and back to the sensor. Using the speed of sound, this time can be converted to distance.