Design, Build, Test, Iterate

Posts Tagged ‘Arduino’

Increasing Arduino PWM frequency using the Timer library

If I had any real AVR skills, I would be able to generate a PWM signal of whatever frequency using the three (four?) timers in the ATmega1280 on my Seeeduino. Since I do not, I have to use the Arduino Timer library to generate PWM signals of arbitrary frequencies. Lately, I have been worried that […]

Faster I2C on the Arduino

The Arduino I2C library is configured, by default, to 100 kHz frequency I2C. We can increase this to the more modern 400 kHz by changing TWI_FREQ in the Arduino I2C library from 100000L to 400000L. It used to take around 1500 microseconds each for my Seeeduino Mega to read six bytes off the accelerometer and […]

Kiwi drive robot, resurrected!

Two years ago, I started building a three-wheeled, omnidirectional, “kiwi drive” robot as a school project. For various reasons, I put the project on hold, while things like chemistry and flying machines distracted me. The parts sat in a drawer, unforgotten but largely ignored. ..Until last Monday.