2004-05-12 by Mike Murphree
On May 11, 2004, at 6:57 PM, David VanHorn wrote: > I think it was something like: > > Int: > Read data. > Change channel. > Store data. > Short delay (couple instructions?) > Start conversion. > Exit int. Basically the procedure that I have used on MIL-STD-1553 cards. No need to
Thread view
Attachments: 0
2004-05-11 by David VanHorn
> >Interrupt_Entry: > Start a conversion. (Whatever the mux is passing along >to the adc should be stable.) > Do some other stuff while the conversion completes. > Store the results. Use the same variable that controls >the mux as an index into the array you store the results in.
Thread view
Attachments: 0
2004-05-11 by Phil
There has been lots of good advice given here on ADC. One other place to look is the sensors. I used a slightly different version this sensor and found that it can generate eratic DC values in certain circumstances. In particular, I had mine mounted about 4 inches above the floor
Thread view
Attachments: 0
2004-05-11 by John Johnson
You might lookup how to sleep while the conversion is being done, this reduces noise. The ADC interrupt will wake you up when it has completed. Regards, JJ On Tuesday, May 11, 2004, at 12:49 PM, Craig Limber wrote: > > Hi there; > > I am having a wee bit of trouble with a noisy a
Thread view
Attachments: 0
2004-05-11 by erikc
----- Original Message ----- From: "David VanHorn" To: ; Sent: Tuesday, May 11, 2004 19:00 Subject: Re: [AVR-Chat] Re: Noisy ADC lines > At 11:33 AM 5/11/2004 -0600, Craig Limber wrote: > > > >Mike wrote: > > > >> I didn't see anything in your code that allowed some settling time
Thread view
Attachments: 0
2004-05-11 by David VanHorn
> >> This is pretty typical in my experience, just beware the "precision" reference on chip. >> 2.7V for a 2.5V reference, into a 10 bit ADC, is pretty funny, in my opinion. > >No kidding! This is at the top of the ADC module: > > > // adc "precision" ref correction value in EEPR
Thread view
Attachments: 0
2004-05-11 by Bruce Parham
David VanHorn wrote: > > At 12:38 PM 5/11/2004 -0700, Bruce Parham wrote: > > >Craig, > > > >I am currently using the code below to run the ADC on an 'M128 with external mux'es to expand > >the system to 42 channels. The whole mess is scanned once per second (without putting the
Thread view
Attachments: 0
2004-05-11 by David VanHorn
At 12:38 PM 5/11/2004 -0700, Bruce Parham wrote: >Craig, > >I am currently using the code below to run the ADC on an 'M128 with external mux'es to expand >the system to 42 channels. The whole mess is scanned once per second (without putting the >cpu to sleep) and I'm only seeing
Thread view
Attachments: 0
2004-05-11 by Bruce Parham
Craig, I am currently using the code below to run the ADC on an 'M128 with external mux'es to expand the system to 42 channels. The whole mess is scanned once per second (without putting the cpu to sleep) and I'm only seeing +/- one bit of noise. Each mux input has a 10K/.1uF RC
Thread view
Attachments: 0
2004-05-11 by James Wagner
The switching process, itself, can generate a smallish signal that can go OUT to external circuitry. And, it can cause an error similar to what you are seeing. Try the delay after the mux switch that David mentioned but also try a small cap (say 100pf) to ground at each active AD
Thread view
Attachments: 0
2004-05-11 by David VanHorn
At 12:20 PM 5/11/2004 -0600, Craig Limber wrote: >David VanHorn wrote: > >>>supply of bypass and filter capacitors. A 'scope on the power and ADC >>>lines doesn't show any noise that it can detect. >> >>AC couple, at about 1mV/Div. Your ADC is 10 bit, so that's 1mV per volt on AR
Thread view
Attachments: 0
2004-05-11 by Craig Limber
David VanHorn wrote: >>supply of bypass and filter capacitors. A 'scope on the power and ADC >>lines doesn't show any noise that it can detect. > >AC couple, at about 1mV/Div. Your ADC is 10 bit, so that's 1mV per volt on AREF, >per ADC count. Sorry, I am something of a newb when
Thread view
Attachments: 0
2004-05-11 by David VanHorn
At 11:33 AM 5/11/2004 -0600, Craig Limber wrote: >Mike wrote: > >> I didn't see anything in your code that allowed some settling time >> after you switched the mux... > >Hmmmmmm... > >The manual says the sample and hold cap is 14pf. My low-pass filter on >each channel has a 1k re
Thread view
Attachments: 0
2004-05-11 by Craig Limber
Mike wrote: > I didn't see anything in your code that allowed some settling time > after you switched the mux... Hmmmmmm... The manual says the sample and hold cap is 14pf. My low-pass filter on each channel has a 1k resistor. I didn't see anything in the datasheet for the Sharp
Thread view
Attachments: 0
2004-05-11 by David VanHorn
At 10:49 AM 5/11/2004 -0600, Craig Limber wrote: >Hi there; > >I am having a wee bit of trouble with a noisy analog to digital conversion >setup and was wondering if anyone out there could suggest some things >to try to clean it up. > >The processor is a Mega32 running at 8 MHz w
Thread view
Attachments: 0
2004-05-11 by Mike Murphree
Craig Limber said: > > Hi there; > > I am having a wee bit of trouble with a noisy analog to digital > conversion setup and was wondering if anyone out there could suggest > some things to try to clean it up. I didn't see anything in your code that allowed some settling time afte
Thread view
Attachments: 0
2004-05-11 by Craig Limber
Hi there; I am having a wee bit of trouble with a noisy analog to digital conversion setup and was wondering if anyone out there could suggest some things to try to clean it up. The processor is a Mega32 running at 8 MHz with a crystal. Power is regulated 5 volts from a battery.
Thread view
Attachments: 0
2004-05-11 by Glenn Meader
iPod uses the ARM7 Thumb cpu http://www.arm.com/products/CPUs/families/ARM7Family.html Interesting website on iPod firmware: http://daniel.frob.us/ipod.html Course notes for an undergrad class using the ARM Thumb for embedded apps: http://www.cs.man.ac.uk/Study_subweb/Ugrad/cours
Thread view
Attachments: 0
2004-05-11 by jay marante
Yeah, its back on-line. -jay --- dhylands@broadcom.com wrote: > It opens fine for me (at least when I tried just prior to posting this > email). > > Dave Hylands > > > -----Original Message----- > > From: fnatmed [mailto:fnatmed@yahoo.com] > > Sent: Monday, May 10, 2004 5:51 AM >
Thread view
Attachments: 0
2004-05-10 by Dave Hylands
It opens fine for me (at least when I tried just prior to posting this email). Dave Hylands > -----Original Message----- > From: fnatmed [mailto:fnatmed@yahoo.com] > Sent: Monday, May 10, 2004 5:51 AM > To: AVR-Chat@yahoogroups.com > Subject: [AVR-Chat] Re: avrfreaks > > > --- In
Thread view
Attachments: 0
2004-05-10 by fnatmed
--- In AVR-Chat@yahoogroups.com, "R.A.Fintelman" wrote: > Hello, > > For two days now it is impossible for me to open avrfreaks.net/org/com. Anyone know what is going on there? Has anyone heard anything yet about avrfreaks.net ? I find it to be a critical resource, and instrument
Thread view
Attachments: 0
2004-05-10 by Alex Gibson
Mehmood Qureshi wrote: > Hi to all > My name is Mahmood Qureshi Student of Computer Engg. > > Will any body plz guide me on the following project i.e > > To control Hard Disk from Microcontroller 8051 > The main aim of the project is given belwo > To Count how many cylinders , sp
Thread view
Attachments: 0
2004-05-10 by stevech
iPod doesn't use a $3 microprocessor. If this is an undergrad assignment, it's unfair and imprudent.
Thread view
Attachments: 0
2004-05-10 by Peter Jakacki
You say you are a student? If this is your homework then YOU should do it, not someone else. Of course it is right that after doing your homework you can field relevant questions which myself and others can answer for you. People in this group as well as others are very happy to
Thread view
Attachments: 0
2004-05-09 by jay marante
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, let me know. I'm an electronic engineer and I have been designing electronic circuits for more tha
Thread view
Attachments: 0
2004-05-09 by erikc
Ever heard of "iPod"? Disk based, microcontrolled. Erikc - firewevr@airmail.net /// "An Fhirinne in aghaidh an tSaoil." "The Truth against the World." -- Bardic Motto /// In theory, there is no difference between theory and practice, in practice there is. ----- Original Message -
Thread view
Attachments: 0
2004-05-09 by saeid ghaffari
Mehmood Qureshi wrote: Hi to all My name is Mahmood Qureshi Student of Computer Engg. Will any body plz guide me on the following project i.e To control Hard Disk from Microcontroller 8051 The main aim of the project is given belwo To Count how many cylinders , space, sectors, in
Thread view
Attachments: 0
2004-05-09 by Tzif
Me too I guess that the server went down I really hope that they will wake up soon -----Original Message----- From: yvon_hache [mailto:yvon_hache@yahoo.ca] Sent: Saturday, May 08, 2004 10:06 PM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Re: avrfreaks Same problem here. Prob
Thread view
Attachments: 0
2004-05-09 by Tzif
> __ RS-232 > _X_ RS-485 > _X_ IrDA > _X_ Bluetooth > __ 802.11b > _X_ RF (other)____________________ > __ USB > __ Ethernet > __ other communication type ___________________ > > _X_ stepper motor driver > _X_ servo motor driver > __ relay control > __ analog output (max freq ___
Thread view
Attachments: 0
2004-05-09 by stevech
That's a bad lab assignement. use of hard disks on micros is very, very rare in industry. -----Original Message----- From: Mehmood Qureshi [mailto:qureshi@ciit.net.pk] Sent: Saturday, May 08, 2004 2:19 AM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Hard Disk control throug m
Thread view
Attachments: 0
2004-05-08 by erikc
----- Original Message ----- From: "yvon_hache" To: Sent: Sunday, May 09, 2004 00:42 Subject: [AVR-Chat] Electronic circuit examples > Hi everyones, > I don't know if I'm allowed to post this kind of request on this > forum. Please, Moderator, let me know. > > I'm an electronic e
Thread view
Attachments: 0
2004-05-08 by yvon_hache
Hi everyones, I don't know if I'm allowed to post this kind of request on this forum. Please, Moderator, let me know. I'm an electronic engineer and I have been designing electronic circuits for more than 18 years. Lately, I was trying to sort the little circuit examples that I g
Thread view
Attachments: 0
2004-05-08 by R.A.Fintelman
Hello, For two days now it is impossible for me to open avrfreaks.net/org/com. Anyone know what is going on there? Anton --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.679 / Virus Database: 441 - Release Date:
Thread view
Attachments: 0
2004-05-08 by yvon_hache
Same problem here. Probably the server is down for some reason?? Yvon H. --- In AVR-Chat@yahoogroups.com, "R.A.Fintelman" wrote: > Hello, > > For two days now it is impossible for me to open avrfreaks.net/org/com. Anyone know what is going on there? > > Anton > > > --- > Outgoing
Thread view
Attachments: 0
2004-05-08 by John Johnson
Try a Google search, then let us know what problems you have. Regards, JJ On Saturday, May 8, 2004, at 05:18 AM, Mehmood Qureshi wrote: > Hi to all > My name is Mahmood Qureshi Student of Computer Engg. > > Will any body plz guide me on the following project i.e > > To control Ha
Thread view
Attachments: 0
2004-05-08 by Mehmood Qureshi
Hi to all My name is Mahmood Qureshi Student of Computer Engg. Will any body plz guide me on the following project i.e To control Hard Disk from Microcontroller 8051 The main aim of the project is given belwo To Count how many cylinders , space, sectors, in the given hard disk ho
Thread view
Attachments: 0
2004-05-07 by erikc
----- Original Message ----- From: "Phil" To: Sent: Friday, May 07, 2004 18:52 Subject: [AVR-Chat] Re: Searching the yahoo archive > this has been a major complaint of mine. There is a next link that > will search the next month or so of postings. what a crock. search > should be
Thread view
Attachments: 0
2004-05-07 by Dave Hylands
Hi Phil, > > You can do your query like this: > > > > http://groups.yahoo.com/group/AVR-Chat/messagesearch/300?query=rs485 > > > > Replace the 300 with the message number that you'd like to start > > searching with (it searches from that number and lower), and > replace the > > r
Thread view
Attachments: 0
2004-05-07 by Dave Hylands
Hi Phil, You can do your query like this: http://groups.yahoo.com/group/AVR-Chat/messagesearch/300?query=rs485 Replace the 300 with the message number that you'd like to start searching with (it searches from that number and lower), and replace the rs485 with your query. If you t
Thread view
Attachments: 0
2004-05-07 by Capricon
Hi Avr lovers, I have a Stk500. I am using ATMega32. I want to create the simplest circuit that would just flick leds on port b. I want to hook up this circuit without Stk500. I don't want to use an external crystal. I want to use the internal oscillator (if I can). I want to use
Thread view
Attachments: 0
2004-05-07 by Phil
--- In AVR-Chat@yahoogroups.com, "Dave Hylands" wrote: > Hi Phil, > > You can do your query like this: > > http://groups.yahoo.com/group/AVR-Chat/messagesearch/300?query=rs485 > > Replace the 300 with the message number that you'd like to start > searching with (it searches from
Thread view
Attachments: 0
2004-05-07 by John Johnson
Okay, I finally got all the egg off my face, and thought I would post the solution in case anyone else searches the archives. My 4 data lines were connected to DB0-DB3, instead of DB4-DB7. After correcting that and working on some timing challenges, it's working great. Thanks for
Thread view
Attachments: 0
2004-05-07 by Phil
Yeah, I made that mistake too. Its easy enough to do - the obvious connection is for d0-3. that's why it pays to reread the data sheets when it doesn't work. its a quirky beast but when you can drive an lcd display with only 6 pins, its worth the hassle. --- In AVR-Chat@yahoogrou
Thread view
Attachments: 0
2004-05-07 by Phil
this has been a major complaint of mine. There is a next link that will search the next month or so of postings. what a crock. search should be search all, not this interactive POS. I'm sure they did it to lower the load on their server farm but why not just parameterize the sear
Thread view
Attachments: 0
2004-05-07 by bzijlstra@home.nl
Have done it, a PCF8574(A) and a LCD in 4-bit mode. For AVR and 8051. Timing is very important. Check my homepage. Bye Ben Zijlstra http://members.home.nl/bzijlstra -------------------------------------------------------------------- mail2web - Check your email from the web at ht
Thread view
Attachments: 0
2004-05-07 by Sean Ryan
Or use a schmitt trigger.. --- In AVR-Chat@yahoogroups.com, "Mark Jordan" wrote: > On 7 May 2004 at 0:32, Graham Davies wrote: > > > --- In AVR-Chat@yahoogroups.com, "Phil" wrote: > > > > > with a photo transistor, you simply > > > pull it low and take the output > > > from the e
Thread view
Attachments: 0
2004-05-07 by George Smith
Can I only search the last couple of hundred messages in the archive? Even if I go to the first page (messages 1 - 30) it still only searches the last 4xxx-4xxx. George Smith
Thread view
Attachments: 0
2004-05-07 by Mark Jordan
On 7 May 2004 at 0:32, Graham Davies wrote: > --- In AVR-Chat@yahoogroups.com, "Phil" wrote: > > > with a photo transistor, you simply > > pull it low and take the output > > from the emitter. > > I would think you'd need a comparator so that the input to the MCU > was a proper l
Thread view
Attachments: 0
2004-05-07 by Phil
Your problem sounds a lot like one I had once. Do you have E and RS on the same port as D4-7? If so, you might want to make sure you're not glitching the data lines when you output the control signals. I wound up using a shadow for the port so that the data lines wouldn't change.
Thread view
Attachments: 0
2004-05-07 by Larry Barello
One of the really nice things about the AVR processor line is that EVERY I/O line is a schmitt trigger input. By adjusting the load resistor of the photo-transistor, you should be able to drive the AVR input pin directly. Read the data sheet to see what the thresholds are. They a
Thread view
Attachments: 0