Bad day – smoking servo

August 31, 2015 Leave a comment

During accelerator sensor testing one of our servos gave up.

Symptoms:

  • experiment started without any load
  • all servos suddenly stopped
  • BEC was a bit hot
  • power bus was also hot where main power cable was connected
  • one servo moved slowly to end position (against control signal -> lost reference voltage -> overloaded power supply -> high current -> short-circuit?)
  • the moving servo started to produce smoke

smoking servo

Summary autopsy report:

Assumption : internal short-circuit because of unknown reason

Investigation team: Robot Builder Team

Opening the body: mechanical parts seems to be ok.

gears ok

Checking vital organs: one IC has serious injuries.

electronics not ok

Further investigation is not required. Internal injury located on leg level. Clearly  visible short-circuit. Original assumption confirmed.

ic failed

End of autopsy report.

Robot leg speed test

August 16, 2015 Leave a comment

Just a quick check on speed. In my opinion these new servos are a bit faster than the previous ones we used.

Offsets are ok now so we can move on to test standing and walking, My only issue is that I use now a single BEC and this could be easily overloaded. The best would be to parallelly connect at least 2 of them using few diodes against reverse current.

Categories: Robot HW and SW Tags: , , , ,

Robot servo ranges vs leg internal collision

August 15, 2015 Leave a comment

I developed a simple form with 12 seekbars where each bar is assigned to a servo. This tool can help me to test any leg orientation and check possible internal leg collisions.

Android application GUI for 12 servo positioning:

android servobar activity

My camera holder built in few mins :)

camera holder

Servo offset config with mobile

July 5, 2015 Leave a comment

Normally this task is very boring but finally I found the most comfortable way to do it. With a simple Android application I could config all the 12 servos (big white value is the uSec control value, yellow shows the controlled servo). Using bluetooth connection this was almost funny! :)

This video shows only the capabilities of the application. The real task is to find the absolute precise servo control value when it’s in 90 degrees middle position. Then this value can be used for real positioning. Remember, 1500 uSec is very far from real center position…

New robot with new servo

July 5, 2015 Leave a comment

In all the previous cases I wanted to have 5V used globally by any unit (Arduino, servos, sensors, etc.) Unfortunately I don’t remember the reason (simplicity maybe?) but in our new model (cellbot) almost every unit has its own supply voltage. Arduino powered by a simple 9V battery, normal mobile/cell phone with built-in Li-Ion 2370 mAh battery, servos require 7.2V.

For prototype development I use my good old Chieftech PSU and its 12V output. Question: How do you connect ATX terminal to a servo via an UBEC? With a little luck I found the magic part :) This was born to do the job! You can easily connect the servo cable without soldering and it’s simply compatible with the ATX terminal in terms of size.

Corona DS339HV servo

Corona DS339HV Digital Metal Gear Servo 5.1kg/ 32g/ 0.13sec

UBEC 7.2V ATX terminal to JST

 

Now I have 7.2V and I can start the servo offset project… most boring task ever! :D

Categories: Robot HW and SW Tags: , , , ,

Good News! We’re back with a new robot!

June 24, 2015 Leave a comment

This time we selected black base color and developed a middle size body. I hope the below pictures can give you some sort of “sight”. I know the black background was not the best choice but soon tons of pictures will be uploaded. Giving name to this black monster is the real task :)

3rd robot

Comparison and historical overview:Robots side view Robots top view

Arduino + Bluetooth + Android + Servo

August 10, 2014 2 comments

Just to have a complete test in terms of communication I would have liked to know more about Arduino and its compatible bluetooth module. The one I found:

Arduino Compatible Bluetooth Serial Port Module

Documentation I used to start:

BT board pins

Having all these details I started soldering the minimum required 4 legs only :) TX/RX/Vcc/GND:

I did not know anything about these type of castellated holes so I just added a bit more solder and prepared the wires:

step 1 prepared

I could solder the wires to the edge of the board with a simple touch (1-2 secs) of soldering iron:

step 2 soldered

and connect to Arduino: Bluetooth board Vcc to Arduino 3.3V, GND to GND, RX to Serial 1 TX and TX to Serial 1 RX.

step 3 connected

This was the hardware part. When it was turned on my PC could discover as a “HC-06” device. This little amount of info went immediately to Google search. HC-06 specification found in few mins. Let me summarize what I really needed to complete the test:

  • This little board starts in 9600 baud rate mode
  • and it is in AT command mode before paired state
  • wait minimum 1 sec after each AT command
  • password for pairing is 1234

Based on it I simply sent two AT commands (using Serial1.print()) to change baud rate from 9600 to 115200:

“AT” to test if the answer is OK and we are really talking :) and

“AT+BAUD8” to change baud rate.

(Not used commands: change the password with AT+PINxxxx or the device name with AT+NAMExxxx but these are not important now.)

This is a one time action and could be implemented in Arduino setup() function (the loop() can be empty this time):

Serial1.begin(9600);
Serial1.print(“AT”);
delay(2000);
while(Serial1.peek() != -1)
{
Serial.print((char)Serial1.read());
delay(1);
}
Serial.println();
Serial1.print(“AT+BAUD8”);
delay(2000);
while(Serial1.peek() != -1)
{
Serial.print((char)Serial1.read());
delay(1);
}
Serial.println();

In serial monitor I got these answers from the device as it is specified in the docs:

OK
OK115200

When this was completed I could change  Serial1.begin(9600); to  Serial1.begin(115200); and upload the new sketch leaving the same AT command related code :) Now I could pair the device and add real serial communication in Arduino loop().

Let’s check the result!

This could work as an alternative Arduino – Android connection replacing the USB cable and of course I should add a 9V battery too but I am still hesitating. Comparing them on mass level:

USB cable = 43g    vs    9V battery + cable + bluetooth device = 50g

Follow

Get every new post delivered to your Inbox.

Join 26 other followers