I have all my code elaborated in the axon II but I manage to fry the microcontroller … So now I have an Axon I “Because Axon II are in back order” and my code is in the axon II format.

Seems that the axon 1 require more files, such as control.c, SoRutilities.h … I have multiples sensor in my code such as SRF-05, Devantech compass, sabertooth …The libraries are declare in the Axon II format using webbotlib, for example sabertooth is in a specific folder with a corresponding path, in the axon 1 is misc.h all is there …?

Does somebody know the fastest and easiest way to get it running in an Axon 1 …

I may be way off-base here, (I use an Axon II but have not used an Axon) but I was under the impression that other than minor pin changes the code should be nearly identical. From the FAQ:

Quote

What is the difference between the Axon and Axon II?The Axon and Axon II both use the same microcontroller, the ATmega640. This means both the Axon and Axon II are 99% code compatible, minus a few additional features and pin # changes (see Axon II software manual). They are both equally easy to use.

The Axon II however comes with more PWM, more hardware interrupts, more I/O, an LED numerical display for debugging assitance, higher voltage support, multiple battery voltage support, and an additional 3.3V output header.

Logged

"Never regret thy fall, O Icarus of the fearless flight For the greatest tragedy of them allIs never to feel the burning light."

I'm at the work right now, but by night ill post it ... When it start it does not show the option "Tools" ...

I have not use that much the designer because only once I found available the tools/generate option.Related to the code I need to edit few things.

-like the sabertooth 2x50 is not available but, is very similar to the others I just need to change the baud rate to 2400...

- Connect multiples SRF05 but they required 5V regulated, and in the code I had in the axon2 i connect them anywhere and with a external regulator I supply power to the sensor using the same reference of the microcontroller ofcurse. But for the case of the sensor it was connect it in a unregulated port to use the signal pin."Because regulated I/O are limited in the microcontroller"

I want to do all those trick, and may be I can do that and more ... but i have not been able to generate, except by the encoder example i did few days ago...

I'm struggling slightyly with the English, forgive me, but heres the reply.

The Tools|Generate option is only available in Project Designer and not Board Designer. Board Designer is only there for people designing commercial boards which they are going to sell.You need to say your Project before generating the code.

Quote

-like the sabertooth 2x50 is not available but, is very similar to the others I just need to change the baud rate to 2400...

You can always go to my website http://webbot.org.uk and send me an email to request that I add it - including links to product dataheets etc.

Quote

Connect multiples SRF05 but they required 5V regulated, and in the code I had in the axon2 i connect them anywhere and with a external regulator I supply power to the sensor using the same reference of the microcontroller ofcurse. But for the case of the sensor it was connect it in a unregulated port to use the signal pin."Because regulated I/O are limited in the microcontroller"

Yes you can have many SRF05. There is no such thing as a 'regulated port' or an 'unregulated port'. The port pin is the port pin. Its just that some port pins have regulated power headers next to them and others have unregulated. Thats not a WebbotLib thing - thats just the way the board hardware is laid out.Project Designer will suggest the +5v regulated power pin to use but, of course, if you want to plug it into any other +5v regulated supply then just do it.

I'm struggling slightyly with the English, forgive me, but heres the reply.

I'm from Puerto Rico, English is my second language ... I appreciate your time.

Quote

The Tools|Generate option is only available in Project Designer and not Board Designer. Board Designer is only there for people designing commercial boards which they are going to sell.You need to say your Project before generating the code.

You are right, I was using the board designer ... I have a lot of icons in my desktop, my bad.

Quote

There is no such thing as a 'regulated port' or an 'unregulated port'. The port pin is the port pin. Its just that some port pins have regulated power headers next to them and others have unregulated.

You are correct also, I use the wrong words to express myself ... In my project I need to connect 10 SRF-05 thats why I want to use external power from a 5V regulator.

Problem solved----

In my code I'm using the examples that are found in the tutorial of societyofrobots like computer controlled ... I change the library from axon2 to axon and changes with the port connection. So all my code in the axon 2 works now ...