Search found 20 matches

by Nickw58
Thu Mar 08, 2018 1:48 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 8
Views: 1634

Re: Democode errors

Hi,

See my post today New 'Topic Rangefinder issue'. I also was getting a fixed output from the rangefinder.
by Nickw58
Thu Mar 08, 2018 12:09 pm
Forum: Spirit Technical Discussion
Topic: Range Finder Issue
Replies: 2
Views: 764

Re: Range Finder Issue

After further investigation it would appear that if I connect or disconnect the HDMI cable to the Rpi with any power on the Rover mother board it locks up the Rangefinder. To avoid this I have to disconnect USB and unplug the battery before connecting/disconnecting the HDMI cable. My head hurts, goi...
by Nickw58
Thu Mar 08, 2018 10:19 am
Forum: Spirit Technical Discussion
Topic: Range Finder Issue
Replies: 2
Views: 764

Range Finder Issue

I'm seeing strange behaviour from the Rangefinder it seems to get into a failed state (output value is fixed) and the only way I can clear it is to shut the Rover down load a very simple Arduino sketch that reads PIC_RangefinderEnable(); and prints to Serial Monitor. At this stage the rangefinder wo...
by Nickw58
Mon Mar 05, 2018 10:28 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi

I ran volts.py, lightsense_ambient, lightsense_surface and rangefinder, all returned values and I was able to see the value change when I manipulated the sensor/s, all except rangefinder this returned a steady value of 87. I put an obstacle at various distances but not change in the value.
by Nickw58
Sun Mar 04, 2018 9:12 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Yes it now works. Thanks Stefan :D
by Nickw58
Sat Mar 03, 2018 9:59 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi Guys, I have tried adding i2c_bcm2835 to the blacklist.conf file. When I do this it stops i2c working, running i2cdetect fails with 'cannot open file' . If I edit the blacklist file and change the line to 'blacklist i2c_bcm2708, so i12c_bcm2835 is loaded, i2cdetect now works but the Volts.py modu...
by Nickw58
Fri Mar 02, 2018 10:02 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi, For comparison outputs from my Non-working unit. lsmod Module Size Used by bnep 12051 2 hci_uart 20020 1 btbcm 7916 1 hci_uart bluetooth 365511 22 hci_uart,bnep,btbcm brcmfmac 222874 0 brcmutil 9092 1 brcmfmac joydev 9988 0 spidev 7373 0 snd_bcm2835 24427 1 cfg80211 543027 1 brcmfmac snd_pcm 985...
by Nickw58
Mon Feb 26, 2018 12:20 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi Kevin, FYI this is the version of smbus I'm running ii python-smbus 3.1.1+svn-2 armhf Python bindings for Linux SMBus access through i2c-dev Just checking I understand your last post regarding possible impact of the virtualenv on this issue. I ran ' dpkg -query -l ' with virtualenv activated and ...
by Nickw58
Wed Feb 21, 2018 2:52 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi, The dpkg-query -l is a large output so I limited to i2c with a grep, not sure if this helps. ii i2c-tools 3.1.1+svn-2 armhf heterogeneous set of I2C tools for Linux ii libi2c-dev 3.1.1+svn-2 all userspace I2C programming library development files ii python-smbus 3.1.1+svn-2 armhf Python bindings...
by Nickw58
Wed Feb 21, 2018 2:46 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 7072

Re: volts.py output problem

Hi, This is my version of Pi Firmware *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13403 100 13403 0 0 41057 0 --:--:-- --:--:-- --:--:-- 412...