Search found 156 matches

by Kevin
Wed Feb 21, 2018 2:39 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 21
Views: 196

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: 21
Views: 196

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: 21
Views: 196

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

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

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: 21
Views: 196

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: 21
Views: 196

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: 21
Views: 196

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

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.