Search found 154 matches

by Kevin
Sun Feb 18, 2018 6:35 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 10
Views: 138

Re: volts.py output problem

This is helpful. I can't dig into it right away but it's a start. Let's try this now..... Load up a sketch on the Arduino, and have it run the function PIC_ReadPower() in a loop with a delay of maybe 2 seconds between calls. Have that sketch print powerVoltage variable to the serial monitor on the l...
by Kevin
Fri Feb 16, 2018 4:42 pm
Forum: Spirit Technical Discussion
Topic: SOLVED: Navigation (gyro and accelerometer) not working?
Replies: 2
Views: 48

Re: SOLVED: Navigation (gyro and accelerometer) not working?

Thanks for posting that gp. I appreciate your help on this! :)
by Kevin
Fri Feb 16, 2018 4:41 pm
Forum: Spirit Technical Discussion
Topic: Battery Charge LED ?
Replies: 3
Views: 47

Re: Battery Charge LED ?

Is it doing this while the robot is turned off? So power off plus a few hours charge time and the LED is still turned on?
by Kevin
Fri Feb 16, 2018 4:40 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 10
Views: 138

Re: volts.py output problem

I know the I2C bus can be run at different speeds. I wonder if somehow my unit is at a different speed. Does anyone know off hand how to configure this? Also, some of you started setting up your Pi units before I gave my own setup instructions. I wonder if maybe I did something different when instal...
by Kevin
Thu Feb 15, 2018 5:59 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 10
Views: 138

Re: volts.py output problem

Okay I did some work on this issue this morning. I can't see anything obviously wrong so this is really strange. When you guys run the volts.py script, are you seeing the COM light on the rover blink? This light should blink any time the PIC sees I2C traffic with its address on it. If we get blinks ...
by Kevin
Tue Feb 13, 2018 4:06 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 10
Views: 138

Re: volts.py output problem

Is it just the volts.py? Does the rangefinder example return a result? (If the range is greater or less than about a meter, or the angle to the surface is off, it will return 0's). Mainly interested if you get the "wrong register" result again.
by Kevin
Sun Feb 11, 2018 6:44 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 5
Views: 65

Re: Democode errors

The rangefinder and volts scripts talk to the PIC not the Arduino, but the pre-installed demo on the Arduino does kind of flood the I2C bus reading the rangefinder. Putting the other PiControl behavior on the Arduino should clear this up. This "wrong register replied" comes from the spirit...
by Kevin
Sun Feb 11, 2018 6:39 pm
Forum: Spirit Technical Discussion
Topic: Spirit Pi configuration: virtualenv -- necessary?
Replies: 4
Views: 42

Re: Spirit Pi configuration: virtualenv -- necessary?

The reason for the virtualenv is that the code I was using to connect a PS3 game controller via bluetooth only runs in virtualenv. I'm sure it could be used outside it, but not with the limited install experience I've had. Once I get that together we can re-evaluate whether it's really necessary.
by Kevin
Sat Feb 10, 2018 3:08 am
Forum: Spirit Technical Discussion
Topic: Is there an IMU on board?
Replies: 5
Views: 73

Re: Is there an IMU on board?

There is a gyro and an accelerometer on board. Still need to get to documenting them, but here are a few notes to get you started. These are the exact same parts as on our Ringo robot, and we use the same code. Have a look at the Ringo guide book in the navigation section. This is out dated, but wil...
by Kevin
Sat Feb 10, 2018 2:57 am
Forum: Spirit Technical Discussion
Topic: Pi data to Arduino via SPI
Replies: 4
Views: 53

Pi data to Arduino via SPI

Hey all. This has been mentioned a few times so I wanted to post a new thread for it. The Pi does indeed connect directly to the Arduino via a SPI bus, and as far as I can tell, it works as expected. We already have a SPI protocol implemented between the two devices that you can latch on to with you...