By Bajdi on December 8, 2012
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 […]
Posted in Arduino sketches | Tagged ADXL345, ATmega1284, robot |
By Bajdi on September 2, 2012
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 […]
Posted in Dagu Rover 5 | Tagged ADXL345, HMC5883L, I2C, robot |
By Bajdi on January 20, 2012
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 […]
Posted in Arduino sketches | Tagged ADXL345 |