microcontroller

TwitterFacebook
Get flash to fully experience Pearltrees
arduino

AVR Embedded Microcontroller Resources

Updated June 17, 2008 My page was officially 10 years old on February 18, 2008. I have had hundreds of thousands of visits. Thanks to everyone who has visited and especially to those who have made suggestions and provided useful and interesting links. This page is my way of giving back and sharing the information that people have shared with me. Information itself is not knowledge, so please don't be content with what you find here and elsewhere. http://www.ipass.net/hammill/newavr.htm
http://hackedgadgets.com/2009/09/04/printf-and-scanf-examples-for-microcontrollers/

printf and scanf examples for Microcontrollers - Hacked Gadgets

Nerd Kits has made an interesting example video showing us how to use C printf and scanf commands . "Programming in C can be a daunting task for a beginner, especially when new programming languages like Python make it so easy to accomplish basic tasks. Taking input from the user, and displaying data back to the user in a human readable format is one of those things in C that can be tricky if you haven’t done it before.
It has 2 analog inputs and can supply 5V ont the 4 pins header on the right. One of the inputs can be scaled down with the trim pot. The firmware in the Tiny45 is written in C and compiled with Winavr and usb source code from obdev. As you can see, there is no crystal , the software sync the internal 16.5Mhz pll clock with the USB clock. It does connect to a PC with usb in HID mode, without the need to install any specific driver. http://yveslebrac.blogspot.com/2008/10/cheapest-dual-trace-scope-in-galaxy.html

The cheapest dual trace scope in the galaxy

Atmega16/32 Development Board With LCD

http://www.instructables.com/id/Atmega1632-Development-Board-With-LCD/ This instructable shows, how to do your own development board for Atmega16 or Atmega32 processors.The Internet is full of home made development boards, but I think that, there is room left for another one. This board have been very useful on my projects and I actually designed and made it to serve one of my project.
This device monitors household power usage and logs it to an SD card. A simple analog front-end amplifies the signals from voltage and current detectors and an ATmega168 microcontroller computes the power consumption using the formula P=V*I. The voltage and current are each sampled at 9615 Hz so the integration should be fairly accurate even for highly non-sinusoidal loads such as computers or fluorescent bulbs. A graphical LCD shows the power usage as a strip chart and can also act as an oscilloscope to display the voltage and current waveforms.

An AVR-based logging wattmeter

http://www.stahlke.org/dan/powermeter/
http://blog.makezine.com/2009/01/21/attiny-breadboard-headers/ Whenever I was prototyping on a breadboard I was annoyed by all the wires to setup before the actual project could begin. Arduino projects were much easier. The 6 pin ISP (In System Programming) header alone was troublesome. Make an adaptor to plug a 3×2 pin header on a breadboard. Then cut short wires and connect the controller to the header. Which pins are what?

MAKE: Blog: ATtiny breadboard headers

Ghetto Programming: Getting started with AVR microprocessors on

In this instructable, find out how to build up a complete AVR microprocessor toolchain: compiler, programmer software, programmer hardware, and some simple demos to get your feet wet. From there, it's just a hop, skip, and a jump to world domination. The endpoint is not quite as swanky as Atmel's suite, but it's gonna run you about $150 less and take only a little more work to get it set up. This instructable is based on the Atmel ATtiny 2313 chip, mostly because it's one of the smaller chips (in size) while still being beefy enough to do most anything. And at $3 a pop (non-bulk), they don't break the bank. That said, most of the steps are applicable across the AVR family, so you'll be able to re-use most everything when your programming needs outgrow the ATtiny and you reach for the $8-$12 ATmegas. http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/
http://tuxgraphics.org/electronics/200611/embedded-webserver.shtml

06111, HTTP/TCP with an atmega88 microcontroller (AVR web server

Abstract : This is a continuation of the article An AVR microcontroller based Ethernet device . The hardware is still the same (ENC28J60 + atmega88).
Ahmad Masri has used an inexpensive ethernet chip called the WIZ5100 to create a simple but flexible ethernet based security system . The low cost of the ethernet chip makes connecting projects to computers or other microcontroller based devices very appealing. "I have constructed a TCP based security system using the Ethernet module offered within the contest , an ATmega16L microcontroller , a PIR as a sensor and few other peripheral devices , which is specially targeted for homes and small business owners. I have used through for my final design a combination of the WIZ810MJ module , an ATmega16L microcontroller , a 7.3728 MHz crystal (compatible with my bootloader programmer), a DS1302 timekeeper , a PIR to sense the human movement through the body heat , a keypad for initial configuration and a 2×16 LCD for display. http://hackedgadgets.com/2008/05/25/ethernet-controlled-security-system/

Ethernet Controlled Security System - Hacked Gadgets - DIY Tech

MAKE: Blog: Arduino and a tri-axis accelerometer

http://blog.makezine.com/2008/05/07/arduino-and-a-triaxis-acc/ If there was only a write-up or source code available for this really interesting Arduino project. The only details are that it uses OpenGL and a KXPS5 Accelerometer. This looks like it could be adapted into a really fun game with just a little more code.
Finally second and improved AVR DDS signal generator is here. First AVR DDS V1.0 generator was only an attempt of running DDS algorithm without any amplitude control. This time I still wanted to keep things simple like minimum count of widely accessible components circuit, single sided PCB that comes together with good functionality. AVR DDS specification AVR DDS signal generator V2.0 is a firmware based DDS signal generator which uses slightly modified Jesper’s DDS algorithm adapted to AVR-GCC C program as in-line ASM. Signal generator has two outputs – one for DDS signal and another for high speed [1..8MHz] square signal – which may be used for reliving microcontrollers with wrong fuse settings or for other purposes as well.

AVR DDS signal generator V2.0 - Scientific, embedded, biomedical

If you're at all like me, you learn best by example and by doing. If that also sounds like you and you're interested in the popular AVR microcontrollers, this tutorial should be right up your alley. The goal is to get you up and running as quickly as possible, so you can get to exploring and modifying on your own without having to fiddle with hardware, software, parts, or settings.

I Make Projects - A Tutorial for Starting with AVR Microcontroll

Short Range Personal Radar

The idea to create a type of close proximity radar system came from a student in one of my classes. We went ahead and decided to streamline the idea into the course as one of the projects we'd build. After a week or two of prep time we finally agreed on the project setup & parts that we'd use. This is not meant to be an advanced project, thusly the difficulty is set at medium. Below is an example of what short range personal radar could be used for.
Parts list: Picaxe 08M chip available from many sources including Rev Ed http://www.rev-ed.co.uk/picaxe/ (UK), PH Anderson http://www.phanderson.com/ (USA) and Microzed http://www.microzed.com.au/ (Australia) Protoboard, servo, microswitch, 9V battery, 4xAA batteries and holder, tag strip, 10k resistor, 22k resistor, 33uF 16V capacitor, 0.1uF capacitor, 7805L low power 5V regulator, 10k pot, wires (solid core telephone/data wire eg Cat5/6), 6V lightbulb, D9 female socket and cover, 2 metres of 3 (or 4) core data wire, battery clips The above companies also sell USB to serial devices which are useful for laptops which don't have a serial port. It is worth noting that some USB to serial devices don't work as well as others and it is worth getting one from one of the above suppliers as they have been tested for use with picaxe chips.

Control real world devices with your PC - The World's Bigge

What every programmer should know about memory, Part 1 [LWN.net]

[ Editor's introduction: Ulrich Drepper recently approached us asking if we would be interested in publishing a lengthy document he had written on how memory and software interact. We did not have to look at the text for long to realize that it would be of interest to many LWN readers. Memory usage is often the determining factor in how software performs, but good information on how to avoid memory bottlenecks is hard to find. This series of articles should change that situation.