Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 283 of 307 · 15341 messages matched

ATMEGA8535 SPI to DS1305 nvram

2004-06-04 by sguhrofst8

can anyone help. I have not been able to successfully talk to my nvram on the DS1305 using the SPI interface from the ATMEGA... I am not using the the calendar/time, etc options of the DS1305 just the memory. It seems that each time I read the SPDR register, it contains the last

Thread view Attachments: 0

RE: [AVR-Chat] asm in ICCAVR

2004-06-03 by jay marante

thanks... i'll just forget about it. Paul Curtis wrote:Jay, Sorry, you can't do that in a single instruction, you do indeed need three as TCCR1A is at an I/O location that is not reachable by SBI and CBI instructions (only I/O addresses 0-31 are). Not only that, SBI and CBI take

Thread view Attachments: 0

RE: [AVR-Chat] asm in ICCAVR

2004-06-03 by Larry Barello

The SBI instruction only modifies one bit (0-7) at a time. You are trying to modify a whole byte. The compiler probably generates a IN, ORI , OUT instruction sequence. One of the weird things about AVR is that I/O access is bit oriented (since often you only want to play with one

Thread view Attachments: 0

RE: [AVR-Chat] asm in ICCAVR

2004-06-03 by Paul Curtis

Jay, Sorry, you can't do that in a single instruction, you do indeed need three as TCCR1A is at an I/O location that is not reachable by SBI and CBI instructions (only I/O addresses 0-31 are). Not only that, SBI and CBI take bit numbers not masks and cannot set or clear multiple

Thread view Attachments: 0

asm in ICCAVR

2004-06-03 by jay marante

i have this code with ICCAVR: TCCR1A |= (1 i wanted to replace that code with this assembly code: asm("SBI TCCR1A,COM1A1+COM1A0\n"); because i found out that the assembly code that the compiler generate has three sets of instructions. i think that if i replace the C code with the

Thread view Attachments: 0

Off Topic - PIC Programming HELP!!! PIC16C63A CHIP with ICSP &

2004-06-02 by Dale Seaburg

Steven wrote: >I have recently purchased the portable PIC programmer from Jaycar, it works >fine with the 16F84, however something wrong with the ICSP support!!! > > > >I am currently using the 16C63A, it program ok first time using the ICSP >connection, however it doesn't not al

Thread view Attachments: 0

Re: [AVR-Chat] Digest Number 704

2004-06-02 by Mark Weston

Stephen: Isn't it clear what's wrong with it? It's not meant for thev AVR family. Please take your question to a Microchip related forum. This is the AVR-CHAT group. Mark Message: 1 Date: Wed, 2 Jun 2004 21:50:31 +1000 From: "Steven Chang-Lin Yu" Subject: Off Topic - PIC Programm

Thread view Attachments: 0

ADC

2004-05-31 by jay marante

im sorry for asking this question but i really have a hard time understanding bout the ADC. first, what should be connected to the AGND? why its not just the GND of the MCU? how bout the AVCC? can anyone explain me the basics of these pins? i already understand the operation, i j

Thread view Attachments: 0

Re: ADC

2004-05-31 by Ned Konz

--- In AVR-Chat@yahoogroups.com, jay marante wrote: > im sorry for asking this question but i really have a hard time understanding bout the ADC. > > first, what should be connected to the AGND? why its not just the GND of the MCU? how bout the AVCC? can anyone explain me the bas

Thread view Attachments: 0

RE: [AVR-Chat] ADC problem!

2004-05-31 by Steven Chang-Lin Yu

Is called Nyquist sampling theory: From Wikipedia: The Nyquist-Shannon sampling theorem is a fundamental tenet in the field of information theory , in particular telecommunications . The theorem states that, when converting from an analog signal to digital (or otherwise sampling

Thread view Attachments: 0

Re: [AVR-Chat] ADC problem!

2004-05-30 by erikc

----- Original Message ----- From: "John Johnson" To: Sent: Sunday, May 30, 2004 14:53 Subject: Re: [AVR-Chat] ADC problem! > The sampling frequency must be several times the frequency you > want to sample, otherwise, you will see a seemingly random > sample, or a harmonic of the

Thread view Attachments: 0

Re: [AVR-Chat] ADC problem!

2004-05-30 by David VanHorn

At 05:43 AM 5/30/2004 +0000, ereihani wrote: >HI! >I use 8-bit adc and i use the result conversion in ADCH which is >produced in the wizard.I have given a DC voltage of 2.5V and I have >got 128,but when I give a 40HZ sine and send the result to PC and >plot with MATLAB the figure

Thread view Attachments: 0

Re: [AVR-Chat] ADC problem!

2004-05-30 by John Johnson

The sampling frequency must be several times the frequency you want to sample, otherwise, you will see a seemingly random sample, or a harmonic of the original frequency. You can decide how many points will adequately describe the 40Hz sine wave for your project, multiply by 40 a

Thread view Attachments: 0

RE: [AVR-Chat] ADC problem!

2004-05-30 by Steven Chang-Lin Yu

Firstly, which AVR are u using for your application, what is your Vref, did you make sure your ADC results is the combination of the results in HIGH and LOW register of the ADC, what is your clock speed, what is your ADC prescaler!!! Secondly, what wizard??? Steven ______________

Thread view Attachments: 0

ADC problem!

2004-05-30 by ereihani

HI! I use 8-bit adc and i use the result conversion in ADCH which is produced in the wizard.I have given a DC voltage of 2.5V and I have got 128,but when I give a 40HZ sine and send the result to PC and plot with MATLAB the figure is very bad.I have also increased the sampling fr

Thread view Attachments: 0

AREF of mega16

2004-05-25 by jay marante

the datasheet says that i'll only have to set the REFS0 bit in the ADCMUX register for the VCC as the reference voltage. does this mean that i don't have to connect anything on the AREF pin? thanks... Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

Thread view Attachments: 0

RE: [AVR-Chat] Avr in India

2004-05-25 by Rahul Agarwal

v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}..shape {behavior:url(#default#VML);}st1\:*{behavior:url(#default#ieooui) } Oriole will suport small numbers too.. Infact it will ship them to u.. COD (Cashon Delivery) ---------

Thread view Attachments: 0

Re: [AVR-Chat] 6 PWM, Serial Tx and Rx on ATmega8 or 16?

2004-05-24 by Richard Reeves

> Seems simple but I can't determine what should be interrrupt-driven > and what should be polled. Using timers alone for the PWM is out (I > think) because I need to run six motors. Run the PWM frequency too > high and I consume all of the cycles checking to see if a motor needs

Thread view Attachments: 0

RE: [AVR-Chat] Avr in India

2004-05-24 by Kiran Mysore Ramaprasad

None of these guys support small quantity for students. I wanted 2 nos of Attiny15L for my project and had to buy 10 Nos. AVR is not well supported in India! Kiran Rahul Agarwal wrote: v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default

Thread view Attachments: 0

6 PWM, Serial Tx and Rx on ATmega8 or 16?

2004-05-24 by macmen_seattle

I am struggling (read: newbie) with code that will do the following, say on an ATmega running at 8MHz: 1. PWM for six motors (not servos) running in one direction. 6-8 bit duty cycle resolution is fine. 2. Sample a few sensors. 3. Receive motor speed commands via serial. 4. Send

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-24 by David VanHorn

> >> All this is hypothetical if you are using the internal Aref as it is >> only 2.56V (haaaaaa why be so presise with the voltage ie to 2 decimal >> places when heat and supply variations make it nowhere near that acurate) On my M128's we were getting 2.7V. 10% drift on a "prec

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-24 by Kathy Quinlan

wagner wrote: > Kat, errrr, 9.23uA x 10 ohms = 92uV (9.23e-5), not 10uV. > :) Yeah I missed a 0 lol :o) Regards, Kat. -- --------------------------------------------------------------- K.A.Q. Electronics Website: www.kaqelectronics.dyndns.org IM: Yahoo: PinkyDwaggy MSN: katinka@k

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-24 by wagner

Kat, errrr, 9.23uA x 10 ohms = 92uV (9.23e-5), not 10uV. :) ----- Original Message ----- From: "Kathy Quinlan" To: Sent: Friday, May 21, 2004 12:07 AM Subject: Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16 > jay marante wrote: > > > are you sure you got your formul

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by David VanHorn

At 08:45 AM 5/21/2004 -0500, Mike Murphree wrote: >Kathy Quinlan said: >> jay marante wrote: >> >>> are you sure you got your formulas right?! >>> that's just a voltage divider and im pretty sure you can't generate >>> 650kV from a 12V battery. im sorry but i can't remember the f

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by Mike Murphree

Kathy Quinlan said: > jay marante wrote: > >> are you sure you got your formulas right?! >> that's just a voltage divider and im pretty sure you can't generate >> 650kV from a 12V battery. im sorry but i can't remember the formula >> for the voltage divider circuit. >> maybe some

Thread view Attachments: 0

RE: [AVR-Chat] Avr in India

2004-05-21 by Rahul Agarwal

Which part of India are u in? There are plenty all over India I guess. I know two of them in Mumbai. Wholesaler: Jitendra Patil Regional Sales Manager Spectra Innovations Inc #2, Crystal Towers, Opp. Natraj Studio, Western Express Highway , Andheri -(E) Mumbai - 400 069 Tel - 22-

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by jay marante

thanks, kat. i already figured this out. got a computer from an internet site. i would prefer 100 ohms for the upper resistor and 125 ohm for the lower resistor. would this be alright? i'll use this as the analog input to the ADC to monitor the batter voltage. i'll use the VCC as

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by Kathy Quinlan

jay marante wrote: > are you sure you got your formulas right?! > that's just a voltage divider and im pretty sure you can't generate > 650kV from a 12V battery. im sorry but i can't remember the formula for > the voltage divider circuit. > maybe someone might confirm that the mu

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by jay marante

are you sure you got your formulas right?! that's just a voltage divider and im pretty sure you can't generate 650kV from a 12V battery. im sorry but i can't remember the formula for the voltage divider circuit. maybe someone might confirm that the multisim was right with its out

Thread view Attachments: 0

Avr in India

2004-05-21 by Ashwin Kumar

Hi, Does anybody know a retailer who sells AVRs in India (I need ATMega16). There was one in Hyderabad - I have lost Email ID. Please do help me out thanks yours, Ashwin

Thread view Attachments: 0

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-20 by Bruce Parham

jay marante wrote: > > here's what i wanted to do: > > first, i wanted to determine if the battery back-up supply is low on voltage output. > i had the circuit this way: > main ---------------- >| ------------ > \__________________ dc-dc converter > / > battery -------------- >|

Thread view Attachments: 0

low-battery detection, ADC, and ICP of mega16

2004-05-20 by jay marante

here's what i wanted to do: first, i wanted to determine if the battery back-up supply is low on voltage output. i had the circuit this way: main ---------------- >| ------------ \__________________ dc-dc converter / battery -------------- >| ------------ * >| - diode max battery

Thread view Attachments: 0

Re: [AVR-Chat] Hard Disk control throug microcontrller

2004-05-16 by Reza

Hi. there is too many IDE interfacing schematics and free projects on web, but you should note that all IDE devices use a common command set known as ATA standard, which is accessible on net. you should send commands to IDE device and get answer back of it. at the other hand, the

Thread view Attachments: 0

Re: [AVR-Chat] reading and writing EEPROM

2004-05-16 by Reza

--- Craig Limber wrote: > > Hi there; > > I am not sure how reading and writing the EEPROM > works using avr-libc. > I was wondering if anyone could tell me the correct > method of reading > and writing byte 0 of the EEPROM? I only want to > store and recover > 3 different bytes

Thread view Attachments: 0

TECEL's H-Bridge Driver Board D200

2004-05-15 by andyj3004

TECEL's H-Bridge Driver Board D200 Has anybody controlled the D200(www.tecel.com/d200) motor driver board from Tecel with AVR assembly language? I would like to get some tips on how to do it. aj...

Thread view Attachments: 0

Re: [AVR-Chat] [OT] Cable drawing

2004-05-14 by erikc

----- Original Message ----- From: "Dave Miller" To: Sent: Friday, May 14, 2004 16:56 Subject: RE: [AVR-Chat] [OT] Cable drawing > Thanks for the info. > > That is why I am avoiding a true CAD package. I don't need the precision it > just messes up the drawing. You don't need to

Thread view Attachments: 0

reading and writing EEPROM

2004-05-14 by Craig Limber

Hi there; I am not sure how reading and writing the EEPROM works using avr-libc. I was wondering if anyone could tell me the correct method of reading and writing byte 0 of the EEPROM? I only want to store and recover 3 different bytes of information. Would this work to write "va

Thread view Attachments: 0

RE: [AVR-Chat] [OT] Cable drawing

2004-05-14 by Dave Miller

Thanks for the info. That is why I am avoiding a true CAD package. I don't need the precision it just messes up the drawing. You don't need to scale a line for 6ft when simply drawing a line and calling it 6ft is perfect. I use Eagle CAD I hadn't thought about using that for cabl

Thread view Attachments: 0

Re: [AVR-Chat] [OT] Cable drawing

2004-05-14 by Kathy Quinlan

Dave Miller wrote: > Hello All, > > > > I need to make some cable drawings, I haven’t done this for a few years > so I am looking for some ideas on a good CAD package. > > > > I don’t need anything fancy, I am really looking for something easy to > use and has a library a cable/c

Thread view Attachments: 0

[OT] Cable drawing

2004-05-13 by Dave Miller

Hello All, I need to make some cable drawings, I haven’t done this for a few years so I am looking for some ideas on a good CAD package. I don’t need anything fancy, I am really looking for something easy to use and has a library a cable/connector symbols. Most of my drawings are

Thread view Attachments: 0

RE: [AVR-Chat] BL600 series barcode scanner

2004-05-12 by Phillip Vogel

http://www.keyence.com/products/barcode.html?links=30:I:T -----Original Message----- From: jay marante [mailto:jaythesis@yahoo.com] Sent: Wednesday, May 12, 2004 12:18 PM To: avr-chat@yahoogroups.com Subject: [AVR-Chat] BL600 series barcode scanner i have this barcode scanner fro

Thread view Attachments: 0

Re: [AVR-Chat] BL600 series barcode scanner

2004-05-12 by David VanHorn

At 09:18 AM 5/12/2004 -0700, jay marante wrote: >i have this barcode scanner from keyence and i don't have the complete datasheet. the datasheet says that the maximum power consumption is 330mA at 5V DC. does this mean that when the scanner is scanning, it consumes that much curr

Thread view Attachments: 0

BL600 series barcode scanner

2004-05-12 by jay marante

i have this barcode scanner from keyence and i don't have the complete datasheet. the datasheet says that the maximum power consumption is 330mA at 5V DC. does this mean that when the scanner is scanning, it consumes that much current? what if the scanner is in standby mode (not

Thread view Attachments: 0

Re: [AVR-Chat] Electronic circuit examples

2004-05-12 by chris atwan

I would like to see them all also. Would be a very useful resource. Chris Atwan jay marante wrote: just put 'em all. we might not know when we need 'em. -jay yvon_hache wrote: Hi everyones, I don't know if I'm allowed to post this kind of request on this forum. Please, Moderator,

Thread view Attachments: 0

RE: [AVR-Chat] which gcc

2004-05-12 by Steven Chang-Lin Yu

I think all your need are these: gcc-3.3.2.tar.bz2 - GNU C Compiler gcc-core-3.3.2.tar.bz2 - GNU C Compiler Core Library gcc-g++-3.3.2.tar.bz2 ; - GNU C Compiler C++ Library gcc-testsuite-3.3.2.tar.bz2 - GNU C Complier Test Files You will also need make, which is to use make file

Thread view Attachments: 0

which gcc

2004-05-12 by Muhamad Fahmy F.

Hi listers, I would like to have avr dev tools (avr-libc-1.0.4) on my RH9. I have no experiences in installing/updating gcc packages. In my system, current gcc version 3.2.2, current binutils version 2.13.x (I forgot the x, now I am in XP box :( Can I just use current gcc and bin

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.