Search found 157 matches

by Kevin
Thu Feb 22, 2018 1:48 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 28
Views: 354

Re: volts.py output problem

Can you post an example of the exact command you entered? Been a long time since I used grep, this will save me 45 minutes of digging on google. :) I'll do the same for smbus. One other quick note - regarding the virtuanenv - when you install the virtualenv it's important to use the extra tag on tha...
by Kevin
Wed Feb 21, 2018 2:39 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 28
Views: 354

Re: volts.py output problem

What commands should I run in terminal to check versions? Actually it may be a good idea for me to check versions of all kinds of stuff. If you can maybe make a list of commands, I can run and post the results. I'm thinking anything relevant - the Pi firmware, Linux version, etc. Also the SMBUS pack...
by Kevin
Tue Feb 20, 2018 6:42 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 28
Views: 354

Re: volts.py output problem

Okay thanks for the feedback. Let's try something else.... We have a few pauses we can play with. We already tried setting the "i2c_process_delay(15)" in the main script and found it had no effect. This sets a response delay within the PIC itself. There are two other delays that are insert...
by Kevin
Sun Feb 18, 2018 6:35 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 28
Views: 354

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: 69

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: 70

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: 28
Views: 354

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: 28
Views: 354

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: 28
Views: 354

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: 69

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...