Video: PWM On The ATmega328p

This week we continue on with another video in our series about how to program for the ATmega328p processor using C. The ATmega328p is at the heart of many Arduino boards. If you have been using them but want to add some more horsepower to your projects, this series of videos is for you. In this video, [Jack] talks about various types of pulse width modulation (PWM). You can use PWM to control the speed of a motor, the brightness of a LED, or to generate analog waveforms. [Jack] shows how to set up the processor to do locked anti-phase PWM to drive the wheels of the 3pi robot and then demos a short program that shows the code in action.

If you missed the previous posts in this series and would like to check them out…
Intro and how to set up the development environment : Click Here
Working with I/O pins: Click Here

Video is after the break…
Continue reading “Video: PWM On The ATmega328p”

Video: Performing I/O With The ATmega328p

Today we continue on with part 2 of our series where [Jack] shows how to program for the ATmega328p processor using the Pololu 3pi robot. In this video, he starts to dig deeper than last week’s video by showing you how to program in C so that you are directly reading inputs and directly sending data to outputs. Specifically, this video shows how to set up your I/O pins and then how to interface with LEDs, buttons, and a beeper.

There were a few comments on last week’s video about not wanting to buy a 3pi robot to learn on. That’s fine. For this series there really is no reason that you need to use the 3pi robot. We picked it because it is a great device to learn about the ATmega processors since it has so many things that you can play around with to get your feet wet but there really is no reason that you couldn’t wire up a DIP version on a perfboard and still follow along with these videos. In fact, if you have a good writeup about the cheapest possible way to get started with the ATmega series of processors, we’d love to hear about it.

Looking for part 1 of this series? [Click Here]

Video is after the break.
Continue reading “Video: Performing I/O With The ATmega328p”

DWex Watch Looks For Future Development

[FlorinC] sent in his DWex Arduino watch, with intentions for it double as an experimenting base. Inspired by the MakerBotWatch, it runs an ATmega328P, DS1337 RTC,and 24 LEDs to display the time. [FlorinC] tells us the (yet to come) case and strap will be similar to Woz’s watch to ensure airport security tackles him. As for experimenting, the PCB contains an ICSP6 and also an FTDI connector for those “other-than-watch purposes”. We’re not all sure what else could be done with a watch; we racked our brains and came up with a compass, but with the source code and Eagle files available maybe you have a better idea?