simonmonk / raspirobotboard3

Python library and design files for the RasPi Robot Board V3
MIT License
71 stars 40 forks source link

R motor-output not working #12

Open alduxvm opened 7 years ago

alduxvm commented 7 years ago

Hi!

Great library! super easy to use!

I have a problem, my motor output R is not sending any voltage.

I'm using Raspbian Lite (2016-09-23), a RPI3 and the RRBv3f.

I installed from source, leds work, my two motors work (tested both on L output) but when sending rr.forward() only L has voltage, R does not.

Is there a problem with my board?

Thanks!

alduxvm commented 7 years ago

I made a video of the situation: https://altax.net/videos/rrb3.mp4

I think it probably has to do something with changes of the pin assignment in the newer version of the raspbian lite?

simonmonk commented 7 years ago

Hi, the other ting it could be is other software using those GPIO pins. LIRC is a common culprit.

alduxvm commented 7 years ago

How would I disable it? I'm not running anything extra... pure raspbian-lite out-of-the-box...

I order another board and it is the same!

With a RPI3, raspbian-lite, the RaspiRobot v3f, only L output works.

I also noticed that if I install from pip, the speed is slower on the motor output, when I install from source, the speed is much faster (like in the previous video).

sdazero commented 7 years ago

I'm using Ubuntu Mate 16.04 and have the same problem (also with debian jessie before). Clean Install. Additionally I have the situation that the Toshiba Motor Controller IC gets hot when the motors are started by the motor script. Voltage Settings are 12V for the battery and 12V for the motors. It even gets hot when no motors are connected. I can't measure the temperature but I burned my thumbs a few times and stopped the script immediately. I just ordered a new RRB3.

alduxvm commented 7 years ago

I had access to 5 boards... only one is working properly. All of the rest have a similar issue of just one output working.

sdazero commented 7 years ago

When did you buy them?

sdazero commented 7 years ago

Have you tried getting ros to work?

alduxvm commented 7 years ago

not ROS, only using this library... 2 come from Adafruit and 3 from RobotShop... only one works but even that one is temperamental... The others just one output works.

I reclaimed Adafruit and they sent another, but behaves the same... I did not reclaim again because I have to pay too much in taxes when I receive the board.

sdazero commented 7 years ago

I get mine on am***n UK. They where cheaper than buying them in germany. Thank's Brexit. Ouch. Sry. 😑

alduxvm commented 7 years ago

I did not attempted using ROS, as our application is not using ROS at the moment, did you had some of the problems we mention here?

simonmonk commented 7 years ago

Hi, I am sorry for all the problems you are having. I have not been able to reproduce this problem directly, but have my suspicions. The right channel uses GPIO14, 10 and 25 to control the motor driver. GPIO 14 is used by the Raspberry Pi Serial interface (if its enabled) and GPIO 10 by the SPI interface.

I have put some instructions for making sure that both these interfaces are disabled in a FAQ section at the and of the RRB3 Readme.

If any of you having this problem could give this a go and let me know if it solves the problem, I would be most grateful.

sdazero commented 7 years ago

I have the same problem only running the left motor. Does your Motor Controller IC also gets hot?

sdazero commented 7 years ago

Hi Simon,

thanks for your fast reply. I will try it and report ASAP when I'm back at home.

Best Regards

sdazero commented 7 years ago

I switched of SPI and Serial in raspi-config. No motors were attached. Just the battery pack was (12V). I put my thumb on the Motor Driver IC and when the test_all.py script comes to move them backwards (I forgot to mention "backwards" previously) the IC gets hot and burned my thumb again.

sdazero commented 7 years ago

I will test the motor terminal outputs with my multimeter today when I'm back from work.

sdazero commented 7 years ago

With a bit of luck the next RRB3 Board will arrive today an I can test both of them.

alduxvm commented 7 years ago

Ok, I disabled serial, SPI and I2C as requested using sudo raspi-config then I tested again, but no luck, the same situation, only L output works.

In comparison with sdazero, my board does not heat up, and when checking with the multimeter on R output, there is 0v...

Where are you simonmonk? perhaps I can send you one of my boards, I'm not using them anyhow hehe

sdazero commented 7 years ago

Simon mailed me that he is out of the country until beginning of march. I received my new board today. Hope it'll work. crossing fingers

sdazero commented 7 years ago

I got home and put the new board in place and everything works flawlessly. The Motor Controller IC was the faulty guy I think. 😥

simonmonk commented 7 years ago

sdazero - glad its all working.

Aldo, clutching at straws, but you did reboot after turning off Serial, SPI and I2C didn't you?

Which model of Pi you are using?

On 15 February 2017 at 21:16, sdazero notifications@github.com wrote:

I got home and put the new board in place and everything works flawlessly. The Motor Controller IC was the faulty guy I think. 😥

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/simonmonk/raspirobotboard3/issues/12#issuecomment-280126004, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAvUdizQA0W6eGJuMJWKgzplcWRsfWkks5rc10VgaJpZM4K63kw .

--

http://simonmonk.org @simonmonk2

alduxvm commented 7 years ago

yes, I rebooted. I'm using rpi3. perhaps I had the bad luck of bad pcb batches? I can seriously send you one of mine.

simonmonk commented 7 years ago

Hi Aldo,

If you could send one over for me to test, that would be appreciated.

Simon Monk 12 Cuerden Close Bamber Bridge Preston PR5 6BX United Kingdom

Many thanks.

Simon.

On 22 February 2017 at 01:01, Aldo Vargas notifications@github.com wrote:

yes, I rebooted. I'm using rpi3. perhaps I had the bad luck of bad pcb batches? I can seriously send you one of mine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/simonmonk/raspirobotboard3/issues/12#issuecomment-281523130, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAvUewHiWx7YOf22BXhZZLK9Wz6wk3Wks5re3r1gaJpZM4K63kw .

--

http://simonmonk.org @simonmonk2

matthewbullweb commented 7 years ago

Did a clean install. This happens when i install pimoroni unicorn hat. It reconfigures the audio because thats used to drive the matrix. GPIO update packages is also installed (like wiring pi).

stptrx commented 6 years ago

Has this been resolved. My son and I built a robot with raspberry pi 3 and the raspirobot v3 we have a 12v motor and are having difficulties similar to those described here. In addition it stutters but won't go in reverse. Switching pos-new posts runs motor fine. Forward starts fine and then stutters. Etc. If it was not for lack of voltage on the one motor I'd troubleshoot the other areas. However, this issue rendersthree board worthless for our purposes.

simonmonk commented 6 years ago

If some other piece of software is using a GPIO pin used by the RRB3, then there is nothing much we can do about it.

Make sure that no other software is using the GPIO pins. If this isn’t a ‘fresh from the box’ pi there is every likelihood that something else is using one of the GPIO pins you need so if you re-install Raspbian it should clear this up. The most likely culprit for the problem of one channel not working is that some other software is using that pin. This could be because either the SPI or 1-wire interfaces are enabled. You can check this by opening the Configuration tool from your Raspberry Pi menu. (See step 4 here: https://www.raspberrypi.org/magpi/raspberry-pi-configuration-tool/). Make sure 1-wire, SPI and remote GPIO are all disabled, then reboot your Pi. The other things that will override the pins used by the RRB3 are the ServoBlaster, ServoSix and Lirc libraries / software.

Simon.

On Mon, 8 Oct 2018 at 00:03, stptrx notifications@github.com wrote:

Has this been resolved. My son and I built a robot with raspberry pi 3 and the raspirobot v3 we have a 12v motor and are having difficulties similar to those described here. In addition it stutters but won't go in reverse. Switching pos-new posts runs motor fine. Forward starts fine and then stutters. Etc. If it was not for lack of voltage on the one motor I'd troubleshoot the other areas. However, this issue rendersthree board worthless for our purposes.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/simonmonk/raspirobotboard3/issues/12#issuecomment-427694804, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAvUcWTmpyberKMXUxaXbkLr9PUdfGrks5uiohYgaJpZM4K63kw .

--

http://simonmonk.org @simonmonk2