Saturday, April 23, 2011

Summer break started

Finally done all exams, it's been a very busy year.

Just flew back home to London and I brought the robot back with me.

As soon as I buy some solder I can start working on it again.

Some major modification is due since I plan to remove the Atom micro processor and attach a bluetooth wireless control via laptop.

A lot of money gone down the drain, but lesson learned.

Friday, September 24, 2010

Bluetooth connection

Just purchased Bluetooth module for my robot. I will have much greater computing power from my laptop compared to 16Mhz crystal 32kb ram Basic Atom 28 Pro. I will have access to C++ programming environment instead of Basic.

The big goal is to apply fuzzy logic control and neural network into the walking algorithm, and eventually a camera feedback for terrain recognition.

Wednesday, March 10, 2010

Bottleneck

SSC-32 => PWM (500uS to 2500uS) => servo
Where 500uS to 2500uS determines the position of the servo from 0 degrees to 180 degrees.
Query Pulse command will query the pulse width from the servo.

However there is a problem.

Query Pulse command is absolutely useless since servos will not report back with the real time position.
By querying the pulse from the servos through SSC-32 servo controller, the only information I will receive is the demanded position the servo controller is telling the servo to be at; therefore no feedback, and no effective means of error correction.

I might be able to remove the servo casing and have a direct feedback from the potentiometer, but such approach might interfere with the rigidity or even the whole assembly mechanism of the robot.

We'll see.

Thursday, March 4, 2010

Inverse Kinematic

Measurements are taken from the base of the rotation from joint to joint.

3.6cm (height from the ground)
2.8cm
5.65cm
11.7cm

Wednesday, March 3, 2010

Cleaned up cables and slight modification done to the legs

[ 7.5m Cable wrapper $2.50 Shipping $4.00 ]

Must correct servo offsets again.

Tuesday, February 23, 2010

X-Pod Update


Slowly making progress, I have been kept busy with some stuff lately.
Struggled with timer interrupts for a while because it kept interrupting serial communication, making the robot twitch every 3~5 seconds. (although it was sort of entertaining to watch). I am trying various approaches in terms of programming.

It is slightly disappointing that the servos I have do not provide direct feedbacks from its integrated potentiometers. I have to query their position using a command in software and there is a 50uS to 5ms delay before its position is reported back. Maybe digital ones will have direct position feedback? But they are very costly though.



Still needs a lot of work.

Sunday, February 21, 2010

Servo offsets have been adjusted in software, created initial sequence movements for X-Pod and struggled with timer interrupts.

Oh, the little transformer I was using for battery charging circuit is dead but found a better one in one of my box of random electronic goods. The old one was only rated for 400mA max but the new one outputs 1.5A. Much better.

I will post some pictures and videos soon.

Tuesday, February 16, 2010

X-Pod [ Here we go ]



Still need to clean up the wiring, and adjust servo offsets.
Notice I was moving 1 servo with the PS2 controller; that was setup from previous test run, and got kind of carried over.
I should be ready for some programming very soon.


[ X-Pod ]

Monday, February 15, 2010

Accelerometer

I am trying to find a way to change the reference voltage for A/D so that I will be able to get better resolution from 3 axis accelerometer, which outputs 1.33v ~ 1.99v each axis.

I was reading Basic Atom (not pro) manual and I noticed that it had the capability of setting AX3 pin as a voltage reference pin by using the parameter AD_RPOS... But I don't think BAP28 (Basic Atom Pro 28) has that capability because there is absolutely no mention of such feature in BAP28 manual.

I found this
http://forums.basicmicro.net/viewtopic.php?f=486&t=8931&sid=d52c99a731e39aa83550091fbadd1c76

which sugguests a whole lot of nothing.
No Vref? Very disappointed, especially since I could've potentially doubled up the resolution of the sensor, which is a big deal!

I thought of a possible solution... I could build an amplifying circuit using Op-Amp, and just boost the 3 analog signal coming from the accelerometer... I'll leave this option as my last resort. I will probably just go with what I have now and see if I have any stability issue with auto-balancing.

Friday, February 12, 2010

Ping Ultra Sonic Sensor Distant Measurement

Remote Control

Walker Project [ Still Under Construction ]


I came to my senses and removed the feet on both sides. Now none of HS-422s are being used, and it's probably better that way. I might add a servo to the PING sensor for panning capability, but that might interfere(mechanically) with the electronics which haven't been mounted yet.

Hardware Connection (Testing)


Thursday, February 11, 2010

Walker Project [ Under Construction ]

This is it for today, will continue tomorrow!


Monday, February 8, 2010

Progress

[ New servos have arrived! HS-645MG ]

+ 10 of HS-422 ... But only 2 of them are going to be used for the time being.


[ What a difference ]

The one on the top is HS-645MG, and the one below is HS-422. There's a huge difference in torque as well.

[ This is the new design, although it's missing some parts ]

I am expecting another shipment tomorrow. Pretty soon I will be doing some intense programming!

Tuesday, February 2, 2010

UC232R-10 "CHIPI" cable, manufactured by FTDI

This is the cable I purchased from Digi-Key.

Works flawlessly at the maximum baud rate of 115.2K
Didn't even have to download a driver for it either. I plugged it in, and Windows 7 installed the driver for me.

I am very happy with the purchase.

Highly recommended!

Monday, February 1, 2010

Major turn over

I received a brand new credit card last Friday and because my order was still pending, my entire shipment from Robotshop got cancelled. I did receive my cable this morning from Digi-Key though.
On the side note, I have been doing some researches on the internet for my project and I might use this opportunity and take a different approach in terms of mechanical design.

Friday, January 29, 2010

Brand new cable is on the way

[ Purchased from DIGI-Key ]

I went out (on the internet) and bought myself a new shiny cable from digi-key.
According to Lynxmotion, this is the fastest and most reliable USB to Serial Converter Cable money can buy!

Thursday, January 28, 2010

Must be the cable

I performed continuity check on the 9 pin connector of SSC-32. All green.
The cable, by the process of elimination, must be the reason why I was having a connection problem. (the driver software itself was a bit suspect to begin with)
Eventually, I will need a serial  cable for my microcontroller... So I guess I better go out and buy one :-)

Tuesday, January 26, 2010

Connectivity issue is still there

Even with the use of my 6 cell battery, the issue did not disappear. I had to put pressure on the connector in a certain way to get valid communication between SSC-32 and my laptop. As I've previously suspected, there might be a broken solder joint or broken wire where the connection is made; whether it's the cable or my SSC-32, I will find out when my microcontroller gets shipped to me.

There is a modified parts list to be posted once RobotShop gets their act together; seriously, they need to read emails from customers more thoroughly!