Posted by brad burling on December 2, 2009 at 5:07pm
hi there guysis there any way of increasing the memory of a ArduPilot, i read in the manual you can only store 48 waypoints or something like that, i wana store loads more than that for my missionmaybe a external usb memory stick or something?cheers for any helpbrad burlingnew zealand
You need to be a member of diydrones to add comments!
ArduPilot stores the waypoints in EEPROM. The Atmega328 has 1k of EEPROM. At 8 bytes per waypoint (if I'm remembering right), it currently has room for about 125 waypoints. Is that enough for you?
on the ardupilot board, the CLK,MOSI,MISO lines for SPI are also used for the status leds, that may or may not matter. at the least just turn off code that flashes them, and use them for SPI, at worstt remove the leds or resistors if they interfere with SPI comms (don't think they will).
The SS line is arduino d10, or atmega pin 14, is used as the #2 servo pwm output. you'd obviously not give that up for a typical rc plane.... you're supposed to be able to use the SS pin as a general output, as long as it's set as an output and the ardupilot SPI is the master. and could have the ardupilot also get data from an arduimu over spi...
Replies
on the ardupilot board, the CLK,MOSI,MISO lines for SPI are also used for the status leds, that may or may not matter. at the least just turn off code that flashes them, and use them for SPI, at worstt remove the leds or resistors if they interfere with SPI comms (don't think they will).
The SS line is arduino d10, or atmega pin 14, is used as the #2 servo pwm output. you'd obviously not give that up for a typical rc plane.... you're supposed to be able to use the SS pin as a general output, as long as it's set as an output and the ardupilot SPI is the master. and could have the ardupilot also get data from an arduimu over spi...
AVR151_SPI.pdf