# \[Help\] Anything is broken

**URL:** <https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398>\
**Category:** Uncategorized\
**Created:** [November 23, 2019, 3:27am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398 "2019-11-23T03:27:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://forum.ubiquityrobotics.com/u/nelson)\
**Post date:** [November 23, 2019, 3:27am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/1 "2019-11-23T03:27:25Z")

</div>

Last night I conected servo to wrong P702 pins and broke my Raspi.  
Now I got a new Raspi and connected again with correct pins.

I could launch simple\_navigation and connect with Robot\_Commander, I could launch rviz and see the picture.  
But when sending command to Robot, it didn’t move.

roslaunch magni\_demos simple\_navigation.launch  
I noticed below errors in logs:

 ![IMG_20191123_110650](https://forum.ubiquityrobotics.com/uploads/default/original/1X/59ef7707b39c97fb784a670845f233e7aeebd472.jpeg)

rviz, there is warning in TF

 ![IMG_20191123_110722](https://forum.ubiquityrobotics.com/uploads/default/original/1X/588ac6933517e020967322db88a4cbd71a94ee61.jpeg)

Could you please help me understand what could be the issue? Could be some broken for MCB? Appreciate!

---

<div class="post-metadata">

**Author:** ![nelson](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://forum.ubiquityrobotics.com/u/nelson)\
**Post date:** [November 23, 2019, 4:34am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/2 "2019-11-23T04:34:56Z")

</div>

I take off the servo wires from P702 pins, then the robot could move. Thank god the MCB is not broken.  
Could you please help me why this happen? Anything I need to do to use those pin on sonar board? Could this because the sonar board is broken? Thank you!

I used below pins for 3 servos:  
servo #1:  
Pin 4 for power  
Pin 6 for ground  
Pin 7 for PWM

servo #2:  
Pin 2 for power  
Pin 9 for ground  
Pin 11 for PWM

servo #3:  
Pin 1 for power  
Pin 14 for ground  
Pin 12 for PWM

 ![servo%20pin](https://forum.ubiquityrobotics.com/uploads/default/original/1X/3849c46644485361a79042af2b7d528b5fb29e65.jpeg)

Also could you please confirm if the pin # I draw is correct?

 ![Sonar%20board%20pins](https://forum.ubiquityrobotics.com/uploads/default/original/1X/f614e197afce90a419726fb4b63e178e03e7c5cf.jpeg)

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [November 23, 2019, 7:27am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/3 "2019-11-23T07:27:45Z")

</div>

I will inspect your picture next but I want to let you know we have just greatly improved explaining how users can use GPIO pins that we are not using OR how users without a Sonar board can disable the sonar board and then have many lines they can use.

Please look at this page: [https://learn.ubiquityrobotics.com/doing\_more/GPIO\_lines.html](https://learn.ubiquityrobotics.com/doing_more/GPIO_lines.html)

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [November 23, 2019, 7:35am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/4 "2019-11-23T07:35:39Z")

</div>

I next would like to say that **ribbon cables and connectors are very very easy to get mixed up** in using. My #1 advice for any project where custom ribbon cables is used is to shutdown the magni and **disconnect the main battery cable. Only then plug in your custom ribbon cable and use a continuity meter (or a meter with a ‘buzz’ feature) to verify that the ground pins you think should be present on the other side of the ribbon cable are in fact EXACTLY where you expect.** Besides pin 1 on the wrong end (almost always a disaster) It is also very common that the even pins get swapped for the odd pins and this too is a disaster. The 50-pin connector must be treated very carefully because it exposes directly raspberry Pi power pin for 3.3V and ALL GPIO and other pins.

The most common failures we see to the Raspberry Pi are the destruction of the raspberry Pi 3.3V power and the destruction of the serial transmit or receiver drivers on the MCB.

Our next version board does things to limit the above two issues but that does not help you right now so sorry about that.

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [November 23, 2019, 7:38am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/5 "2019-11-23T07:38:28Z")

</div>

Next I want to point to another very good page on our Learn pages that shows in detail the 50-pin ribbon cable and proper connection. This also was updated maybe 3 or 4 weeks ago and for your case I strongly suggest you also refer to this page: [https://learn.ubiquityrobotics.com/camera\_sensors](https://learn.ubiquityrobotics.com/camera_sensors)

---

<div class="post-metadata">

**Author:** ![nelson](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://forum.ubiquityrobotics.com/u/nelson)\
**Post date:** [November 23, 2019, 10:42am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/6 "2019-11-23T10:42:02Z")

</div>

Thank you @mjstn2011 a lot!I’ll be careful on that.  
I do checked the articles you mentioned and also checked the Magni\_MCB\_Pinout.pdf, there was description of that the first 40 pins of 50 pins are same as Raspi GPIO.But I’m still not clear on which side of the sonar board 50pins is the first 40 pins.Could you please Help to inspect the pictures I attached and let me exactly which is the pin 1 which is pin 2.Appreciate for that!

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [November 23, 2019, 6:41pm UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/7 "2019-11-23T18:41:47Z")

</div>

Pin one on P702 is to the left and on the lower row of pins as you look at the Magni from the front.  
One of the things we are doing on rev 5.2 MCB is having a larger white dot that is not under the connector. You can see pin 1 on P702 will be the only pin with a square pad on pin 1 hole.

Please also see our detailed pinout document that shows what I just explained above: [https://learn.ubiquityrobotics.com/Magni\_MCB\_pinout.pdf](https://learn.ubiquityrobotics.com/Magni_MCB_pinout.pdf)

Even if you look at all the pins and so on please please get a meter that will buzz when you touch the probes together and make sure the pins you think are ground get connected by testing with the buzz.

Unless you are extremely familiear with dual row ribbon cable connectors it is very very easy to make a mistake because P701 has no ‘key’ because it is an odd 20mm high dual row connector it is designed to have the raspberry Pi plug in and does not have a key to ensure proper ribbon cable use on that end.

Also the rev 5.2 boards will have extra electronic circuit breaker to protect the high current battery connection going in the P702 connector at 24V as another improvement.

I am telling you these improvements so you realize we are always trying to learn from field problems and make improvements so future product shipments are better.

---

<div class="post-metadata">

**Author:** ![rjfranco](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@rjfranco](https://forum.ubiquityrobotics.com/u/rjfranco)\
**Post date:** [April 17, 2020, 6:39am UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/8 "2020-04-17T06:39:07Z")

</div>

I try running roslaunch magni\_demos simple\_navigation.launch but it kept doing what the image shows for several hours. Does anyone know what might be the problem?

 ![roslauch](https://forum.ubiquityrobotics.com/uploads/default/original/1X/fc619d26a78c4af18ec4a9b73a67784e96c78da6.png)

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [April 17, 2020, 5:07pm UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/9 "2020-04-17T17:07:52Z")

</div>

@rjfranco Thanks for your question, but can you please re-post in a new thread instead of taking over a new thread.

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [April 26, 2020, 10:38pm UTC](https://forum.ubiquityrobotics.com/t/help-anything-is-broken/398/10 "2020-04-26T22:38:08Z")

</div>

@rjfranco Also you may take up this conversation with an email to [support@ubiquityrobotics.com](mailto:support@ubiquityrobotics.com) so we can learn more and help in that way. Thanks.
