Cytron Balancing Robot

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Cytron Balancing Robot

Postby redips_id » Thu Apr 07, 2011 5:22 pm

Hi Cytron,

I have a picture and coding about Cytron balancing robot and decided to do it. The coding is too tough to me to understand, :( however I would like to start from hardware first. I see 2 units of LMC6064 (quad precision ampifier) used in the board, I wonder it is used to amplify sensors or motor voltage? Since your coding read the motor voltage left and right (left 1, left 2, right 1, right 2). I guess it is used for amplifying motor signal. If that true, what kind of connection is used? Whether [voltage follower-non inverting] or [non inverting-voltage follower]? *i'm totally guess

Hope Cytron can share it :)
Since the author for this project is Koh Wai Weng, maybe you can share with me and all the forum guys :D
We will appreciate it..
Request for complete solution for FYP? Why don't request for graduation certificate?
redips_id
Discoverer
 
Posts: 82
Joined: Wed Jan 20, 2010 6:23 pm

Re: Cytron Balancing Robot

Postby waiweng83 » Fri Apr 08, 2011 11:49 am

Hi, the LMC6064 is used as voltage buffer (AKA voltage follower) for the gyro, accelerometer and back EMF from the motor. This allows shorter sample and hold time of the ADC of the MCU. The reading of motor voltage is to read the back emf from the motor in order to estimate the motor speed.

BTW, I'm not Koh Wai Weng. :mrgreen:
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 208
Joined: Wed Apr 15, 2009 2:17 pm

Re: Cytron Balancing Robot

Postby redips_id » Fri Apr 08, 2011 11:54 am

Oh really, I'm sorry, huhu..
Thanks for the info.. :)
Request for complete solution for FYP? Why don't request for graduation certificate?
redips_id
Discoverer
 
Posts: 82
Joined: Wed Jan 20, 2010 6:23 pm

Re: Cytron Balancing Robot

Postby redips_id » Fri Apr 08, 2011 12:30 pm

As I know the voltage buffer circuit don't have any resistor, what I see there have 4 set of connection involve with resistor, it is non-inverting voltage amplifier?
Request for complete solution for FYP? Why don't request for graduation certificate?
redips_id
Discoverer
 
Posts: 82
Joined: Wed Jan 20, 2010 6:23 pm

Re: Cytron Balancing Robot

Postby waiweng83 » Fri Apr 08, 2011 6:04 pm

The resistor is just a voltage divider to step down the motor back emf voltage so that it's between 0 - 5V ;)
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 208
Joined: Wed Apr 15, 2009 2:17 pm

Re: Cytron Balancing Robot

Postby redips_id » Wed Apr 13, 2011 3:38 pm

The Vref for ADC operation is refer to AVdd and Avss, can I know the AVdd is connect to +5V or 3.3V? refer to the 'system.h', the GYRO_SENSITIVITY is set at 4.095 = 3.3mV (I refer to Gyro datasheet), so AVdd = 3.3V right?
Request for complete solution for FYP? Why don't request for graduation certificate?
redips_id
Discoverer
 
Posts: 82
Joined: Wed Jan 20, 2010 6:23 pm

Re: Cytron Balancing Robot

Postby waiweng83 » Thu Apr 14, 2011 9:23 am

Good observation~! To be frank, I do not remember already :P
Anyway, the AVDD must be same voltage with VDD, so I think the whole system should be running at 3V3.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 208
Joined: Wed Apr 15, 2009 2:17 pm

Re: Cytron Balancing Robot

Postby redips_id » Fri Apr 15, 2011 10:00 am

Thanks, now I start get a big view :)

However I still have a question, hehe, about LMC6064 (Quad Precision Amp), if I replaced with LT1014 (also Quad Precision Amp) from Cytron, it will give the same value?
Request for complete solution for FYP? Why don't request for graduation certificate?
redips_id
Discoverer
 
Posts: 82
Joined: Wed Jan 20, 2010 6:23 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 4 guests