Submitted by Thieu on Fri, 06/14/2019 - 19:16
Dear piborg,
I have a new Diablo, everything worked fine until ive got the error: failed sending motor drive level.
This happens when i want to go forward, backwards it works fine. Do u know how i van fix this?
Greetings thieu
Thieu
Fri, 06/14/2019 - 19:17
Permalink
Ive already looked on the
Ive already looked on the troubleshoot page
piborg
Sat, 06/15/2019 - 11:15
Permalink
Which script are you running?
Which example script are you using when you see the error?
Thieu
Sat, 06/15/2019 - 11:25
Permalink
The diabloJoystick.py
The diabloJoystick.py
piborg
Sat, 06/15/2019 - 14:31
Permalink
What else is connected?
Apart from the Diablo, is anything else connected to the Raspberry Pi's GPIO or the daisy-chain connector on the Diablo?
Thieu
Sat, 06/15/2019 - 14:55
Permalink
No nothimg, only the Diablo
No nothimg, only the Diablo
piborg
Sat, 06/15/2019 - 16:57
Permalink
Limiting the maximum Diablo output voltage
The first thing I would do is adjust the script so it will output the correct voltage to the motors at full speed.
Open
diabloJoystick.py
in an editor and add these lines after theimport
lines:Change the values of
voltageIn
andvoltageOut
to match what you are using.Next look for these lines:
and change them to be:
This will prevent the script from sending too much power to the motors, which might be causing the problem.
Thieu
Sun, 06/16/2019 - 13:34
Permalink
hello, ive added the lines
hello, ive added the lines above. but it still not works. i keep getting the failed sending motor drive level.
this is the code im working with.
Thieu
Sun, 06/16/2019 - 14:04
Permalink
Ive also tried the
Ive also tried the diabloSequence.py but i keep getting the same fault
piborg
Mon, 06/17/2019 - 11:00
Permalink
I2C signals
It sounds like the wires that carry the I2C signals between the Raspberry Pi and Diablo might be suffering from interference. This would explain why it is working only some of the time.
Try carefully wrapping some tin foil / cooking foil around the 3-pin cables to block any interference. Make sure the foil does not contact any of the pins or parts of the board.
Thieu
Mon, 06/17/2019 - 11:21
Permalink
Okay Thanks im going to try
Okay Thanks im going to try this this evening
Thieu
Mon, 06/17/2019 - 18:20
Permalink
The fault is gone, but im
The fault is gone, but im getting an strange sound from the motors when it turns the other way
I think that something in the software is not okay. Now i used the diabloSequence.py
Thieu
Mon, 06/17/2019 - 20:09
Permalink
The fault is back, even when
The fault is back, even when i have No motors connected. Is there a solution for this?
Greetings Thieu
piborg
Tue, 06/18/2019 - 10:15
Permalink
Probably the cables
Given everything so far I think the 3-pin cables are probably to blame, I think the one carrying the I2C signals might be marking poor contact.
Try swapping the 3-pin cables at both ends and see if that makes any difference. You may need the foil around them as well.
Thieu
Tue, 06/18/2019 - 18:51
Permalink
Dear piborg, today i was
Dear piborg, today i was testing with the Diablo and a brand new Raspberry 3. I tested with the diabloGui.py but i think the problem is somewhere with channel 2 because if i want slide motor 2 backwards it imediatly prints the fault
Greetings Thieu
Thieu
Tue, 06/18/2019 - 20:40
Permalink
Also when im trying to run
Also when im trying to run channel 2 backwards i hear a sort of ticking sound from the board
piborg
Wed, 06/19/2019 - 11:48
Permalink
Checking the board
Given the situation I suggest we stick to solving one problem at a time methodically. The first thing to sort out is the cause of the error as it might be causing other problems as well.
Start by removing both motors again so you just have the Diablo connected to the power supply and the Raspberry Pi. Power the board up and try using the GUI. Make a list of any of the following behaviours:
Thieu
Wed, 06/19/2019 - 11:55
Permalink
Thanks, going to do this. I
Thanks, going to do this. I also was Reading the topic about Diablo and python 3, has this something to do with it?
piborg
Wed, 06/19/2019 - 15:23
Permalink
Python version
If you are running the scripts directly in the terminal or using the
python
command you are probably using Python 2.The code on GitHub is more recent than those forum comments and should work correctly with both Python 2 and Python 3 without any changes :)
Thieu
Wed, 06/19/2019 - 20:30
Permalink
ive tested everything above.
ive tested everything above. i also made a test Sequence to see when it gives the drive fault message.
# Set our sequence, pairs of motor 1 and motor 2 drive levels
sequence = [
[+0.5, -0.5],
[+0.0, +0.0],
the -0.5 is where is goes wrong. channel 2 doenst want to turn back. channel 1 works good when i put a minus instead of a plus.
when i start the sequence the board makes a sort of beeping sound and when channel 2 wants to turn back it stops and the board start making a ticking sound. there is no low power indicator when everything is setup. i really dont know whats wrong:(
greetings Thieu
piborg
Thu, 06/20/2019 - 10:35
Permalink
Board noises
Is the board making these noises even without any motors connected?
Thieu
Thu, 06/20/2019 - 10:40
Permalink
Yess
Yess
piborg
Thu, 06/20/2019 - 10:50
Permalink
Damaged board
It sounds like the Diablo has become damaged in some way :(
Could you please return the board to us for investigation at this address:
Thieu
Thu, 06/20/2019 - 12:13
Permalink
I Will send it tomorrow
I Will send it tomorrow
Thieu
Fri, 06/21/2019 - 12:04
Permalink
Its sended to you
Its sended to you
Thieu
Fri, 06/21/2019 - 12:04
Permalink
Its sended to you
Its sended to you
Thieu
Fri, 06/21/2019 - 12:09
Permalink
It Will be at youre place 24
It Will be at youre place 24 june or 25 june
Thieu
Tue, 06/25/2019 - 14:00
Permalink
Can you let me know when it
Can you let me know when it has arrived?
piborg
Tue, 06/25/2019 - 17:22
Permalink
I will let you know
It has not arrived yet, I will let you know when it does :)
Thieu
Fri, 06/28/2019 - 06:53
Permalink
Its coming today:)
Its coming today:)
piborg
Fri, 06/28/2019 - 12:27
Permalink
The board has arrived
The board has arrived here, we will investigate the issue later today.
Just to confirm, is order 262145 for you? If so I will get the repaired / replaced Diablo sent in the same package :)
Thieu
Fri, 06/28/2019 - 12:52
Permalink
Yess thats also for me, thats
Yess thats also for me, thats oke:)
Thieu
Fri, 06/28/2019 - 16:33
Permalink
Do you know What the problem
Do you know What the problem was with the board?
piborg
Sat, 06/29/2019 - 10:35
Permalink
Faulty component
We tracked the issue back to a single faulty component on the board. We think that replacing it will fix all of the problems you were seeing.
We will attempt to fix the board on Monday. If replacing the component does not solve the problems then we will send you a replacement board instead.
Either way we will send everything out to you in Monday's post run.
Thieu
Sat, 06/29/2019 - 10:56
Permalink
Okay, many thanks for the
Okay, many thanks for the service
Thieu
Mon, 07/01/2019 - 09:35
Permalink
Is it repaired or replaced
Is it repaired or replaced the Diablo?
piborg
Mon, 07/01/2019 - 13:06
Permalink
Replacement board
Repairing the board did not fix all of the issues, so we will send you a replacement instead :)
Thieu
Mon, 07/01/2019 - 15:52
Permalink
Thankyou very much, do i get
Thankyou very much, do i get an email when its shipped?
piborg
Mon, 07/01/2019 - 16:03
Permalink
Package has shipped
The order and replacement board have been shipped. You should get an email soon :)
Thieu
Thu, 07/04/2019 - 16:06
Permalink
Do you have a track and tracé
Do you have a track and tracé code of the package?
piborg
Fri, 07/05/2019 - 10:07
Permalink
Unfortunately we do not have
Unfortunately we do not have a tracking number.
The estimated delivery date for your package is the 5th-8th of July.
Thieu
Tue, 07/09/2019 - 16:51
Permalink
Hello, the package is still
Hello, the package is still not deliverd
piborg
Wed, 07/10/2019 - 10:14
Permalink
Delivery estimate
The delivery estimate is when the courier aims to deliver the package by, sometimes it is delayed a bit by customs or similar.
It will probably arrive later this week :)
Thieu
Fri, 07/12/2019 - 19:53
Permalink
Dear Piborg, the Package is
Its deliverd:)