2005-05-17 by Zack Widup
On Tue, 17 May 2005, Leon Heller wrote: > All, > > Is it possible to impliment a jump table based on the value read from an IO > port? > What I want is to have a 8 routines, and when the value from a port is read > (3 bit value) it jumps to the appropriate routine, I want to avoi
Thread view
Attachments: 0
2005-05-17 by Paul Maddox
Leon, Thanks, I hadn't spotted that in the instruction set. Just looking at IJMP, it may be simpler to use, no pushing/pulling from the stack and its 1 less clock cycle (speed is king)... Paul ----- Original Message ----- From: "Leon Heller" To: Sent: Tuesday, May 17, 2005 12:05
Thread view
Attachments: 0
2005-05-17 by Leon Heller
----- Original Message ----- From: Paul Maddox To: AVR-Chat@yahoogroups.com Sent: Tuesday, May 17, 2005 11:31 AM Subject: [AVR-Chat] Jumptable All, Is it possible to impliment a jump table based on the value read from an IO port? What I want is to have a 8 routines, and when the
Thread view
Attachments: 0
2005-05-17 by Paul Maddox
All, Is it possible to impliment a jump table based on the value read from an IO port? What I want is to have a 8 routines, and when the value from a port is read (3 bit value) it jumps to the appropriate routine, I want to avoid CMP and BREQ if possible as I need a constant leng
Thread view
Attachments: 0
2005-05-17 by Brian Dean
On Mon, May 16, 2005 at 04:44:05PM -0500, Mike Perks wrote: > Windows is not my platform of choice but it certainly is the most > popular "choice". I don't quite understand why it takes so long to > produce a Windows version. Like any open source project, we're doing this in our
Thread view
Attachments: 0
2005-05-16 by Mike Perks
Brian, Thank you for your responses. I cannot let this go without one more round of discussion. > Hi Mike, > > On Mon, May 16, 2005 at 07:54:14AM -0500, Mike Perks wrote: > > > 1. I tried building my own version from source and found the makefile > > schema impenetrable. I unders
Thread view
Attachments: 0
2005-05-16 by Dave VanHorn
At 02:45 PM 5/16/2005, arhodes19044 wrote: >--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > > > Have a look at the design guides on the national semiconductor site > > for their simple switchers. > > You'll be looking at a "buck" topology. > >I saw those devices just today
Thread view
Attachments: 0
2005-05-16 by Mike Murphree
alwelch93021 said: > 1. Be sure to read the data sheet for the regulators. I just > redesigned my board and chose to use a national semi LDO which does not > like MLC caps. I happen to also like MLC caps as generally they work > great. Linear Tech has some issues like this with t
Thread view
Attachments: 0
2005-05-16 by Dave VanHorn
At 01:23 PM 5/16/2005, Jim Wagner wrote: >On the reverse diode between the input and output of the >regulator: this is normally used to prevent reverse current >flow through the regulator. This could occur if the input >is suddenly forced to a low voltage while the output cap is
Thread view
Attachments: 0
2005-05-16 by Mike Murphree
Jim Wagner said: > > Tantalum caps are nice because of small size and low ESR. > ESR isn't much of a requirement in linear regulators. But, > they cost more, have limited voltages and values, and have > a tendancy to destroy themselves (ie, explode or burst into > flames) if not
Thread view
Attachments: 0
2005-05-16 by Jim Wagner
On the reverse diode between the input and output of the regulator: this is normally used to prevent reverse current flow through the regulator. This could occur if the input is suddenly forced to a low voltage while the output cap is still charged. The LM78xx family is not as se
Thread view
Attachments: 0
2005-05-16 by Brian Dean
Hi Mike, On Mon, May 16, 2005 at 07:54:14AM -0500, Mike Perks wrote: > 1. I tried building my own version from source and found the makefile > schema impenetrable. I understand why some of the complexity is there The Windows binary of AVRDUDE is normally provided through the WinA
Thread view
Attachments: 0
2005-05-16 by arhodes19044
--- In AVR-Chat@yahoogroups.com, "alwelch93021" wrote: > > I also recommend ferrite beads on the incomming power and ground > lines. I found this helps with EMC filtering. > good idea! On a similar unit (one that I am reverse-engineering), I ran it on an old (pre-electronics) car
Thread view
Attachments: 0
2005-05-16 by arhodes19044
--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > Have a look at the design guides on the national semiconductor site > for their simple switchers. > You'll be looking at a "buck" topology. I saw those devices just today in the catalog. I was wondering if they are any good.
Thread view
Attachments: 0
2005-05-16 by arhodes19044
--- In AVR-Chat@yahoogroups.com, Mike Perks wrote: > Maximum is well above 13.6V. However the larger the difference, the more > heat needs to be disappiated by the regulator. You also mentioned that > you will need 1.5A which exceeds the specifications of the LM7805 which > is li
Thread view
Attachments: 0
2005-05-16 by alwelch93021
1. Be sure to read the data sheet for the regulators. I just redesigned my board and chose to use a national semi LDO which does not like MLC caps. I happen to also like MLC caps as generally they work great. I also had a heavy load which i found drooped my input source enough th
Thread view
Attachments: 0
2005-05-16 by Dave VanHorn
> >I am a definite beginner as far as design goes. Why not tantalums? Tantalums have very few advantages, and a lot of problems. They like to explode when hit with too much current, and that can easily happen with vehicle power. >I suppose that the alternative would be ceramic? >
Thread view
Attachments: 0
2005-05-16 by Mike Perks
Tony, I don't know all the answers to your questions but here are a few: > --- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > > I had not checked the maximum input voltage on the 7805, Is it less > than 13.6v? Or is there some other automotive power issue at work > here? Maxi
Thread view
Attachments: 0
2005-05-16 by Mike Perks
Mike Murphree wrote: > Mike Perks said: > > Mark, > > > > With all due respect, I didn't post this to have a debate about people's > > favorite programmer. There are many different designs with different > > supporting software. This is input for the AVRDUDE program that is used
Thread view
Attachments: 0
2005-05-16 by Mike Murphree
Mike Perks said: > Mark, > > With all due respect, I didn't post this to have a debate about people's > favorite programmer. There are many different designs with different > supporting software. This is input for the AVRDUDE program that is used > with the AVRISP programmer. Mik
Thread view
Attachments: 0
2005-05-16 by Mike Perks
Mark, With all due respect, I didn't post this to have a debate about people's favorite programmer. There are many different designs with different supporting software. This is input for the AVRDUDE program that is used with the AVRISP programmer. > > I'm using the AVRSP in place
Thread view
Attachments: 0
2005-05-16 by Mark Jordan
I'm using the AVRSP in place of ARVDUDE. http://elm-chan.org/works/avrx/report_e.html Look at the end of the page, sources are available. Mark Jordan On 16 May 2005 at 7:54, Mike Perks wrote: > Brian, > > I sometimes like to use AVRDude as an alternative to AVRProg. However I > h
Thread view
Attachments: 0
2005-05-16 by Dave VanHorn
> >What filtering is necessary? I assume a pretty big electrolytic on >the 13v side ( and maybe a tantalum or something?), and something >else on the other side. On the output side I have seen 2 caps on >some schematics, but the sizes and types were not listed. Avoid tantalums. Y
Thread view
Attachments: 0
2005-05-16 by zebjahanw
Dear friends I am new with AVR's. I want to start with AT89C51 AVR. I have downloaded Studio 4.11 from atmel.com. I want to program in assembly. Anyone cuold help me to send me tutorial to do so or web links to start with. Regards and thanks Zeb.
Thread view
Attachments: 0
2005-05-16 by Mike Perks
Brian, I sometimes like to use AVRDude as an alternative to AVRProg. However I have found the following problems continue to exist in even the AVRDude 5.0 Beta. This is frank input that I hope will spur you to improve AVRDude. 1. I tried building my own version from source and fo
Thread view
Attachments: 0
2005-05-16 by arhodes19044
--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > > Avoid tantalums. > > You have bigger problems. > Have you checked the max current rating and max heat dissipation > ratings for the regulator? > > Also, the LM78XX series is not designed to run from vehicle power. > Nationa
Thread view
Attachments: 0
2005-05-16 by arhodes19044
I am trying to design a PCB for an ATmega128. I probably will use an Olimex header board on top my my PCB. I want to supply good 5v to the header board and the rest of my project. I plan on using some LM7805 type of device, but since it will be supplying everything, including the
Thread view
Attachments: 0
2005-05-15 by Dennis Clark
Actually, wbounce wrote: > You resistor value seems high. > I use a 300 - 330 ohm resistor because a led needs 15 mAmps. Ie 5V/330 > = .015 amps I regularly use 1K, and figure the current as (5-1.7)/1000 which is about 3.3ma, more than enough for every LED I've ever used. DLC > -
Thread view
Attachments: 0
2005-05-15 by Brian Dean
On Sun, May 15, 2005 at 01:15:24AM -0400, Pigeon wrote: > Ahh.. yes! well, I tried to do this and check and see what speed my > CMU was running at... but I didn't see this. how do i get this > info? AVRDUDE sets and reports the raw fuse bits. You need to read the datasheet to see
Thread view
Attachments: 0
2005-05-15 by Pigeon
Ahh.. yes! well, I tried to do this and check and see what speed my CMU was running at... but I didn't see this. how do i get this info? thanks again ----- Original Message ----- From: Brian Dean To: AVR-Chat@yahoogroups.com Sent: Sunday, May 15, 2005 1:07 AM Subject: Re: [AVR-Ch
Thread view
Attachments: 0
2005-05-15 by Brian Dean
On Sun, May 15, 2005 at 12:57:04AM -0400, Pigeon wrote: > cable)... I use winavr.. and i lacked (or so i thought) a way to > check fusebits.. but doesn't winavr use avrdude? Yes. >and how do I > check/set fusebits? Use interactive terminal mode to view fuse/lock bits, i.e.: avrdu
Thread view
Attachments: 0
2005-05-15 by Pigeon
lol! NICE... i was just wondering today what program I can use to check/set fusebits on my atmega32 (sine I have a ISP programming cable)... I use winavr.. and i lacked (or so i thought) a way to check fusebits.. but doesn't winavr use avrdude? and how do I check/set fusebits? ma
Thread view
Attachments: 0
2005-05-15 by Brian Dean
Hi, We have just released version 5.0-BETA of AVRDUDE. AVRDUDE is open source software for programming the flash, eeprom, fuse and lock bits of AVR microcontrollers. The highlights of this release include support for the STK500 Version 2 firmware, and JTAGICE MkII programming sup
Thread view
Attachments: 0
2005-05-15 by Dave VanHorn
At 08:26 PM 5/14/2005, wbounce wrote: >You resistor value seems high. >I use a 300 - 330 ohm resistor because a led needs 15 mAmps. Ie 5V/330 >= .015 amps You're off, but in a safe direction,. The actual formula is (Vin - Vled) / R so you end up with about (5 - 2) / 330 or 9mA, a
Thread view
Attachments: 0
2005-05-15 by acemailone
Larry I didn't have AVCC connected. Now it is OK. Thanks for the hint. I'm new with AVR's so that's why I miss things. With PICs I didn't hit this kind of problem. Adrian Larry Barello wrote: > Do you have AVCC connected to +5v? > > -----Original Message----- > From: AVR-Chat@yah
Thread view
Attachments: 0
2005-05-15 by Mike Murphree
On May 14, 2005, at 8:26 PM, wbounce wrote: > You resistor value seems high. > I use a 300 - 330 ohm resistor because a led needs 15 mAmps. Ie 5V/ > 330 > = .015 amps There are a number of LEDs that will work fine on 2 mA. Also don't forgot to subtract the forward voltage drop of
Thread view
Attachments: 0
2005-05-15 by wbounce
You resistor value seems high. I use a 300 - 330 ohm resistor because a led needs 15 mAmps. Ie 5V/330 = .015 amps -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of acemailone Sent: Friday, May 13, 2005 11:12 PM To: AVR-Chat@y
Thread view
Attachments: 0
2005-05-15 by Roy E. Burrage
Sorry...I updated from v4.06 to v4.11 REB John Samperi wrote: At 01:38 PM 14/05/2005, you wrote: I updated AStudio to v4.06 The latest version is 4.11 and it uses Version 2 of the STK500 protocol which seems to work pretty well, at least with my AVRISP. Regards John Samperi
Thread view
Attachments: 0
2005-05-14 by John Samperi
At 07:31 PM 14/05/2005, you wrote: >We accidently connected up one of our AVR-ISPs to a processor that had >12 Volts ... Is there any point trying to find >what's broken, or can I assume it's not worth trying to repair? I just bought one from Unique ( You know..the one that DON'T
Thread view
Attachments: 0
2005-05-14 by upand_at_them
Just spotted this on Ebay: http://cgi.ebay.com/ws/eBayISAPI.dll? ViewItem&category=50915&item=3854729360&rd=1&ssPageName=WD1V Mike --- In AVR-Chat@yahoogroups.com, John Samperi wrote: > At 07:31 PM 14/05/2005, you wrote: > >We accidently connected up one of our AVR-ISPs to a proc
Thread view
Attachments: 0
2005-05-14 by Peter Gargano
We accidently connected up one of our AVR-ISPs to a processor that had 12 Volts rather than 5 Volts (reversed protection diode!) I'm sure others have done this too. Is there any point trying to find what's broken, or can I assume it's not worth trying to repair? Peter
Thread view
Attachments: 0
2005-05-14 by John Samperi
At 01:38 PM 14/05/2005, you wrote: >I updated AStudio to v4.06 The latest version is 4.11 and it uses Version 2 of the STK500 protocol which seems to work pretty well, at least with my AVRISP. Regards John Samperi ****************************************************** Ampertronic
Thread view
Attachments: 0
2005-05-14 by Larry Barello
Do you have AVCC connected to +5v? -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On Behalf Of acemailone Sent: Friday, May 13, 2005 8:12 PM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Blinking leds on PortA and PortB - ATmega163 I
Thread view
Attachments: 0
2005-05-14 by Roy E. Burrage
Hey folks, A while back there was a thread about problems updating the AVRISP and STK500 software. I thought this was fixed in the current version but apparently was wrong. I updated AStudio to v4.06 and then when attempting to program a board it wanted to update the AVRISP. I di
Thread view
Attachments: 0
2005-05-14 by acemailone
I'm trying to blink some leds using an ATmega163. I have one led on PORTB.0 that goes to GND through a 4k7 resistor. This one works fine. A second led on PORTA.0 going to GND doesn't blink. If I connect it to VCC, then is blinking. I checked the datasheet of ATmega163 and I didn'
Thread view
Attachments: 0
2005-05-07 by Larry Barello
PWM is a hardware function. interrupts shouldn't bother the PWM generator. However, you can not share PWM output with INT input, of course... Depending upon your encoders & the tick rate you might be better off polling than using interrupts. It just depends. -----Original Message
Thread view
Attachments: 0
2005-05-07 by wbounce
I am working on adding 2 wheel encoders to my robot. I am thinking of using either PORTE5, PORTE6 or PORTE7 but I am wondering if this will conflict with my PWM which I have on PORTE3 and PORTE4 (PWM output A and B of timer3) PORTE5 - External interupt 5 input or output compare a
Thread view
Attachments: 0
2005-05-06 by stevech
Call progress means many things: Dial Tone detection Ringing tone and various cadences of these Busy – fast and slow busy Called party answered – which in some phone company means a reversal of loop current Called party hung up - which in some phone company means another reversal
Thread view
Attachments: 0
2005-05-05 by Farzlina Ab.Hadi
well, currently i am using the ht9020 chip from holtek..so my question actually referring to reading the tone's cadence given by the chip. sorry for not specifying the chip earlier. -------Original Message------- From: Dave VanHorn Date: 05/05/05 00:41:49 To: AVR-Chat@yahoogroups
Thread view
Attachments: 0
2005-05-04 by Dave VanHorn
At 01:26 AM 5/4/2005, Farzlina Ab.Hadi wrote: >hello..do you guys think that my approach for call progress >detection by sampling (using a port as input) at certain intervals >(using timers) is wise? is there any other way of doing it? Several companies make precise call progress
Thread view
Attachments: 0