tag:blogger.com,1999:blog-5983110881018172452.post8237511253664666263..comments2023-03-25T02:55:49.760-06:00Comments on Bot Thoughts: Arduino / AVR Analog ComparatorMike Shimniokhttp://www.blogger.com/profile/17602015624941667574noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5983110881018172452.post-26975103629476037212012-08-09T10:29:07.226-06:002012-08-09T10:29:07.226-06:00You might want to check out the LeafLabs Maple boa...You might want to check out the LeafLabs Maple boards.<br />M3 Arm @ 72Mhz in the Arduino format with a similar IDE branched off from v0018.<br />I have an Olimex -STM32 Arduino board with all kinds of extra goodies on it..krazatchuhttp://www.n0m1.com/noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-64540571776780336292012-03-28T22:51:16.377-06:002012-03-28T22:51:16.377-06:00Glad to help. It's been awhile since I looked ...Glad to help. It's been awhile since I looked at this. The info I have is that the 328P has a maximum ADC conversion throughput of only 76.9ksps which is basically 13µs per conversion. Doing nothing else, that's 4.88fps which is quite a bit better than I was achieving.<br /><br />Since I wrote this article, I was able to write some AVR code that drives the Game Boy camera to 30fps, but without conversions or image processing. The main limitation was the slow ADC. So I'm looking at either using a dsPIC33F which has a 1MSPS ADC and runs at twice the clock speed, or a Propeller with a high speed parallel ADC attached.<br /><br />Even one of the NXP ARM processors I've been playing with (e.g., an LPC2103, 60MHz) would be an improvement with a 200kSPS ADC which would put 10fps within reach. <br /><br />Using ARM or dsPIC with DMA might eke out a bit more performance. Hmm...Mike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-5455685193156897142012-03-28T21:52:17.228-06:002012-03-28T21:52:17.228-06:00the atmega328p doc says that one adc conversion ta...the atmega328p doc says that one adc conversion takes 13 cycles - at 4mhz that seems to be fast enuf for <br />more than one frame/conversion per sec - anyway thanx for the words about the acme bit -Anonymousnoreply@blogger.com