Where to get a compatible arduino?
As the mpguino kit isn't available, I wanted to build my own from original arduino board. But I can't find the "old" one with ATmega168 and if I'm right with ATmega328 I will have a problem:
Code needs Arduino 11 because of math librarys, this version doesn't support the 328. And if I take a newer version that supports the ATmega328 boards, I can't compile the code :confused: Any solutions? Edit: I just tried to verfify / compile v0.75 with Arduino 17 and it completed without errors. Where is the problem with incompatible math librarys? |
It looks like the 328 is here to stay in arduino land, the code should fit now. The math libraries grew in arduino 0012 and the code no longer fit. I don't generally chase arduino compatibility anymore though, it is just too rough a ride (within hours of announcing mpguino, a new version of arduino was announced that broke it) and I've got AVR GCC and assembler and ISP sorted out so I do not have a personal need to.
This project was never really a good fit for arduino though, just too complicated for that environment at the time. The bits that make it work had to drop down to straight avr anyway and arduino and the bootloader became a liability when trying to get it working and make it reliable in an automotive environment. Plus it was against the wall on space and relied on arduino interrupt implementation details (which were also changing), plus why run at 16mhz when you can run at 20mhz? Straight AVR and ISP programming is much better for max control of your project, but Arduino is an excellent intoduction to microcontrollers, and does not preclude you from digging deeper into AVR GCC. Arduino helps getting you to "hello world" quickly, but will interfere if you are trying to get the most out of a chip as it is "higher level" than straight gcc, which in turn is higher level than assembler, but development times go up generally speaking w/lower level languages so it is always a compromise. To demonstrate, this is a atmega88 (half the flash of a 168) assembler program, there is just no way arduino (or even avr gcc) could do this on a self contained 88: http://www.youtube.com/watch?v=sNCqrylNY-0 |
OK I can understand why you wan't to "leave" arduino design. I also read most parts of "MPGuino release one workspace" threads to become familiar with development around the time where 0012 comes out.
I'm not sure if I get it right: Quote:
Thanks for your patience :D PS: Why I have to ask this, I will have to rewrite the code for my application in motorcycle, for exampe metric units and some extra functions. I'm also completely new to Arduino, so I have to stay with it's software first (and with its limits). As I have to reprogram the unit, I can't simply use the prebuild version :( |
...ah, the "...two sides..." of a coin--progress on one side, obsolesence on the other!
|
Quote:
Quote:
|
Quote:
I have no "original" unit to compare, but I could report here if I can get realistic values. Thanks! |
Well you can "sort of" metric it by tweaking the setup (seems zachwiej figured this out too :) ) and put in a value for vsspulses per km and injhiusperlitre where it asked for miles and gallons.
I don't know if anyone has used it in your rpm ranges, but a 20mhz processor wouldn't hurt in that case. |
Quote:
|
All times are GMT -4. The time now is 08:20 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com