Hi there,
I guess it should be possible if I have uploaded a program to the arduino to run the program without having a pc plugged in, right?
If not, how can I modify the system to get it run independendly?
Phil
Hi there,
I guess it should be possible if I have uploaded a program to the arduino to run the program without having a pc plugged in, right?
If not, how can I modify the system to get it run independendly?
Phil
Didn't find what you were looking for?
New postHi Phil !
The way the PC software and Arduino codes are built, it is not possible to upload a robot program on the arduino.
The PC software reads the robot program and sends the motors positions via serial communication.
The Arduino cannot read the robot program, it only receives motors positions.
The electronic controller (PCB) has no onboard memory (except for the Arduino 1kB EEPROM memory).
A robot program is about 7kB. So it cannot be stored on the electronic controller or the Arduino.
If you really want to run a robot program independendly from the PC software, you would need to :
1. Connect an external memory module to the Arduino
2. Modify the PC software to add a function that would allow to upload the robot program into the Arduino's external memory via serial communication.
3. Modify the Arduino code. The Arduino will need to interpret (read) every instruction line from the robot program.
Oh wow.
Thanks for reply, but that sounds a little to difficult to me.
Hopefully somebody else will need it someday or I find an Arduino model what can handle the full program.
For example the ATmega2560 has already 4kb EEPROM.
I guess I have to wait until someone with more programmer skill needs the same thing ^^
Cheers.
Please sign in to leave a comment.
Comments
2 comments