Faster code Fridays: Understand division and speed of operations

Hello there and welcome back! Faster code Fridays is our weekly series that doesn’t ever fall on a Friday, unless our laziness becomes so strong that it interferes with our disregard for naming conventions. We figure we’ll forgetfully publish one of these things on a Friday at some point. Even a broken clock is right twice a day, eh?

If you’re a first-time visitor, Faster code Fridays highlights code optimization techniques that are useful for embedded systems. Embedded applications often deal with time critical applications that require maximum performance and minimum execution time. In fact, good coding practice is often more apparent when working with microcontrollers, because you don’t have four 4GHz cores and 8Gb of RAM to get you out of trouble. We’ll use Arduino-compatible code for most of our examples, though these techniques are applicable to AVR, PIC, or any number of platforms.

The best embedded systems books to improve your development process

Microchip fun for everyone.Embedded systems have never been more important. With the growth of trends such as Arduino, the “internet of things”, and inexpensive wireless connectivity, even seemingly simple devices can process data and communicate with the outside world.

Whether you are looking to gain a basic knowledge of circuits and electrical engineering or build on an established career, it’s important to learn from the right resources. The following books have been selected by the EngBlaze editorial team as some of the best guides to embedded systems development. These are only a taste of what’s available, but they provide a good introduction for various skill levels and backgrounds.

Tutorial: Using AVR Studio 5 with Arduino projects

AVR Studio Welcome Page

Note: This tutorial has been replaced with an updated version that covers the same topic with Atmel Studio 6. Studio 6 makes a lot of improvements over the prior version, so there’s really no reason not to upgrade unless you have a very specific need. We’ve also incorporated a lot of fixes, tips, and great user feedback. Check it out here:

Tutorial: Using Atmel Studio 6 with Arduino projects

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.

Have your Arduino tweet, text, and post rambling Tumblr updates from anywhere using the official GSM/GPRS shield

Straight outta Compton the official Arduino labs, the GPRS/GSM shield and associated library have been developed for your communications pleasure.  There is a lot of scattered work out there on cellular communications, but this project was developed by a three-person team that includes two Arduino co-founders, so you know you’re getting a level of professionalism.  Like some of our other cellular posts, the library relies on standard AT commands, so you may be able to adapt it to a range of other hardware.  Check out their detailed documentation and see if it will work for your project.