Just built DiddyBorg, loaded code, but issues with motor controler - NEED HELP

Loading PicoBorg Reverse on bus 1, address 44
Missing PicoBorg Reverse at 44
PicoBorg Reverse was not found
Trying bus 0 instead
Loading PicoBorg Reverse on bus 0, address 44
Traceback (most recent call last):
File "./diddyWeb.py", line 38, in
PBR.Init()
File "/home/pi/diddyborg-web/PicoBorgRev.py", line 264, in Init
self.Init(False)
File "/home/pi/diddyborg-web/PicoBorgRev.py", line 234, in Init
self.bus = smbus.SMBus(self.busNumber)
IOError: [Errno 2] No such file or directory

Just checked both three (3) wire cables and of of the two (2) cables have a bad ground (black) crimp. Will try on Monday, when I buy another cable, and fingers crossed that was the problem.

piborg's picture

That would explain the problem.

In order to work five of the six cables need to make good contact:

  1. 3.3v - Pin 1
    Without this the PicoBorg Reverse will not power up
  2. GND - pin 6
    Without this most things will not work, the Raspberry Pi might not even boot
  3. 5v - Pin 2 or 4
    Without this the Raspberry Pi will not boot up and the PicoBorg Reverse will not power up
  4. SDA - pin 3
    Without this you will see the error you currently have
  5. SCL - pin 5
    Without this you will see the error you currently have

Given your error and cable check I suspect that the SCL line has not made a good connection.
This upsets the I2C communications and means that the Raspberry Pi cannot talk to the PicoBorg Reverse.

A replacement cable should solve the problem.

Thank you for the quick response, quite excited to swap out the cable on Monday and fire up DiddyBorg.
Best regards,
-Bob

I am not seeing GUI after remote login (HTML).
Remote display shows:
Loading PicoBorg Reverse on bus 1, address 44
Found PicoBorg Reverse at 44
PicoBorg Reverse loaded on bus 1
Setup camera
Setup the stream processing thread
Wait ...
Start the stream using the video port
Setup the watchdog
Press CTRL+C to terminate the web-server

Could this be a version issue? I have attached the diddyWeb.py code.
Any help would be appreciated.
Thank you,
-Bob

Attachments: 
piborg's picture

It looks like some of the lines have been split in the copy you have uploaded, starting from line 307.
I am not sure if this is a problem, but it might be worth fixing.

Are you using the correct IP address for the DiddyBorg?
You should be able to get the IP address using the command: hostname -I

Working now, i am in debug mode and using AC power and connected battery pack; however, not snapped. Once i made sure both + & - were coupled, it began to work, now i need to test at home as work has way too much 2.4 GHz traffic (250+ devices).

Wish you had a distributor in the United States, as I had to have a friend from UK purchase and mail to me.

You are missing out on revenue without USA distribution. I'd be glad to be your distributor in the states.
Thank you,
-Bob

Subscribe to Comments for "Just built DiddyBorg, loaded code, but issues with motor controler - NEED HELP"