Something different: a crash robot
The first type of robot most people make is an obstacle avoiding robot. You take a couple of motors with a motor controller, an ultrasonic or infrared range finder sensor and add a micro controller and you have a simple robot. I have made a couple of these robots myself. This time I wanted to […]
Rover 5 with digital compass
Some time ago I bought a cheap 9DOF board on Ebay. The board has 3 sensors, an ADXL345 accelerometer, HMC5883L magnetometer and an ITG3200 gyroscope. All 3 sensors are of the digital kind and use the I2C bus to communicate. These sensors need a voltage of 3,3V to work, luckily the board has an onboard […]
ADXL345 simple sketch
Arduino + ADXL345 from Bajdi on Vimeo. After running the example sketch sketches that come with the ADXL345 accelerometer library it was time to try something on my own. And the simplest thing is fading a couple of leds. By mapping the value of the Y-axis to 2 big 10mm leds connected to 2 PWM […]