Is it possible? I have a Axon microcontroller from Society of Robots and I would like to use it with Arduino software. I have read some threads about the ATmega644 which the Sanguino uses but I don't know enough to see if ATmega640 will work or not.
Anyone have an ideea if it will work?
I also want to run Axon with Arduino or design a Arduino board like Axon for my robot.
Do you know where to find the gerber files of Axon?
It is easier to make the software work with the hardware than to make a new board. However, I am not experienced enough to make it myself. It seems there is not enough interest on this forum to make it work eighter. Or I didn't ask for help the right way...
I would think that with a fair amount of effort one could get it to work with the core Arduino software, but any library that accessed hardware directly would also need to be modified.
It would probably be easier and cheaper to use three or four arduinos connected via i2c or SPI if you need lots of pins.
It all depends on what you mean by "Arduino-ize." The core Arduino functions are applicable (more or less) to ANY AVR chip, and probably to most other microcontrollers as well. (I'm SO tempted to start porting the Arduino core library to random microcontrollers. PICs. Freescale. ARM. 8051. Renesas. TI. Whoever has given me a free eval board and C compiler in the last decade or so... Via whatever evolution, the Arduino/wiring functions do a lovely job of simplifying standard microcontroller tasks without trivializing them. I mean, "pinMode" is educational middle ground between "delare your inputs and outputs" (ala stamp) and "set the appropriate bits in the port data direction control register" (raw C))
Getting the arduino environment to download random boards with random CPU chips when you click the button is a bit harder...
Well, I would like to be able to write code in the Arduino software environment and download the code directly to the board using the bootloader. And it's not just me that want this Axon board to work with Arduino. Although most of the robotics guys use pure C and strive to make libraries for Axon, there are a few new to programming that Arduino's simplicity and Axon's power and ease of use is very tempting. Unfortunatelly I can't afford to send you an Axon... but I am more than willing to follow your instructions on converting the bootloader and all necessary files. I allready made modifications to the files per Sanguino instructions. I think bootloader is next, then try to see what works and what doesn't. So, can you help?
BTW, here is a link to Axon:
I agree the arduino wiring language is well documented and I found easy.
Some other languages could be easy like basic variants but if it is not well documented or standardised it is hard.
The Arm Cortex chips are powerful fast and low price.
I looked at the arduino core and looks like a bunch of text files with configuration settings like avrmega168.h defining the pins etc . That file name is proably wrong I don't have it with me.
Where can I find more documentation on this?
There are some details here: http://arduino.cc/en/Hacking/BuildProcess
Unfortunatly that paper does not have the same file names labled like they are in the document and the newest code.
pleaseeeeeeeeeee someone knows how to do this?
will prefer to use my arduino ide with my axon...
My arduino-extras files support just about every AVR cpu there is. Check out
I just added the 640 to the list of cpus to test. I dont have one to test it on but this code has been tested on the 644 and 645. It compiles properly and it should just work
Thanks Mark! Can you make a mod on the bootloader for the mega640 to use the UART1 for uploading code instead of the UART0?
Also, I see you have included Tiny26, can you also add Tiny861 that is similar but with more flash?
Have you tested the following libraies with the Tinys:
- software serial
- servo
- eeprom
Thank you so much for your efforts!
I would not expect the servo library to work unmodified with the ATiny chips. It should be possible to modify the defines in servo.h for chips that had an available 16 bit timer, but you would need to make sure that the millis interrupt code used a different timer.
Ro-Bot-X
Yes I can do port 1 instead of port 0. I need to know the following
cpu clock speed
port and bit of an available LED (not required but nice to have)
I will add that attiny861 to my test suite
Mark
clock speed: 16MHz
status Led: PB6
Thanks!