Search found 58 matches

by esba1ley
Mon Feb 05, 2018 12:05 am
Forum: Spirit Technical Discussion
Topic: Is there an IMU on board?
Replies: 5
Views: 11304

Re: Is there an IMU on board?

Yes... but... one usually has to remove errors from the MEMS sensors via an estimator to get the most accurate measurements. This is the technology on which I did my Masters Thesis.
by esba1ley
Sun Feb 04, 2018 9:47 pm
Forum: Spirit Technical Discussion
Topic: Quick Update - Working on Pi Code Today!!
Replies: 14
Views: 25485

Re: Quick Update - Working on Pi Code Today!!

Thanks, Kevin! We're eagerly awaiting the instructions for those of us who are knowledgable-and-fearless... (two of us were ready to start burning to the Arduino via the ISP header until we realized that we weren't selecting the right options from the Arduino IDE!) I'm going to continue working with...
by esba1ley
Sun Feb 04, 2018 7:01 pm
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

This now begs me to ask the following question...

Kevin: why 8MHz and not 16MHz?

-E
by esba1ley
Sun Feb 04, 2018 6:58 pm
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

I GOT IT! SO it turns out by close inspection, it looks like the clock crystal next to the ATMega328p was 8MHz... so... by comparison I started looking at "which adruino boards have an ATMega328p, but have an 8MHz crystal, not a 16MHz crystal"... lo and behold, the Magical Arduino IDE sett...
by esba1ley
Sun Feb 04, 2018 5:02 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

See this thread:

https://forum.arduino.cc/index.php?topic=71580.0

BEFORE WE DO ANYTHING:

If we get this wrong, we can "brick" the board...

Kevin: What should the fuses be so we can reset them?

-Erik
by esba1ley
Sun Feb 04, 2018 4:50 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

Maybe... something curious is that all the fuses are set to 0x0 0x0 0x0... some of which affect whether or not an external clock is used, and whether or not to divide the clock by 8... avrdude: safemode: hfuse reads as 0 avrdude: safemode: efuse reads as 0 avrdude: safemode: Fuses OK (E:00, H:00, L:...
by esba1ley
Sun Feb 04, 2018 4:24 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

When you compile -- do you compile with all warnings enabled? I get the following warnings during compilation: In file included from Spirit_PreLoadedDemo_Rev01.ino:20:0: /var/folders/mp/myrl3wz08xl4jq006s7khhl80000gn/T/build5224635901671299867.tmp/Hardware.h:37:0: warning: "INT0" redefined...
by esba1ley
Sun Feb 04, 2018 4:09 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

I don't think the problem is with the avrdude tool... if it can upload code (which it can) I bet it's how the Arduino IDE is compiling the code in the first place -- I bet there is some kind of pre-complier statement that is assuming the clock rate is twice as fast as it really is. Let me take a loo...
by esba1ley
Sun Feb 04, 2018 2:54 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

OK. I was able to replicate the same problems you had... further problem... I can't get the robot back to its preloaded demo state. Kevin! Help! What are we doing wrong? I can get avrdude to replicate what we get from the Arduino IDE like this: bash-3.2# avrdude -p m328p -c arduino -P /dev/cu.usbser...
by esba1ley
Sun Feb 04, 2018 2:10 am
Forum: Spirit Technical Discussion
Topic: SOLVED: problem uploading Arduino Sketch
Replies: 24
Views: 32321

Re: problem uploading Arduino Sketch

Ok... so when I fire up my Arduino IDE (1.6.5) I can connect a serial port monitor to /dev/cu.usbserial-DN02T3WD under MacOS X when I connect the USB cable to the port on the main board. I get the message back: baseline: 353 588 when I connect at 57600 baud. Can you get the same thing? Still waiting...