Archive for the 'AVR controlled signal generator' Category

AVR DDS signal generator V2.0

Monday, March 10th, 2008

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 [...]

AVR-DDS signal generator in-line ASM explained

Monday, December 11th, 2006

I have got a couple of questions (in fact not a first ones) for AVR DDS generator I have built:
“that’s all the asm code that I don’t understand.
Could you explain it? Is it possible to do it without inline asm (only in C)?”
I decided to explain this part more deeply. Because it took some time [...]

AVR DDS signal generator V1.0

Sunday, September 24th, 2006

Sometimes when tuning various electronic hardware we need simple signal generator with various waveform and frequency. One of the options is to by a professional with variable gain professional coating and many additional functions. But if you are an amateur you might want to build one. This small project is dedicated for building one of [...]

AVR controlled DDS generator software writing

Wednesday, June 21st, 2006

During my spare time I am developing the program for AVR controlled DDS generator. I decided to write software using WinAVR tool-set. How far ahead I have moved with this?
I have implemented:

Menu system;
Reading previous generator configuration from EEPROM;
Setting signal mode;
Storing last generator configuration to EEPROM to be loaded after reset;
Four types of signal output (square, [...]

Creating custom LCD characters using WinAVR

Thursday, June 15th, 2006

Standard LCD modules comes with built in Character MAP stored in LCD ROM memory. There is plenty of characters for your needs, but still you may need some special ones like backslashes, or some symbols that are in different languages. For this LCD has a reserved RAM area for storing eight 5×7 dot matrix character [...]

AVR controlled signal generator-first impression

Wednesday, June 7th, 2006

Lazy evening. I decided to take couple shots of couple generated signals. Without going to deep in to timings I wrote couple algorithms to make sure the signals are generated correctly at all voltage range 0-5V.
First is Sawtooth signal using asm in AVRStudio:
.INCLUDE “m8def.inc”
.DEF tmp = R16 ; Multipurpose register
[...]

AVR controlled signal generator-skeleton board

Tuesday, June 6th, 2006

This is continuing of thread AVR controlled signal generator. In earlier post 1 layer PCB prototype I described a little about making PCB of this small project. Now few words about soldering and making first test run.
This is my PCB board’s bottom. During soldering I discovered one mistake – ISP headers pins MISO and MOSI [...]

AVR controlled signal generator-1 layer PCB prototype

Sunday, June 4th, 2006

This is continuing of thread of making AVR controlled signal generator. This section is devoted for 1 layer PCB prototype making using ultraviolet light exposure and etching.
The circuit isn’t very complicated, so I decided to make 1 layer PCB prototype.
I’ve chosen Eagle as PCB designing software. This is very handy software for making hobby circuits. [...]

AVR controlled signal generator–design considerations

Sunday, June 4th, 2006

Signal generator is second must have tool after oscilloscope while working with electronics designs. I don’t have any signal generators, so I decided to make one. This gone be simple AVR controlled signal generator. For controlling I’ve chosen Atmega8 microcontroller as this is simplest one of Atmega’s series microcontrollers. It has 8kB flash memory.
This is [...]