Search found 31 matches

by sm7tix
Sat Mar 03, 2018 10:03 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182301

Re: volts.py output problem

My lsmod (rover)pi@raspberrypi:~ $ lsmod Module Size Used by bnep 20480 2 hci_uart 24576 1 bluetooth 368640 21 hci_uart,bnep ecdh_generic 28672 1 bluetooth brcmfmac 307200 0 brcmutil 16384 1 brcmfmac spidev 16384 0 cfg80211 573440 1 brcmfmac rfkill 28672 4 bluetooth,cfg80211 snd_soc_bcm2835_i2s 1638...
by sm7tix
Sat Mar 03, 2018 9:36 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 8
Views: 14512

Re: Democode errors

I have solved it for me by having this in /boot/config.txt dtoverlay=i2c-bcm2708 dtparam=i2c_arm=on dtparam=i2s=on dtparam=spi=on Volts.py give Battery Voltage: 4.078 4.078 4.078 rangefinder.py givs Rangefinder: 130 130 130 but i dont know how to test rangefinder.py. Allways give this answer. Stefan
by sm7tix
Sat Mar 03, 2018 9:26 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182301

Re: volts.py output problem

I have got it working!
In /boot/config.txt i have
dtoverlay=i2c-bcm2708
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

and i get
root@raspberrypi:/home/pi/rover/democode# python volts.py
Battery Voltage: 4.072
4.072
4.072

I hope this help others.
Stefan
by sm7tix
Sun Feb 11, 2018 7:03 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 8
Views: 14512

Re: Democode errors

by sm7tix
Sat Feb 10, 2018 7:06 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 8
Views: 14512

Democode errors

When i run the volts.py and rangefinder.py i get
(rover)pi@raspberrypi:~/rover/democode $ python volts.py
Battery Voltage: Wrong register replied
0
Wrong register replied
0
Wrong register replied

Where should i start debug?
Kind regards
Stefan
by sm7tix
Sat Feb 10, 2018 6:58 pm
Forum: Spirit Technical Discussion
Topic: Spirit_BaseSketch_PiControl upload fails
Replies: 4
Views: 10524

Re: Spirit_BaseSketch_PiControl upload fails

Success!!!!!!
Thanks!
Best regards
Stefan
by sm7tix
Sat Feb 10, 2018 12:28 pm
Forum: Spirit Technical Discussion
Topic: Spirit_BaseSketch_PiControl upload fails
Replies: 4
Views: 10524

Spirit_BaseSketch_PiControl upload fails

I am trying to upload the Spirit_BaseSketch_PiControl to my Spirit. I am using Linux Mint on my desktop computer and followed the instruktion to install the Arduino IDE. When i try to upload i get this Arduino:1.8.5 (Linux), Kort:"Arduino/Genuino Uno" Archiving built core (caching) in: /tm...
by sm7tix
Mon Oct 30, 2017 10:08 pm
Forum: Spirit Technical Discussion
Topic: [ Solved ] How to troubleshoot
Replies: 4
Views: 10257

Re: How to troubleshoot

Ok. Thanks.
by sm7tix
Mon Oct 30, 2017 2:42 pm
Forum: Spirit Technical Discussion
Topic: [ Solved ] How to troubleshoot
Replies: 4
Views: 10257

Re: How to troubleshoot

Hi and thanks for the answer. My nephew placed the connector backwards on the ultra sonic device. Now it is behavong as it should, allmost. There is a buzzing sound from the gripper server we have to look into now.
Kind regards
Stefan