Posting Comment for "RS-232 ADC Sampling Interface"

*Author Name
Email Address
Website URL

About Posting a Comment

Comments are moderated before they will appear on the website, this is a manual process and may take some time. Please be patient.

Author Name is a required field.

Email Address is optional, but without one I won't be able to contact you back. It is never shown or linked on the website. You can always just email me if you'd rather not post a public comment. I generally reply in-line with a comment rather than email you back, unless I want to discuss something in private or off topic. Please check back to see when I reply.

Website URL is optional, if supplied the Author Name will be hyperlinked to this URL.

You may use wikitext in the body, preview may be handy here. Don't worry if you can't figure them out, just give me a hint what you want linked to what and I'll do it during moderation. Wikitext is not BBcode!

Spammers: Please don't bother wasting your time scripting up posts to this form. Everything is moderated, your post will never be seen on the web even transiently, there is no way to even view it by its internal ID, it will never be indexed. I will simply delete your post in the moderation interface. If I'm your target audience you're really on the wrong track; I'll never click on a URL in your garbage. The post content is not emailed to me (and I don't use a Win32 mail client anyway), I view the posts in plain text in the moderation interface so no clever tricks of any kind will make anything you type be interpreted by anything other than me, a human. Just give up and go elsewhere please!

28th February 2009 14:30

Alan Yates wrote...

G'day Arv,

Indeed, being able to talk to it and instruct it would be very handy. A larger device would make it more practical. I was going to use the tiny2313 which has a USART, but it doesn't have an ADC (only a comparator) which means it would have been more difficult to implement the primary function. The tiny2313 has lots of IO pins however, and digital IO as well as PWM and ADC would be very neat as you suggest.

The tiny45 comes to mind as an ideal device for just a few channels. It has 4k of program memory, an ADC and a USI (not a true USART, but could in-theory talk USB with a little work). Peter told me a while back that there is a USB library for AVRs out there, but I haven't investigated it yet. Power and data over USB would be very nice!

Not a bad idea to support the PWM DACs. They are only 8 bit unfortunately, but you could do more in software. Having another counter would make that easier. The mega8 has multiple timers, more analogue channels, a real USART and lots of digital IO pins. Of course there are lots of choices of device. I just picked the tiny13 because it was sitting on my desk from a previous experiment.



28th February 2009 07:23

Arv K7HKL wrote...



This begs for bi-directional RS-232 so it can:


1) Measure voltage and upload it on command from the PC (better time sync management).


2) Use the AVR D:A to generate voltages, waveforms, frequencies, etc. for many automated testing schemes.


With all that this them becomes a pocket lab for testing or evaluating almost anything.