Past Meetup

Arduino Class - Taking a closer look at the Atmega microcontroller - part 2


Location image of event venue


Come join us at Education Center in Plano TX to learn more about the Atmega microcontroller used in the Arduino Uno platform. In this class we will be covering the following:

Memory management Part 1: Introduction and Flash ( (5:49) This is Part 1, and it discusses ways to optimize the use of the Flash memory.

Memory Management Part 2: Static RAM ( (7:40) This is Part 2, and it discusses ways to optimize the use of the SRAM memory.

Power management with sleep mode and prescaling ( (23:35) In this lecture, I will show you three ways by which you can extend the life of a battery so that your Arduino-powered device can operate for very long periods of time. First, by using a simple library called Narcoleptic, which makes it very easy to place the CPU of the Atmega to sleep mode. Second, we will look at the power down mode that is available in AVR microcontrollers by which we can achieve the maximum reduction in power consumption. Third, I will show you a technique that can further reduce power consumption in these applications for the periods of time when the microcontroller out of sleep mode. This technique is based on the ability of AVR microcontrollers to change their clock speed. Parts Needed:

Arduino UNO ( An LED ( Mini push button. ( A 10KΩ Resistor ( 330 resistors (

Course work for this class comes from Arduino Step By Step ( which has over 20 hours of content in 110 lectures. These classes are designed for anyone interested in learning electronic design and C programming. No experience is required. Access to the course material is free at our meetups. If you wish to access the material outside the meetup see our coupons page to get a discount from our sponsor (