Main Menu
Home
AVR News
Atmel AVR
AVR Development Tools
Valuable Tools
WinAVR toolset
Makefile for WinAVR
AVR Virtual Simulators
Hardware for prototyping
GCC and AVR-GCC
Short introduction to C
AVR-GCC Tutorial
Example AVR Projects
AVR-GCC articles
WinAVR Site Map
Scienceprog FORUM
ScienceProg BLOG
Disclaimer
WinARM Tutorial
Login Form





Lost Password?
No account yet? Register
Latest comments
Measuring motor speed and...
Dear Administrator The code above...
More...

Programming AVR ADC module...
hi please send me example usart with...
More...

Measuring motor speed and...
main.c: In function...
More...

Running TX433 and RX433 RF...
(Hopefully this is not a re-post). I am...
More...

Running TX433 and RX433 RF...
I just bnought a pair of the RX/TX 433...
More...

Syndicate
Friendly sites

Recommended sites

Quality Brother toner for your laser printers copiers and fax machines
Latest News
Running TX433 and RX433 RF modules with AVR microcontrollers
Written by Administrator   
Friday, 14 March 2008

Sometimes in embedded design you may want to go wireless. Might be you will want to log various readings of remotely placed sensors, or simply build a remote control for robot or car alarm system.

Radio communications between two AVR microcontrollers can be easy when specialized modules are used. Lets try to run very well known RF modules TX433 and RX433 that (or similar) can be found almost in every electronics shop and pair of them cost about ~15 bucks.

RX433 TX433 RF modules

Transmitter and receiver modules are tuned to work correctly at 433.92MHz. Transmitter can be powered from 3 to 12V power supply while receiver accepts 5V. 5V is common for AVR microcontrollers so no problems with interfacing. Modules don't require addition components – just apply power and connect single data line to send information to/from and that's it. For better distances apply 30 – 35cm antennas. Modules use Amplitude-Shift Keying(ASK) modulation method and uses 1MHz bandwidth.


User comments (3) Read more...
Programming AVR ADC module with WinAVR
Written by Administrator   
Thursday, 31 January 2008

Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solution makes embedded designers life much easier when creating projects and programming them. With no need external ADC PCB takes less space, easier to create programs – it saves time and money. As an example lets take Atmega8 microcontroller which have up to 8 ADC inputs most with 10-bit resolution(excluding ADC4 and ADC5 inputs that are 8-bit). All features of AVR internal ADC can be found on official ATMEL AVR datasheets, but most important to mention are:

  • ±2 LSB accuracy – so measurements aren't very accurate. If AREF voltage is 5V then error may reach ±0.04V but this is still good results for most of tasks;

  • Integral nonlinearity ±0.5 LSB;

  • Conversion speed up to 15kSPS at maximum resolution. This is far not enough for 20kHz audio signal sampling.

ADC unit is powered with separate power supply pins AVCC with AGND, but AVCC must not differ ±0.3V of VCC. Also ADC unit can have different voltage reference sources selectable in ADMUX register. References may be taken from AREF pin, AVCC with external capacitor or internal 2.56V voltage reference. All ADC inputs are multiplexed via multiplexer. Each channels can be selected by changing 4 bits in ADMUX register. ADC unit can operata in two modes:


User comments (2) Read more...
Using Eclipse as IDE for WinAVR compiler
Written by Administrator   
Friday, 28 December 2007
Last Updated ( Friday, 28 December 2007 )

WinAVR comes with Programmers Notepad UI by default. It is very powerful editor, but if you want more robust UI with better project management abilities you can try Java based Eclipse IDE. It is universal open source IDE which supports almost any compiler by using plugins. Eclipse has some nice features that makes it attractive, like Subversion integration, code completion in editor.

Thomas Holland has been working on AVR plugin for Eclipse which allows to use Eclipse features with AVR-GCC compiler. The newest release has nice set of features and updates like: automatic makefile generation, MCU type and clock frequency can be selected during project creation, project can be compiled for debug only or as complete release with flashable hex files, tool-chain has integrated assembler, nice viewer showing information about processor used where you can find all registers, ports, interrupts in one convenient place for quick pick-up.

Eclipse AVR device explorer


User comments (2) Read more...
WINAVR20071221 have been released
Written by Administrator   
Saturday, 22 December 2007
Last Updated ( Saturday, 22 December 2007 )

This is really good news before Christmass. Brand new WinAVR release is ready for download. It has many updates, bug fixes and changes, that should make life easier for AVR programmers. What's new in WinAVR20071221:

  • Support of new AVR devices:

AT90PWM216

AT90PWM316

Attiny43U

Attiny48

Attiny88

AT90PWM2B

AT90PWM3B

Atmega48P

Atmega88P

Atmega168P

Atmega328P

Atmega1284P

ATmega32HVB

  • Newest Binutils 2.18;

  • Newest GCC compiler ver 4.2.2;

  • New release of avr-libc 1.6.0;


Be first to comment this article Read more...
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 1 - 5 of 69

© 2008 WinAVR AVR-GCC Tutorial
Joomla! is Free Software released under the GNU/GPL License.