Skip to main content

Posts

Showing posts with the label AVR

Simple USB AVR ISP Compatible Programmer

Modern PCs rarely have a serial or parallel  port any more, to the great regret of any-one who experiments with microcontrollers every now and then. In the old days  it was very simple to use the parallel port  of a standard PC and program just about  any type of AVR microcontroller with it.  When you want to do that now, you’re first  obliged to buy a programmer that communicates with the PC via USB, which immediately raises the threshold of getting started  with these microcontrollers. The circuit presented here offers a solution to this. Simple USB AVR-ISP Compatible Programmer Circuit Diagram : As you can see from the schematic, this is  a very simple circuit, built around a cheap,  standard AVR microcontroller plus a handful of passive components. You may have  already observed that this microcontroller does not have a USB interface and the  circuit does not use a USB to serial converter either. The strength of this circuit is  found in the firmware. The USB interface  has bee...

Intelligent Temperature Monitoring and Control System using AVR Microcontroller

Controlling temperature has been a prime objective in various applications including refrigerators, air conditioners, air coolers, heaters, industrial temperature conditioning and so on. Temperature controllers vary in their complexities and algorithms. Some of these use simple control techniques like simple on-off control while others use complex Proportional Integral Derivative (PID) or fuzzy logic algorithms. In this project Shawon Shahryiar discusses about a simple control algorithm and utilize it intelligently unlike analogue controllers. Here are the features of this controller: Audio-visual setup for setting temperature limits. Fault detection and evasive action. Temperature monitoring and display. Audio-visual warning. System status. Settable time frame. Data retention with internal EEPROM memory. [ ]

Reanimating Probe for AVR μC

AVR device not responding, When this discouraging message appears while you’re programming your Atmel microcontroller, that’s where the problems really begin! The problem is of ten due to incorrect programming of the fuse bits. This is where the unblocking probe comes into play. Once the whole thing is powered up, all you have to is use one hand to apply the tip of the probe to the microcontroller’s XTAL1 input and then use your other hand to go ahead and program it with your favourite sof t ware. And there, your microcontroller is saved! The electronics are as simple as can be, the aim being to design something cheap and easy to reproduce. It consists of an oscillator generating a rectangular wave at around 500 kHz, built using  a 74HC04. This circuit will also work with a 74HC14, but depending on the make of IC, the frequency of around 500 kHz may vary by around ±50 kHz. This doesn’t affect the operation of the probe. Reanimating Probe for AVR μC Circuit diagram :   The unbl...

SP How to Make an AVR Perform Multiple Tasks

This article describes a way to create an AVR perform multiple tasks. Beginners who want to urge an in-depth information in AVR assemble language programming will seek this project. The assembly language helps to utilize all the functions and capabilities of the processor. browse on to grasp a lot of. The most vital and major functionality of an operating system is performing multiple tasks on the CPU. what's being done here is time sharing multitasking which too on an AVR. An Atmega32 is ready up to perform Round-Robin Multitasking. Quasi-parallel execution of multiple tasks is feasible through Round-Robin Multitasking. The tasks are time-sliced and don't seem to be tired parallel. The project demonstrates how the switching mechanism is finished between seven individual tasks. The RAM is split between the amount of processes that are running. A timer is employed here and a trigger is executed when it reaches a compare worth. the required registers are pushed onto the stack. No...