Atmega8 questions

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi there..

Until now i have used the PIC16F84 for my embedded projects, but a
friend of mine told me about the atmel AVR, which looks very nice
compared to PIC's. My questions is:

First im looking for a tutorial or a good book on asm/c programming the
atmega8, so I can get started :)

Im also looking for some useful information on building a programmer
which works under linux/bsd

And lots of other useful information ;-)

Toke Jansen

P.S is there any irc channel for embedded systems?


Re: Atmega8 questions


Quoted text here. Click to load it
  try this site:  http://www.avrfreaks.com /
you will have to login for the better details.
rw


Re: Atmega8 questions

Quoted text here. Click to load it

www.avrfreaks.com  free membership then go to academy

search via google for avr programmer or avr isp(in system programming)

Below few AVR links which should keep you
busy for a bit

Alex

http://www.avrfreaks.net/ for c compiler avr-gcc
and tutorials , app notes

other free compiler for avr (I haven't tried it yet) is sdcc
(need cygwin to run on windows)
http://sourceforge.net/projects/sdcc/   older version
http://sdcc.sourceforge.net/
http://sdcc.sourceforge.net/sdcctarbin.html
http://sdcc.sourceforge.net/snap.php      get the latest version here

first call for programs and software, app notes etc
http://www.atmel.com/atmel/products/prod23.htm
http://www.atmel.com/atmel/products/prod203.htm  software
http://www.atmel.com/atmel/products/prod202.htm  support tools


http://www.myplace.nu/avr/gtuner/index.htm guitar tuner
http://www.myplace.nu/mp3/main2.shtml
http://www.myplace.nu/mp3/index2.htm avr mp3 players

http://www.myplace.nu/avr/minidds/index.htm mini dds / function =
generator

http://www.try-net.or.jp/%7Ejr6end/e/oK.html dds vfo

http://www.myplace.nu/avr/countermeasures/index.htm 50MHz frquency =
counter

http://www.myplace.nu/avr/thermo/index.htm temperture controller

http://www.geocities.com/CapeCanaveral/6368/index.html altimeter and =
timers

http://www.qsl.net/zl1bpu/micro/ avr amatuer radio projects
including 6 channel voltmeter, freq counter, function =
generator,dds,beacon
keyer

http://www.modulus.wavesynth.com/projects/avr_projects.htm midi projects

http://gheos.com/avr/ moving message display, displays,

http://members.tripod.com/Stelios_Cellar/AVR/my_avr_projects.htm
playstation mod chip, gps data parser,  gps display,
http://come.to/Stelios_Cellar avr projects and file archive
http://members.tripod.com/Stelios_Cellar/AVR/2001seminar/seminar.htm

http://www.mysunrise.ch/users/pfleury/avr-circuits.html seril port and =
lcd

http://www.ipass.net/~hammill/newavr.htm avr links page

http://members.iinet.net.au/~richardh/VK6BRO.htm
 Ham Radio Related Projects including: VFO Counter/Stabilizer and
Programmable PLL board

http://users.rcn.com/carlott/projects.html
 POCSAG encoder, AVR Based TNC for APRS, Radio to RS-232 interface

http://www.barello.net/AvrProjects/ servo, stepper, control

http://www.openh.org/softwaremap/trove_list.php?form_cat3D%20 avr =
projects
ranging from 3 axis magmetometer, cnc drive,

http://bray.velenje.cx/avr/ mp3 player, I2C,keyboard driver, printf for
lcd, graphic lcd

http://invalid.ed.ntnu.no/~jonah/el/ tcpip over ethernet, avr =
microkernal

http://www.fictoor.nl/irbot/ avr robot

http://projects.cappels.org/ clock, 3 channel dac, rs232 to wireless,
wireless frequency meter,
rf strength meter, 8 channel pwm,

http://r.webring.com/hub?ring3D%avr&id3D%92&go cross assembler 8051 to =
avr (not
released yet)

http://caraca.sourceforge.net/    CAN Remote Automation and Control with =
the
AVR

http://mikrocontroller.cco-ev.de/en/projekte.php ultrasonic measurement

http://www.spettel.de/nixie/ nixie tube clock  (use google to =
translate)
and other projects


http://mikrocontroller.cco-ev.de/en/download.php tools and code for lots =
of
diffrerent projects


http://home.cybervillage.de/heesch/english/ide.htm IDE Harddisk =
interface
for micro controllers

http://www.flyheli.de/english/etelemetrypages.htm telemntry and =
datalogging

http://r.webring.com/hub?ring3D%avr&id3D%44&go metal detector,

http://koti.mbnet.fi/jhappone/fi/avrhelp.html avr help works out uart =
and
port pins etc

http://home.gci.net/~botgoodies/GettingStartedAVR.html getting started =
with
avr
http://home.gci.net/~botgoodies/GettingStartedAm128.html getting =
started
with atmega 128
http://home.gci.net/~botgoodies/GCC128Mode.html getting started with =
gcc on
atmega 128

http://home.planet.nl/~meurs274/ projects, lcd , led light chaser, =
digital
and led thermometers
and stepper motor driver

http://www.serasidis.gr/ control projects via gsm phone,
pocketpc to rs232, graphic lcd driver

http://www.qnet.fi/oalapenttila/protossi/lcd_controller/lcd_controller.ht =
m
lcd controller

http://www.frii.com/~dherr/gbcam.html gameboy camera interface
http://www.frii.com/~dherr/ herky jerky robot

http://www.ibrtses.com/embedded/avr.html

http://www.mcumaster.com/AVRTiny/index.html good information on =
AvrTiny.+
examples and RTOS

http://liquorice.sourceforge.net/ open source embedded systems library

http://www.lancos.com/   electronics, embedded systems and programming
pnoyprog, canbus home automation, minithreads

http://www.geocities.com/CapeCanaveral/Launchpad/3632 /

http://yusoft.kulichki.com/english/pic/index.htm links for I2C

http://www.mpfreezone.com/body_index.html mp3 player using atmega 128
http://www.mpfreezone.com/Player/Hardware/hardware.html

http://www.avr-asm-tutorial.net/ AVR-Assembler-Tutorial

http://www.angelfire.com/clone/plc/index.html

http://utenti.lycos.it/dcg/avr.html projects and realitime os

http://www.microsyl.com/ projects lcd, thermometer, clock and libraries =
for
lcd and one wire

http://www.dontronics.com/atmel.html  dontronics avr pages

http://micro.filetap.com/ embedded systems links

http://www.drolez.com/hardware/ servo control with avr's

http://geocities.com/pieterconradie007/mp3.htm avr mp3 player with fat =
hdd

http://www.ethernut.de/index.html ethernut , web server etc using avr

RTOS see AVR freaks

ucos
http://www.ucos-ii.com/contents/products/ucos-ii/ports-misc.html

nutos http://www.ethernut.de/en/software.html

other rtos for avr
http://www.google.com/search?sourceid3D%mozclient&ie3D%10646&oe3D%10646&q =
3D%avr+rtos

also look at the compiler developer web pages
for examples and rtos
IAR http://www.iar.com /
Imagecraft http://www.imagecraft.com /
Bascom http://www.mcselec.com/download_av

Re: Atmega8 questions
tjh threw some tea leaves on the floor

Quoted text here. Click to load it

Hi!

Quoted text here. Click to load it

UISP with 4 wires from the parallel port to the chip!

Quoted text here. Click to load it

I have a AVR intro on my embedded page :
http://milkstone.d2.net.au/embedded.html
Including a full howto on installing the toolset under GNU/Linux.

http://milkstone.d2.net.au/electronics/micro
/avr-gcc-installing-2003.html

I have just set up the avr-gcc environment under GNU/Linux (Gentoo)
including the avr-gcc C compiler,  simulator, and burner.

My first mega8 was a piece of cake to burn and is running my first test
program as I type this.
 
Quoted text here. Click to load it

The main site for GNU/Linux is http://savannah.nongnu.org/projects ,

I wouldn't waste your time with Avrfreaks as it's too Windows centric to
be a lot of use to GNU/Linux users setting up the toolset, though
code examples etc may be of use ?



--
              Kind Regards from Terry
    My Desktop is powered by GNU/LinuX, Gentoo-1.4_rc2  
We've slightly trimmed the long signature. Click to see the full one.
Re: Atmega8 questions

Quoted text here. Click to load it

Check out AVRDUDE:

    http://www.bsdhome.com/avrdude /

Note the simple parallel port cable programmer on that page.  We just
released version 4.2, you can find the source tarballs and rpms here:

    http://savannah.nongnu.org/files/?group=avrdude

If you are using FreeBSD, all the AVR tools are part of the "ports"
system.  For example, to install the compiler (avr-gcc), programmer
(avrdude), avarice (jtag enabler), avr-gdb (source level debugger), and
simulavr (simulator), just do this:

    % cd /usr/ports/devel/avr-gcc && make install
    % cd /usr/ports/devel/avrdude && make install
    % cd /usr/ports/devel/avarice && make install
    % cd /usr/ports/devel/avr-gdb && make install
    % cd /usr/ports/devel/simulavr && make install

I happen to sell couple of AVR boards with the ATmega128 processor (top of
the line AVR).  You can find that here:

    http://www.bdmicro.com /

For some more info on AVR tools, take a look at my "dev tools" page:

    http://www.bdmicro.com/devtools /

Good luck!

-Brian
--
Brian Dean, snipped-for-privacy@bdmicro.com
BDMICRO - Maker of the MAVRIC ATmega128 Dev Board
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline