abersailbot / captain-h-morgan

I really hate protoboard and wires...
0 stars 0 forks source link

Alternative methods of Arduino programing #4

Open naturesyouth opened 7 years ago

naturesyouth commented 7 years ago

From @naturesyouth on February 14, 2016 14:54

It would be nice if someone could look into the possibility of programming the Arduino without a usb connection, either over spi or serial, preferably with some hardware experimentation. This is in refrence to #45

Copied from original issue: abersailbot/dewi-hardware#48

naturesyouth commented 7 years ago

From @Danyc0 on February 14, 2016 15:0

So this page explains how to program an arduino using another arduino: https://www.arduino.cc/en/Tutorial/ArduinoISP I reckon if you reimplemented the ArduinoISP example (found built into the IDE these days) for the Pi it might just be possible. However I think that would take too much time to be worth it just for the purpose of getting rid of a USB cable

naturesyouth commented 7 years ago

Becuase we should barely ever have to reprogram the embedded controller the programming pins can just be broken out to a header and then we can just program it with an external programmer.

Danyc0 commented 7 years ago

Being able to reprogram the arduino from the Pi without having to open any boats or boxes was an explicit design goal. It's super useful, especially in Kitty where getting the boxes out isn't the easiest thing in the world. It's also super useful for remote testing, where the boat is connected to the internet and everything is reprogrammed remotely