Search

Category: C

If you are New To C then you can consider this a crash course introduction to the language. C is really not all that hard, so don’t be intimidated. You will have to learn to just accept some things in the beginning, and then come back and really learn how they work later on. This approach will get you some […]

If you want to write your AVR programs in C, then WinAVR is a great, free way to get started. Follow this guide to get WinAVR setup and running on your computer and you should be ready to follow our next guide featuring a C Skeleton File. Download and Install AVRStudio First make sure that you have AVRStudio installed. AVRStudio […]

AVR is the name of a series of microprocessors from Atmel. Every microprocessor in the series shares the same instruction set and core parts. As your project needs change, you can choose a different AVR to fit your needs based on how much I/O you need, how many timers you need, memory space requirements, speed, and other features. They come […]

Getting printf to work on an AVR can be confusing. We’ll show you exactly how to do it. STK500 Setup You should leave your STK500 setup exactly the same as it was setup for a previous guide, AVR USART Serial Communications. Required Functions You should keep all of the functions that you need from the previous guide: usart_init() usart_getchar() usart_purchar() […]

This guide teaches you how to make decisions based on port input conditions. STK500 Setup If you’ve been following along in these guides, then your STK500 should be setup like this. The important things to setup based on the picture above are: ISP6PIN connects to SPROG3 if you are using an ATmega32 PORTA connects to LEDS PORTB connects to SWITCHES […]

Have you ever wanted to have a “menu” in your AVR that you can interact with over a serial connection? This guide show you exactly how to do it. STK500 Setup You should leave your STK500 setup exactly the same as it was setup for the previous guide, AVR USART Serial Communications. Required Functions You should already have all of […]

Timer interrupts are an excellent way of having your AVR do something at a given interval. They can fire off and interrupt what ever else the AVR is doing making for very precise timing. They are one of the best ways to implement custom waveforms for things such as positioning robot servos, dimming LED’s, and driving speakers at different frequencies. […]

Categories

About Efundies

The goal of efundies.com is to provide the Internet with a collection of fun, free, electronics projects and advice.
Jason Bauer is an owner and programmer for Portforward.com. He's allergic to twitter and facebook, but you can find more of his articles in the Guides section.