2004-01-19 by Wagner Lipnharski
Simple and easy? Start in assembly. Want a taste of it? 6 lines of code and you have 8 leds blinking as a binary counter. Just connect the 8 leds to all port B pins via 330-500 ohms resistors. out ddrb,255 ; set portb output a1: out portb,r16 ; move R16 to PortB inc r16 ; increme
Thread view
Attachments: 0
2004-01-18 by jim_rinaudo
Greeting to all, I am just starting out and need to get a book or two to start off. I took a class in C++ and used basic and fortran a long time ago but need to get a book that starts off simple. Hardware is not much of a problem but the software is. Any recommendations. I tried
Thread view
Attachments: 0
2004-01-17 by Randy & Zonya Ledyard
Waseem Check these out: For ASM try these www.avrfreaks.net (click on the academy tab) www.avrbeginners.net www.avr-asm-tutorial.net For C try this http://www.blitzlogic.com/proj_avr.htm There's also this one http://www.learn-c.com/ that's geared more towards using the PC, but so
Thread view
Attachments: 0
2004-01-17 by Wagner Lipnharski
ws34pk wrote: > Hi Every body! > I have recently started programming the Atmel > microcontrollers.Can some body help me write a simple program to > flash an LED.I am using ATmega8. > regards > waseem Waseem, read the instruction set, mostly about I/O port instructions, how to set
Thread view
Attachments: 0
2004-01-17 by Wagner Lipnharski
samperi@ampertronics.com.au wrote: > At 09:25 PM 15/01/04 -0800, you wrote: >> Hi Wanger! >> Rightly said, In between 4 and 8, is 48. >> >> --- Wagner Lipnharski wrote: >>> In between 4 and 8, is 48! > > I must have missed something on this thread. What's > happening of such asto
Thread view
Attachments: 0
2004-01-17 by ws34pk
Hi Every body! I have recently started programming the Atmel microcontrollers.Can some body help me write a simple program to flash an LED.I am using ATmega8. regards waseem
Thread view
Attachments: 0
2004-01-16 by Kathy Quinlan
Hi all, So much to do, so little time. Here is my latest project : It is an interface and temp monitor system come home automation. It will have 3 RS 232 ports, 1 for programming my PABX, 1 to log PABX calls and the last to interface to the FreeBSD server. It will also have about
Thread view
Attachments: 0
2004-01-16 by audiobrian2003
Hi, all. I need to build a Hebrew language display capability for a 14- segment (NOT dot matrix) VFD display. It doesn't really matter, but I am using an ATMEGA162. This is for the Nuvo Concerto DisplayPad at the request of our distributor in Israel. Has anyone coded one in C? Th
Thread view
Attachments: 0
2004-01-16 by samperi@ampertronics.com.au
At 09:25 PM 15/01/04 -0800, you wrote: >Hi Wanger! > Rightly said, In between 4 and 8, is 48. > >--- Wagner Lipnharski wrote: >> In between 4 and 8, is 48! I must have missed something on this thread. What's happening of such astonishing interest...well OK I have never seen a Meg
Thread view
Attachments: 0
2004-01-16 by WASEEM SHAHZAD
Hi Wanger! Rightly said, In between 4 and 8, is 48. --- Wagner Lipnharski wrote: > In between 4 and 8, is 48! > > > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
Thread view
Attachments: 0
2004-01-16 by Larry Barello
Make sure you select the right fuse bits. At high frequencies you need to select full blast drive. The STK500 programmer screen will guide you. -----Original Message----- From: Andromeda_at_Mindspring.com [mailto:andromeda@mindspring.com] Has anyone gotten the ATmega32 to functio
Thread view
Attachments: 0
2004-01-16 by Andromeda_at_Mindspring.com
Has anyone gotten the ATmega32 to function at 16mHz? I am able to get it to run with a 7.3728 crystal and a 10.000 crystal, but it refuses to start with a 16.000 crystal? Does anyone have any ideas what I might be doing wrong? Regards, Richard Solomon troposphere@comcast.net
Thread view
Attachments: 0
2004-01-16 by Claxton, Dean J
Interesting - joined :) Expensive chip? Dean -----Original Message----- From: stevech [mailto:stevech@san.rr.com] Sent: Friday, 16 January 2004 1:24 PM To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] Cute Nordic 2.4GHz chips: forum NordiRF chip is cute, but not 802.11 nor 80
Thread view
Attachments: 0
2004-01-16 by stevech
NordiRF chip is cute, but not 802.11 nor 802.15.4. 1 mW (very short range). also, take a look at chipcon's 802.15.4 chip = 2420 and DPAC corp's AirBorne -----Original Message----- From: Bruce McMillan [mailto:bruce_at_pocket_neurobics@yahoo.com.au] Sent: Thursday, January 15, 200
Thread view
Attachments: 0
2004-01-15 by David VanHorn
At 04:11 PM 1/15/2004 -0500, Wagner Lipnharski wrote: > In between 4 and 8, is 48! > >111b8d28.jpg Wherefore didst thou procure these mystery muffins?
Thread view
Attachments: 0
2004-01-15 by Wagner Lipnharski
In between 4 and 8, is 48!
Thread view
Attachments: 0
2004-01-15 by Bruce McMillan
I'm developing an interface between the E128 & Nordic's nice 2.4GHz chips. Nordic doesn't have a discussion group, suggesting I start one - so I have. If you are looking to use this chip, you might like to join to give it a kick along. There is a version that has an 8051 on-board
Thread view
Attachments: 0
2004-01-15 by John Samperi
At 09:33 PM 14/01/04 -0500, you wrote: > It's quite strange that you are building things yesterday evening.....This could come in handy when someone needs something yesterday here in Australia..... Regards John Samperi ****************************************************** Ampert
Thread view
Attachments: 0
2004-01-15 by David VanHorn
> >Use the code snippets I send earlier, even though it's not >what you want, you will be able to see something happening >IF the hardware is not faulty. This code is used on a project >I'm working on currently where the M8 is talking to a GSM >modem and data is sent to a 68HC11
Thread view
Attachments: 0
2004-01-15 by John Samperi
At 05:28 PM 14/01/04 -0500, you wrote: >>So you are not using mode 3 as CPHA and CPOL are zero. (have deleted your >>previous email) > > >My slave isn't really SPI, just clocked serial. >I need to send 104 bytes as fast as possible, so the SPI works nicely. Well in that case ther
Thread view
Attachments: 0
2004-01-14 by David VanHorn
> >So you are not using mode 3 as CPHA and CPOL are zero. (have deleted your >previous email) My slave isn't really SPI, just clocked serial. I need to send 104 bytes as fast as possible, so the SPI works nicely. The transmit routine (including counting the "1" bits) takes 2.00uS
Thread view
Attachments: 0
2004-01-14 by John Samperi
At 02:43 AM 14/01/04 -0500, you wrote: >> cbi portb,SS ;Clear /SS pin > >This one, I don't understand. >It looks like you're setting up as a slave? The master is lowering the SS (Slave Select or enable) pin to let the slave know that data is coming. Of course one could leave SS a
Thread view
Attachments: 0
2004-01-14 by David VanHorn
> >setup >..... > ldi r16,0b11101110 ;PORTB B0=icp and B4=Miso as inputs > out DDRB,r16 ;all other outputs Ok, where it matters, we're same. >;Set up SPI, LSB first, Master, clock idle high, phase=1, clock fck/64 > ldi r17,(1 out SPCR,r17 Where it matters, we are doing the same t
Thread view
Attachments: 0
2004-01-14 by John Samperi
At 09:59 PM 13/01/04 -0500, David VanHorn wrote: >What am I missing here? > Don't know but here's what I do with the mega8 SPI in one project. setup ..... ldi r16,0b11101110 ;PORTB B0=icp and B4=Miso as inputs out DDRB,r16 ;all other outputs ..... ;Set up SPI, LSB first, Master,
Thread view
Attachments: 0
2004-01-14 by John Samperi
At 09:52 PM 13/01/04 -0500, you wrote: > >Of course these should all be RJMP! >Don't you hate it when that happens? :) Of course you are RJMPing for joy I guess :-) Regards John Samperi ****************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Pl
Thread view
Attachments: 0
2004-01-14 by David VanHorn
What am I missing here? I'm setting up SPI as a master on a mega 8, but it never outputs any data, and SPIF never sets. (at least in the sim..) SPSR is 0x01 ( I want double speed mode) SPCR is 0x50 ( I want fast, master, enabled, no int) DDRB is 0xEF PORTB is 0x14 PINB is 0x0C, b
Thread view
Attachments: 0
2004-01-14 by David VanHorn
Of course these should all be RJMP! Don't you hate it when that happens? :) >;*********************************************************************** >; INTERRUPT VECTOR TABLE. YOU MAY NOT CHANGE THE ORDER OF THESE JUMPS! >;********************************************************
Thread view
Attachments: 0
2004-01-13 by David VanHorn
At 08:15 PM 1/13/2004 +0100, Daniel Adolfsson wrote: >Are you sure the fuse bits are properly set? I mean since it didn't work at all. > > I had a hell of a time before I discovered the fuses where setup wrong. That would do it. The default is to run on the internal RC osc, since
Thread view
Attachments: 0
2004-01-13 by Daniel Adolfsson
Are you sure the fuse bits are properly set? I mean since it didn’t work at all. I had a hell of a time before I discovered the fuses where setup wrong. ---- -Ursprungligt meddelande----- Från: Andromeda_at_Mindspring.com [mailto:andromeda@mindspring. com] Skickat: den 13 januari
Thread view
Attachments: 0
2004-01-13 by Francis Drake
I am developing a very simple HID and trying to use the code from Igor Cesko. That is a grear idea, the 2313 applications works without problems, however I could not use the atmega8 example. Does anybody used this codes? I Tryied to reach Igor without success. Thank's Drake
Thread view
Attachments: 0
2004-01-13 by David VanHorn
> > >The 20pF specified is the total capacitance including stray capacatance. Right. The point that most people miss, is that from the crystal's point of view, the caps are in series, so you need twice the spec value, minus the strays. But, they do "work" with just about anything
Thread view
Attachments: 0
2004-01-13 by Kathy Quinlan
> -----Original Message----- > From: Andromeda_at_Mindspring.com [mailto:andromeda@mindspring.com] > Sent: Tuesday, 13 January 2004 1:01 PM > To: AVR-Chat@yahoogroups.com > Subject: [AVR-Chat] Crystal Oscillators > > > Hello, > Are crystal oscillators as simple to use as crystals
Thread view
Attachments: 0
2004-01-13 by David VanHorn
At 03:34 PM 1/13/2004 +1000, Steven Chang-Lin Yu wrote: >Normally crystal u can just use 20pf loading cap, I don't think there is any thing special!! > If you don't care about exact frequency, or guaranteed startup, then you can just guess at the caps. However, this 20pF value is
Thread view
Attachments: 0
2004-01-13 by Steven Chang-Lin Yu
Normally crystal u can just use 20pf loading cap, I don’t think there is any thing special!! -----Original Message----- From: Andromeda_at_Mindspring.com [mailto:andromeda@mindspring.com] Sent: Tuesday, 13 January 2004 3:01 PM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Crys
Thread view
Attachments: 0
2004-01-13 by David VanHorn
At 12:00 AM 1/13/2004 -0500, Andromeda_at_Mindspring.com wrote: >Hello, > Are crystal oscillators as simple to use as crystals with loading caps? I am having a devil of a time matching crystals with the right loading capacitors, and I thought switching to crystal oscillators migh
Thread view
Attachments: 0
2004-01-13 by Andromeda_at_Mindspring.com
Hello, Are crystal oscillators as simple to use as crystals with loading caps? I am having a devil of a time matching crystals with the right loading capacitors, and I thought switching to crystal oscillators might make this part of my life easier. I ordered crystals from Digi-Ke
Thread view
Attachments: 0
2004-01-12 by Steven Chang-Lin Yu
Thanks for the info, that clean few things up!!! Steven -----Original Message----- From: David VanHorn [mailto:dvanhorn@cedar.net] Sent: Tuesday, 13 January 2004 8:47 AM To: avrclub@yahoogroups.com; 'AVR-GCC'; 'AVR-Chat'; 'AVRCLUB' Subject: [AVR-Chat] Re: [AVR club] STK button de
Thread view
Attachments: 0
2004-01-12 by Les Grant
Hi Salam, On 2 Jan 2004 at 12:00, Salam wrote: > How can an AVR encode and decode DTMF tones ?? You can encode DTMF in hardware or software. See Atmel application note 314 a software method. There are several chips you can use to decode DTMF including the MT3270 family from Zarli
Thread view
Attachments: 0
2004-01-12 by David VanHorn
> > >Can someone explain to me why the keys is compared by using 2, 4, 8, 0x10, >0x20, 0x40, 0x80!!! And is there other way of detecting it? > > If you look at the port bits as hex numbers, they are 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 So if I wanted to look for bits 0
Thread view
Attachments: 0
2004-01-12 by Steven Chang-Lin Yu
I am currently study someone’s code for detecting the pressing of the button of the STK board!!! if ( keys & 1 ) led = 1; else if ( keys & 2 ) // priority encoder: if multiple switches are pressed, led = 2; // only the lowest switch is recognized else if ( keys & 4 ) led = 4; els
Thread view
Attachments: 0
2004-01-12 by David VanHorn
> >.if Tiny12 >.message "assembled for Tiny12" >.include "tn12def.inc" >.endif That's what I was looking for.. However, one more layer of mystery. When I invoke AVRA with "avra project.asm >> logfile.txt" I get all the AVRA output, but none of the messages. The messages show up o
Thread view
Attachments: 0
2004-01-12 by Stefan Wimmer
Hello Dave, here a snippet of one of my source files used with AVRA: ;***** Global Setup ; which CPU to use? .define TINY12 1 .define Tiny15 0 ; which version to produce? .define TinyTimer 1 .define TinyTimerS 0 .define TinyTimerSL 0 .if Tiny12 .message "assembled for Tiny12" .in
Thread view
Attachments: 0
2004-01-12 by Larry Barello
Depending upon your tool chain, the SAMPLE programmer that is illustrated in the BASCOM AVR Basic compiler works well. avr-gcc (GCC C compiler) comes with something called "AvrDude" that works *very* well and is compatible with a whole host of parallel port style programmers and
Thread view
Attachments: 0
2004-01-12 by Wagner Lipnharski
... previous email was sent before finished. more links: http://home.wanadoo.nl/electro1/avr/programmer.htm http://www.olimex.com/dev/avr-pg2b.html http://www.jameco.com/Jameco/images/cc-images/ball115.pdf http://www.serasidis.gr/
Thread view
Attachments: 0
2004-01-12 by Wagner Lipnharski
Dear Wasseem, A quick search at google shows some programmers: http://jaichi.virtualave.net/avr-prog-e.htm http://elm-chan.org/works/avrx/report_e.html http://www.online-club.de/~burkhard-john/avr_programmer/index_e.html http://www.uq.net.au/~zzdkeena/AVR/ http://www.qsl.net/dg5d
Thread view
Attachments: 0
2004-01-12 by WASEEM SHAHZAD
Hi! I have recently started programming the AVR microcontrollers. I started programming the Pic microcontrollers but speed limitations have compelled me to migrate to AVR.Can any body suggest a freely available AVR Programmer. Also i would like to apologise for my first message w
Thread view
Attachments: 0
2004-01-12 by Wagner Lipnharski
WASEEM SHAHZAD wrote: > Hi! > Every body have a nice day.Thanks for the welcome. > I hope that this chat group will be of great use to > me. > Regards. > ws34pk@yahoo.com Hi Waseem, it took me some time to decide to comment on your email, but then I thought "what a heck, let's go
Thread view
Attachments: 0
2004-01-12 by WASEEM SHAHZAD
Hi! Every body have a nice day.Thanks for the welcome. I hope that this chat group will be of great use to me. Regards. ws34pk@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/si
Thread view
Attachments: 0
2004-01-12 by John Samperi
At 12:47 PM 11/01/04 -0500, you wrote: > >Does anyone know if AVRA accepts a directive to echo output to console? > Atmel's assembler v1.74 now does (I think) and since they fixed the stupid directive form hash back to full stop it is compatible with AVRA again. Is this what you
Thread view
Attachments: 0
2004-01-11 by velo1_4mb
Figured it out with a couple of hours of google. It is a problem with JTAG. The chip has it turned on by default and that takes the middle 4 pins of port c. To turn it off in bascom you need to set the bit twice with: Mcusr = &H80 Mcusr = &H80 All 8 bits are his now and the stepp
Thread view
Attachments: 0