Dawn Robotics Forum Support and community forums for Dawn Robotics Ltd 2014-08-20T21:18:10+01:00 http://forum.dawnrobotics.co.uk/feed.php?f=5&t=1246 2014-08-20T21:18:10+01:00 2014-08-20T21:18:10+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1390#p1390 <![CDATA[Re: problem with mini dagu driver]]> Statistics: Posted by hiro24 — Wed Aug 20, 2014 9:18 pm


]]>
2014-08-20T17:46:08+01:00 2014-08-20T17:46:08+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1388#p1388 <![CDATA[Re: problem with mini dagu driver]]>
Sorry you're having problems, and sorry for the delay replies.

It sounds like you might have a corrupted Arduino bootloader on the Mini Driver. This can prevent the upload of programs.

Do you have any experience of flashing Arduino bootloaders? You can do this either with a specialised programmer, or with another Arduino if you have one lying around. If neither of these are an option then we can replace your Mini Driver, but if we're able to get you to flash the board then obviously that would save you time.

Apologies for any inconvenience this is causing you.

Regards

Alan

Statistics: Posted by Alan — Wed Aug 20, 2014 5:46 pm


]]>
2014-08-20T02:49:30+01:00 2014-08-20T02:49:30+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1387#p1387 <![CDATA[Re: problem with mini dagu driver]]> Statistics: Posted by hiro24 — Wed Aug 20, 2014 2:49 am


]]>
2014-08-19T12:53:35+01:00 2014-08-19T12:53:35+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1384#p1384 <![CDATA[Re: problem with mini dagu driver]]>
lsusb outputs the following:

Code:
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light


The blue light DOES flash when I press the reset button, but anytime I try to write to it, it fails. It complains about a signature.

FYI, I'm using a Model B+.

Statistics: Posted by hiro24 — Tue Aug 19, 2014 12:53 pm


]]>
2014-08-19T09:45:12+01:00 2014-08-19T09:45:12+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1382#p1382 <![CDATA[Re: problem with mini dagu driver]]>
Sorry for the delayed reply. It looks like the Pi can't communicate with the mini driver for some reason. A couple of things to try.

[list=][*]Can you make sure that the USB cable between the Pi and Mini Driver isn't loose?
[*]If that doesn't solve the problem, can you log into the Pi and tell me the result of running 'lsusb'?
[*]Can you check that when mini driver is powered on and you press the reset (rectangular white) button on the mini driver, that a blue light flashes?
[/list]

Also, which version of the Pi are you using? I've found that on start up new the Model B+ version of the Pi doesn't seem to be able to supply enough power to the mini driver and the servos. The symptons are the mini driver keeps on restarting, the blue light on the mini driver flashes, and any servos attached to the mini driver shake back and forth. The way to fix this is to add a battery pack on the mini driver, it can be small though (only 4xAA) if the Pi is powered from another supply.

Anyway, hopefully something here will be of help. Please let me know how you get on.

Regards

Alan

Statistics: Posted by Alan — Tue Aug 19, 2014 9:45 am


]]>
2014-08-18T17:29:35+01:00 2014-08-18T17:29:35+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1380#p1380 <![CDATA[Re: problem with mini dagu driver]]> sockjs.tornado will use json module
Starting web server...
Read 0X0 0.0
Expected 0XACED 0.31
Unable to connect to correct firmware, uploading...
No file copy needed
Building sketch in dir /root/.ino_uploader/mini_driver_firmware
Trying to upload /root/.ino_uploader/mini_driver_firmware/.build/atmega8/firmware.hex
done with autoreset

avrdude-original: AVR device initialized and ready to accept instructions

Reading | | 0% 0.00savrdude-original: error reading signature data for part "ATMEGA8", rc=-1
avrdude-original: error reading signature data, rc=-1
uploadResult = 0
Read 0X0 0.0
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "./robot_web_server.py", line 71, in createRobot
r = robot_controller.RobotController( robotConfig )
File "/home/pi/raspberry_pi_camera_bot/robot_controller.py", line 60, in __init__
raise Exception( "Unable to connect to the mini driver" )
Exception: Unable to connect to the mini driver


This is actually what mine is doing, very similar. Any ideas?

Statistics: Posted by hiro24 — Mon Aug 18, 2014 5:29 pm


]]>
2014-08-18T17:26:36+01:00 2014-08-18T17:26:36+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1379#p1379 <![CDATA[Re: problem with mini dagu driver]]>
I'd like to note I'm also having this exact problem. I should note though that I'm powering the dagu mini driver via the GPIO 5v pin and ground (instead of by battery, etc). I looked for the log file and found it, however, it was empty. Any ideas?

Statistics: Posted by hiro24 — Mon Aug 18, 2014 5:26 pm


]]>
2014-06-01T18:16:31+01:00 2014-06-01T18:16:31+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1326#p1326 <![CDATA[Re: problem with mini dagu driver]]>
Welcome to the forum. Sorry for the delayed reply, and your english seems pretty good to me. :)

Looking at the logs, everything is proceeding as it should, apart from the line 'Building of sketch was unsuccessful' which is a problem.

Can you try launching the webserver again? If the same problem occurs can you send me the contents of the file /tmp/ino_build_output.txt please?

Also, are you using an SD card image that you downloaded from our website, or one that you built yourself?

Regards

Alan

Statistics: Posted by Alan — Sun Jun 01, 2014 6:16 pm


]]>
2014-05-31T11:44:21+01:00 2014-05-31T11:44:21+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1246&p=1325#p1325 <![CDATA[problem with mini dagu driver]]> First of all ; im a french 17 years old student in his last school year so sorry for my english :)

I did the whole tutorial about the raspberry robot camera . But i got a final problem
when i tried to launch the server i got this error .
@raspberrypi ~/sockjs-tornado/raspberry_pi_camera_bot $ sudo ./robot_web_server.py
sockjs.tornado will use json module
Starting web server...
Read 0X0 0.0
Expected 0XACED 0.29
Unable to connect to correct firmware, uploading...
No file copy needed
Building sketch in dir /root/.ino_uploader/mini_driver_firmware
Building of sketch was unsuccessful
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "./robot_web_server.py", line 71, in createRobot
r = robot_controller.RobotController( robotConfig )
File "/home/pi/sockjs-tornado/raspberry_pi_camera_bot/robot_controller.py", line 60, in __init__
raise Exception( "Unable to connect to the mini driver" )
Exception: Unable to connect to the mini driver

I checked all connections and everything is at his place .
Im pretty novice with linux so maybe it's a simple problem
Thanks for answers
Valentin

Statistics: Posted by ValentinFR — Sat May 31, 2014 11:44 am


]]>