View Single Post
Old 05-23-2009, 09:18 PM   #1372 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Here is the CPU and Crystal that come with the mpguino. It is pin compatible but some of the instructions/register names are a bit different than the mega8. I'm moving towards 20mhz too FYI, couple low level timing changes as you can imagine.

I don't think it will solve slow 32 bit math though, 32 bit math is handy, but slow, have to use it sparingly. I do a lot of it but only once every 1/2 second to update the display and just do basic addition in the interrupts.

$4.11 atmega168p
http://mouser.com/Search/ProductDeta...ATMEGA168-20PU

$0.57 20mhz small crystal
http://mouser.com/Search/ProductDeta...-FOXS200-20-LF

edit: did not see a divide assembler instruction for either the mega8 or 168. Both muls take 2 cycles
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 05-23-2009 at 09:43 PM..
  Reply With Quote