Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Messages

Browse messages

Page 90 of 307 · 15341 messages matched

Re: [AVR-Chat] serial communication

2008-02-05 by Dennis Clark

For starters you could show us your code. DLC > i am recieving data serialy from PC to atmega16. i am recieving data > of four byte frame in avr.then i am setting the avr's ports according > to data recieved in USART RXC interrupt routine. i is working fine at > the starting. but

Thread view Attachments: 0

Re: [AVR-Chat] serial communication

2008-02-05 by Zack Widup

If it works at first but then quits, I can't help but think you're doing something like resetting some of the USART parameters later on in your program or rewriting over something you have stored in memory. Take a look and see if you're changing something like that later on. Zack

Thread view Attachments: 0

Re: [AVR-Chat] serial communication

2008-02-05 by BobGardner@aol.com

You dont know if the problem is in the communication or the data is messing up the port. So write a serial test that sends a known data packet, and have the receiver check for correct reception. This test confirms that serial comms work (or dont work). -----Original Message-----

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-05 by BobGardner@aol.com

It takes one instruction to turn pwm on, one instruction to adjust the duty cycle (example: OCR0=128;) Perhaps a short scan of the datasheet will clear most of this up? -----Original Message----- From: ktal3at To: AVR-Chat@yahoogroups.com Sent: Tue, 5 Feb 2008 6:30 am Subject: [A

Thread view Attachments: 0

Re: [AVR-Chat] serial communication

2008-02-05 by Kathy Quinlan

bhadson2001 wrote: > i am recieving data serialy from PC to atmega16. i am recieving data > of four byte frame in avr.then i am setting the avr's ports according > to data recieved in USART RXC interrupt routine. i is working fine at > the starting. but after sometime it is mulfu

Thread view Attachments: 0

Re: PWM Help

2008-02-05 by ktal3at

or can u help me to reach the PID algorithm ? ? how can i reach it ? ? ? ??

Thread view Attachments: 0

Re: PWM Help

2008-02-05 by ktal3at

the main problem for me how to use or generate PWM For increase and decrease the speed

Thread view Attachments: 0

serial communication

2008-02-05 by bhadson2001

i am recieving data serialy from PC to atmega16. i am recieving data of four byte frame in avr.then i am setting the avr's ports according to data recieved in USART RXC interrupt routine. i is working fine at the starting. but after sometime it is mulfunctioning. what should i do

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-05 by Dennis Clark

ktal3at wrote: > Regular DC motors > >>can be controlled in a variety of ways. >> > > > > How can i control them by using PWM ?? > > can u help me to generate an ASM Code for it on ATMEGA 8535 ? What kind of motors are you using? What kind of H-bridge. Your motor and H-bridge det

Thread view Attachments: 0

Re: *****SPAM***** Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-05 by James Wagner

Unsubscribe at the bottom. Really, a full million? I must be missing out on something. Jim On Jan 26, 2008, at 2:08 AM, Ashley Guthrie wrote: > SOme one tell me how to get off this freakin e-mail list I'm on!I > get like a million e-mails a day! I hate it > HELP > > ----- Origina

Thread view Attachments: 0

Re: PWM Help

2008-02-04 by ktal3at

Regular DC motors > can be controlled in a variety of ways. > How can i control them by using PWM ?? can u help me to generate an ASM Code for it on ATMEGA 8535 ?

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 10:29 AM 5/02/2008, you wrote: >I'm not quite sure what you mean here. A bug on MY part hitting the reply button before the coffee hit my brain. I then realized that I wrote nonsense...but too late the queue button was pressed and my stupidity went out into the WWW. Regards Jo

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

On Feb 4, 2008 6:23 PM, John Samperi wrote: > At 09:32 AM 5/02/2008, you wrote: > >Yes, ZH gets the high byte and ZL gets the low byte. > > A bug...obviously... :-[ that's what happens when the coffee hasn't > made it's way to vital organs first thing in the morning.... I'm not q

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 09:32 AM 5/02/2008, you wrote: >Yes, ZH gets the high byte and ZL gets the low byte. A bug...obviously... :-[ that's what happens when the coffee hasn't made it's way to vital organs first thing in the morning.... Regards John Samperi ******************************************

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

> By the way you are loading both zl and zh from reserved+1. > Is it supposed to be so? > > IGNORE THE ABOVE...I didn't send it... Interesting.. Yes, ZH gets the high byte and ZL gets the low byte.

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 08:24 AM 5/02/2008, you wrote: >The code works in the chip, but in sim or emulation it's hosed. >BUT, if I walk away for a while, and try again later, I get a >DIFFERENT sort of enhosedness. And sometimes it works properly. By the way you are loading both zl and zh from reserv

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 08:24 AM 5/02/2008, you wrote: >The code works in the chip, but in sim or emulation it's hosed. >BUT, if I walk away for a while, and try again later, I get a >DIFFERENT sort of enhosedness. And sometimes it works properly. By the way you are loading both zl and zh from reserv

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

On Feb 4, 2008 4:21 PM, John Samperi wrote: > At 06:54 AM 5/02/2008, you wrote: > >I uploaded to the files directory, one of a couple files I've sent to Atmel. > >This shows more or less typical studio behaviour, when it's in one of > >its' "moods". > > Just to refresh our memory

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 06:54 AM 5/02/2008, you wrote: >I uploaded to the files directory, one of a couple files I've sent to Atmel. >This shows more or less typical studio behaviour, when it's in one of >its' "moods". Just to refresh our memory, what happens just before you start typing swear words?

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

On Feb 4, 2008 4:17 PM, John Samperi wrote: > At 06:54 AM 5/02/2008, you wrote: > >I uploaded to the files directory, one of a couple files I've sent to Atmel. > >This shows more or less typical studio behaviour, when it's in one of > >its' "moods". > > Just to refresh our memory

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by John Samperi

At 06:54 AM 5/02/2008, you wrote: >I uploaded to the files directory, one of a couple files I've sent to Atmel. >This shows more or less typical studio behaviour, when it's in one of >its' "moods". Just to refresh our memory, what happens just before you start typing swear words?

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

> Have you killed any black cats lately?? With a broken mirror, while underneath a ladder, because they slipped on some spilled salt. I uploaded to the files directory, one of a couple files I've sent to Atmel. This shows more or less typical studio behaviour, when it's in one of

Thread view Attachments: 0

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-02-04 by David VanHorn

On Jan 26, 2008 5:08 AM, Ashley Guthrie wrote: > SOme one tell me how to get off this freakin e-mail list I'm on!I get like a million e-mails a day! I hate it > HELP Following the instructions at the bottom of every email you get from this list, would help. >

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-04 by Tom

np np wrote: > > If its mains motor is is probably better controlled by a PID algorithm > and using the mains cycles to phase control the power. > Not necessarily. PID yes, V/F control works quite well for AC induction motors, and is inexpensive and easy top do. Space Vector PWQM

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-04 by np np

If its mains motor is is probably better controlled by a PID algorithm and using the mains cycles to phase control the power. ----- Original Message ---- From: Zack Widup To: AVR-Chat@yahoogroups.com Sent: Monday, 4 February, 2008 2:17:20 PM Subject: Re: [AVR-Chat] Re: PWM Help W

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-04 by Zack Widup

What kind of motor are you trying to control? Synchronous AC motors do not work by PWM. Stepper motors like the kind used in satellite dish feed polarotors use PWM. Other steppers require a set of phased pulses which vary the pulse frequency to control the speed. Regular DC motor

Thread view Attachments: 0

Re: [AVR-Chat] Re: PWM Help

2008-02-04 by Roy E. Burrage

It sounds like you have a need to learn some basic, and very basic at that, concepts of electricity. The reason for my smartalecy previous remark, and the suggestion to use google. Do a search using the keywords - DC motor control PWM. You should get a gazillion or so hits. REB k

Thread view Attachments: 0

Re: [AVR-Chat] PWM Help

2008-02-04 by Roy E. Burrage

An electric motor is basically a Hall Effect device. By increasing and decreasing the magnetic flux density you increase and decrease the angular velocity at which the "armature" rotates inside the fixed magnetic field of the "field" windings...increase the flux density and the v

Thread view Attachments: 0

Re: PWM Help

2008-02-04 by ktal3at

I am controlling the motors by using avr micro control the way to increase or decrease the motor speed is the PWM and it is my first time to control motors so i am looking for help how to use the PWM and how can i connect the motors to controller i know that i must use h-bridge o

Thread view Attachments: 0

PWM Help

2008-02-04 by ktal3at

Dear : i am looking for help to use PWM @mega8535 To contrl Dc Motors but there is a problem can any one help me by code and show how can i get the motors fast and slow ?? thanks

Thread view Attachments: 0

Re: [AVR-Chat] Improving the IR Transmitter's sensing distance

2008-02-02 by Ali Ghadirzadeh

I am using cny70 pack of IR Sensors http://www.disam.upm.es/cybertech/Nacional/Documentos/Componentes/CNY70.pdf and I'm connecting the transmitter directly to one of the ports of AVR and it is on for 900us and off for the 100us. and the out put of the receiver is connecting to th

Thread view Attachments: 0

Re: [AVR-Chat] How can i get 36Khz signal from Mega16?

2008-02-02 by maria mastik

Hi well you can use a 16MHz crystal oscillator and feed it directly to timer1 and set it's top to OCR1A or ICR1 and load the top value with 16M/36K=444. Bye. Khahramon Nuriddinov wrote: Hi All. I'm using mega16 with coevision. but i couldn't get 36khz signal from timer1. Send ins

Thread view Attachments: 0

Re: How can i get 36Khz signal from Mega16?

2008-02-01 by stevech11

As below, there's an example of an IR encode/decode/PC interface using that technique on avrfreaks.net project TWIRP. Crammed into a 90S2313 http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=616 --- In AVR-Chat@yahoogroups.com, "Ra

Thread view Attachments: 0

Re: [AVR-Chat] How can i get 36Khz signal from Mega16?

2008-02-01 by Ranjit Puri

Set a timer to 72Khz and toggle a pin (make sure ur ISR is nifty) . Are you doing IR demod/detection ? Regards, Ranjit On Jan 31, 2008 10:51 PM, Khahramon Nuriddinov wrote: > Hi All. I'm using mega16 with coevision. but i couldn't get 36khz signal > from timer1. > > Send instant

Thread view Attachments: 0

AVR Studio on XP vs 98

2008-02-01 by Dave VanHorn

I'm wondering, of those who have studio and their ices working fine, how many are running on 98?

Thread view Attachments: 0

How can i get 36Khz signal from Mega16?

2008-02-01 by Khahramon Nuriddinov

Hi All. I'm using mega16 with coevision. but i couldn't get 36khz signal from timer1. Send instant messages to your online friends http://uk.messenger.yahoo.com [Non-text portions of this message have been removed]

Thread view Attachments: 0

Re: [AVR-Chat] Improving the IR Transmitter's sensing distance

2008-01-31 by James Wagner

Tell us more about the IR module. What manufacturer and model? What circuit/components do you use with the receiver? How do you drive the transmitter? Jim On Jan 31, 2008, at 12:45 AM, Ali Ghadirzadeh wrote: > Hi > How can I improve the distance in which the IR transmitter would

Thread view Attachments: 0

Re: [AVR-Chat] Improving the IR Transmitter's sensing distance

2008-01-31 by Dennis Clark

> Hi > How can I improve the distance in which the IR transmitter would work > perfectly. > I want to detect the object between 0 to 10 cm. but now I just can > detect it atmost from 4 cm. > it is worth mentioning that I'm using a pack of IR (Receiver and > transmitter). > also I

Thread view Attachments: 0

Improving the IR Transmitter's sensing distance

2008-01-31 by Ali Ghadirzadeh

Hi How can I improve the distance in which the IR transmitter would work perfectly. I want to detect the object between 0 to 10 cm. but now I just can detect it atmost from 4 cm. it is worth mentioning that I'm using a pack of IR (Receiver and transmitter). also I wanted to know

Thread view Attachments: 0

RE: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by sami saqqa

this programer can be used with avrstduy and codevision avr i have used it without any problems Sami Z Saqqa Master in Communication Engineering Electronics Eng. +962796268430 Amman Jordan 11947 P O Box 1007 --------------------------------- Never miss a thing. Make Yahoo your ho

Thread view Attachments: 0

RE: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Enki

Here is a real parallel mode parallel port programmer than cost under 1M (sorry guys...): http://elm-chan.org/works/avrx/report_e.html I built one and use it everyday. Very good, never failed. Mark Jordan - PY3SS On 28 Jan 2008 at 19:18, Alex Shepherd wrote: > > I need a schemati

Thread view Attachments: 0

RE: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Alex Shepherd

> I need a schematic for atmega8535 programmer using parallel > port (( 25 pin)) This should do what you want. http://www.dontronics.com/dt006_programming.html#programmer Alex

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by dlc

There are a large number of wiseacre's on this list! :) Regardless, what you ask for is freely available via Google. "Parallel port AVR programmer schematic" should find you a bunch. Just a few resistors and some wire. It isn't a great programmer, but it works most of the time. A

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Zack Widup

Whoops the STK-500 doesn't use the parallel port. I'll drop the price to 1M. Zack On Sun, 27 Jan 2008, Zack Widup wrote: > > I'll sell you an STK-500 including the latest AVRStudio on CD for 9.8M. > :-) > > Zack > > On Sun, 27 Jan 2008, Roy E. Burrage wrote: > >> Kat's too expens

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Zack Widup

I'll sell you an STK-500 including the latest AVRStudio on CD for 9.8M. :-) Zack On Sun, 27 Jan 2008, Roy E. Burrage wrote: > Kat's too expensive. > > I'll do it for 9.9M and throw in the code just for Ss and Gs. > > > REB > > > Kathy Quinlan wrote: > >> ktal3at wrote: >> >> >>>

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Roy E. Burrage

You don't understand Dave. Everybody isn't as old as you and me and John and Leon, and probably some others. The MkII ISP programmers have gone up to an exorbitant $34 US, I think. REB David VanHorn wrote: >I've never understood why a $29us chip programmer is such a big deal. >In

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by David VanHorn

I've never understood why a $29us chip programmer is such a big deal. In "when I was going to high school money", that's less than $5. If you value your own time at all, and if you don't want to spend hours troubleshooting wierd BS problems, buying a solid programmer seems like a

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by John Samperi

At 11:47 AM 28/01/2008, you wrote: >I need au$10M and then I will give you information you require. I'll do for AU$1M :-) Nice to hear from you, hope you are well. For the programmer search for Ponyprog. ****WARNING**** The VAST majority of people using parallel port programmers

Thread view Attachments: 0

Re: [AVR-Chat] Atmega 8535 programmer

2008-01-28 by Roy E. Burrage

Kat's too expensive. I'll do it for 9.9M and throw in the code just for Ss and Gs. REB Kathy Quinlan wrote: >ktal3at wrote: > > >>i need a schematic for atmega8535 programmer using parallel port (( 25 >>pin)) >> >>to do at home >> >>thanks >> >> > >I need au$10M and then I will g

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.