Electronics and Programming for All
Posts tagged avr
Handy Link: Programing an AVR with a Bus Pirate
Jan 7th
The guys over at HintShop have published a tutorial on using a bus pirate as an In-Circuit Programmer to flash firmware to an AVR Microcontroller using SPI.
As if that wasn’t cool enough, they also include instructions showing how multiple Mircocontrollers can be flashed by one Bus Pirate on the same board, in their tutorial! Is there anything this little gadget can’t do?
Handy Link: Using the AVR EEPROM in GCC-AVR
Dec 11th
EEPROM memory can be extremely useful in Microcontroller projects, either as a fail-safe mechanism (to stores the state of your outputs so you can restore them if power is lost) or as a non-volatile storage area for data gathered via sensors.
This tutorial from AVR Freaks explains how to read from and write to EEPROM memory using AVR-GCC. Hope its useful to someone.
Handy Link: AVR Timer Calculator
Nov 30th
Ok, here’s another little gem I came across on the web that I think you’ll find useful: A web-based Timer calculator, courtesy of Frank at circleofcurrent.com
Just put in your clock frequency and the time (in seconds) you need to count to and let the calculator do the rest.
8 bit and 16 bit timer resolution values are catered for and he even includes a prescaler function so you can experiement with different prescaler values.
Note, You’ll need to make sure that you have Javascript enabled in your browser to use it.
AVR C Bit Level Operations Guide
Nov 28th
Found this very comprehensive guide (Link is a PDF document), during my travels on Google, showing how to perform bit-level operations in AVR C. Hope it’s useful to someone.
If you’ve not got a PDF reader to hand, then you can use Google’s Quick View link to this guide to view it in your browser
From extremeelectronics: AVR USART Tutorial
Sep 17th
Ok, yet another link to another site, but screw it, I’m bored so here it is!
Here’s another resource that should be useful to anyone getting to grips with the black art of AVR USART comms. The guys at extremeelectonics have published a very comprehensive tutorial on the various registers related to the AVR USART peripherial, how to set them, etc.
Review of ATMEGA8 Dev Kit
Jul 5th
The good people at Protostack have donated a ATMEGA8 Development kit for me to review. It’s normal cost is $14.55 U.S Dollars, which is about £8.90. I’ve chosen to conduct this review from the perspective of a beginner hobbyist.






Recent Comments