Nigel, pretend a robot was designed to use a field programmer which the customer doesn't have.. They have a machine down and it's costing them 5 grand an hour for the downtime. Do you want to be the one that has to tell someone they have to wait for someone from the nearest branch office to fly over with a programmer to fix their issue or do you want to tell them you'll e-mail them the repair file in 30 seconds and all they have to do is drop it into the bot for reprogramming on a memory chip that can be bought at convenience stores for less than 20 dollars.
It's almost trivial to interface an SD card to a micro controller, it takes up minuscule space and is nearly a universal standard nowdays.
In the case of a robot program execution speed is irrelevant, it should have all it's code for machine motion programmed on board, and then you just needs tokens to read from to execute the specific variables for that specific desired motion. This has nothing to do with a basic stamp where any program you wrote had to go through a byte code interpreter.
As a programmer you have an interface for hardware less in system programming and the customer gets unlimited re-usable access to their own machines. Win win. Additional cost is a few I/O lines and the SD card carrier.
Systems like this are built into almost all CNC machines in existance, although the bulk majority of them still use floppy discs for reprogramming.
Because Nigel it's good general engineering practice to plan for what if scenarios, and the added features/functionality are so low cost and easy to implement it's almost a no-brainer. It's easier to add during development then it is after the fact.
The difference between a stamp and a robot is you have direct access to the code that those tokens execute, so you get the best of both worlds. Flexible onboard code and unlimited offchip storage.
For a robot that was designed to execute extremely complex patterns or perhaps for something like a motion control system it would be essential.
I would challenge the assertion that RS232 is easier to implement than an SD interface. You still need an off chip charge pump something like a Max232.
One resistor? To meet RS232C standards?
Wow you guys are clearly at the top of your respective games, hopefully in ten or twenty years I'll know around half of what you guys do
I like the idea of making it so that a simple text file could be created that allowed the user to use simple commands in ordinary English to program the robot, I might try and do that although I think it may be some time before I'm capable of doing it
If you're using C code it is, there are libraries for it available on most C compilers. If not it could be adapted by porting code from another C compiler, porting code is a lot easier than writing things from scratch.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?