In our previous Atmel tutorial, we talked about how to set up the powerful AVR Studio 5 IDE to incorporate Arduino libraries and projects. As flexible as AVR Studio 5 is, it had a few issues, and Atmel has been hard at work hustling the next major version out the door. Now, rebranded as Atmel Studio 6 (no longer just for AVRs!), the new version promises to be better, faster, and easier to use. Here, we’ll show you the quickest way to get up and running if you want to use Arduino code with all of the new features.
Note: This article explains how to set up the Atmel Studio 6 IDE for use with Arduino projects, step-by-step. It also notes on general setup for working with Atmel devices, background on the pros/cons of working with AVR Studio, and a few other tips. A table of contents is below; feel free to skip to any section that interests you.
Does your program seem like it’s trying to do too much at once? Are you using a lot of delay() or while() loops that are holding other things up? If so, your project is a good candidate to use timers. In this tutorial, we’ll discuss AVR and Arduino timers and how to use them to write better code.
Pete Brown, the lead of the Developer Guidance Community Team at Microsoft, has written a great post on how to properly prepare for a new AVR project. He covers how to choose a microcontroller, collecting necessary datasheets and information, setting up your hardware development environment and software IDE, and how to properly test and debug your code.
If you’re looking to make the jump from Arduino or another processor family but aren’t sure where to start, this should help get you off the ground. You can also cross-reference our tutorial on using AVR Studio 5 with Arduino projects if you want to mix and match environments.
At long last, the Arduino team has released Arduino 1.0 – an update to the development environment and core libraries that make the Arduino hardware do its thang. The 1.0 update has been in the works for a while, and covers a lot of changes, including some you’ll notice and some you won’t. How does all this affect your Arduino projects? Read on to find out.
This article explains, step-by-step, how to set up the AVR Studio 5 IDE for use with Arduino projects. It also includes some background on the pros and cons of working with AVR Studio, notes on general setup for working with Atmel devices, and a few other tips we’ve picked up along the way. Feel free to skip around to the sections that interest you.
Ah yes… the wonderful and oft-misunderstood world of microcontroller interrupts. Are you looking to build a project that relies on very precise timing or needs to react quickly to an input? Then don’t change that channel, my friend. In this tutorial we’ll cover what interrupts are, what they do, and how to use them.
Sleep and power saving modes are popular topics in the various AVR and Arduino communities. How do I put my device to sleep? How can I wake it up? How can I control what does or doesn’t get turned off? It took me a while to round up answers to all of these questions during my own hacking journey, so this post is an attempt to compile the basics in one place.
What do I need to know before putting my precious Arduino to sleep?
Putting your Arduino to sleep is not as drastic as, say, doing the same to the family pet, but there are a few things you should be aware of before you start.