Search found 75 matches

by gpvillamil
Sun Mar 25, 2018 5:56 pm
Forum: Spirit Technical Discussion
Topic: Motor gearbox broken - part specs?
Replies: 4
Views: 10836

Re: Motor gearbox broken - part specs?

I think it is this one: https://www.robotshop.com/en/6v-175rpm-17oz-spur-gear-motor.html Though there is also this slower, higher torque version: https://www.robotshop.com/en/12v-90rpm-70oz-in-spur-gear-motor.html They are not expensive, so maybe buy 2 of whatever you choose and you are guaranteed t...
by gpvillamil
Tue Mar 06, 2018 2:56 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182130

Re: volts.py output problem

The Python scripts all ran for me, at least initially. The rangefinder example works correctly, distance values vary depending on where the sensor is pointed (objects at different distances). After about the 2nd or 3rd time, I started getting the message “error on write”, and sometimes voltage would...
by gpvillamil
Sat Mar 03, 2018 9:51 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182130

Re: volts.py output problem

Thats great! Can you show your lsmod results too? 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. S...
by gpvillamil
Sat Mar 03, 2018 7:18 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182130

Re: volts.py output problem

All Pi 3s should have the same hardware. The switch is from a driver that referenced the original CPU core (2708) to referencing the new SOC (2835). The new SOC that is used in all Pi3s is apparently a 2708 packaged together with RAM in one chip and called a 2835. I don't know why the drivers would ...
by gpvillamil
Sat Mar 03, 2018 12:52 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182130

Re: volts.py output problem

Hi Kevin, I believe that what you want to do is create the file /etc/modprobe.d/raspi-blacklist.conf if it doesn't exist. To this file, add the names of modules that you don't want to load. So for example your file would look like: # blacklist spi and i2c by default (many users don't need them) blac...
by gpvillamil
Fri Mar 02, 2018 4:05 am
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 182130

Re: volts.py output problem

Kevin, try this: lsmod That will list installed kernel modules (basically device drivers), you might find a discrepancy there. Then try cat /etc/modules if you need to manually add drivers, you can do it by adding them to that file. For example, my /etc/modules file contains: i2c-dev bcm2835-v4l2 //...
by gpvillamil
Mon Feb 26, 2018 12:53 am
Forum: Spirit Technical Discussion
Topic: Spirit Schematic
Replies: 2
Views: 9743

Re: Spirit Schematic

Cool, thank you very much for posting this! Already very helpful! Couple of questions: 1) There is currently no possible connection between RPi GPIO and the Arduino reset, right? If there, it would be possible to implement this: http://kevincuzner.com/2013/05/27/raspberry-pi-as-an-avr-programmer/ Cu...
by gpvillamil
Sun Feb 25, 2018 4:57 pm
Forum: Spirit Technical Discussion
Topic: issues with PI SD Card .. Failing to boot... and a Heartbeat between PI and Arduino
Replies: 8
Views: 13775

Re: issues with PI SD Card .. Failing to boot... and a Heartbeat between PI and Arduino

Shutdown is occurring correctly. sudo shutdown -h now "Spirit Shutdown Now!" will not generate a wall message. You can just try it! If you don't specify a time interval, the "system going down" message is not generated, and neither is any supplementary message text. This is stand...
by gpvillamil
Sun Feb 25, 2018 3:50 am
Forum: Spirit Technical Discussion
Topic: issues with PI SD Card .. Failing to boot... and a Heartbeat between PI and Arduino
Replies: 8
Views: 13775

Re: issues with PI SD Card .. Failing to boot... and a Heartbeat between PI and Arduino

If you install the Python software from Kevin, you set up two tasks as cron jobs that start on boot: a PGPixelServer and a Shutdown monitor. https://plumgeek.gitbooks.io/spirit-rover-code-quick-reference/content/raspberry-pi-setup/pi-software-install.html The latter monitors a GPIO pin and starts a ...