Page 2 of 4

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Fri Nov 25, 2011 2:31 am
by choyhong88
May i know what is the "SW" use for and what it function as?

instead of the dsPIC30F2012, i am using dsPIC30F4011 as the controller for the 2 wheeled balancing robot.
For dsPIC30F2012, the "SW" is connected to pin 16 ( SCK1/INT0/RF6). So, for dsPIC30F4011, the "SW" should be connected to which pin? Is it pin 17 (FLTA/INT0/RE8) or pin 24 (SCK1/RF6)?

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Mon Nov 28, 2011 9:16 pm
by kl84
choyhong88 WROTE:May i know what is the "SW" use for and what it function as?

I guess it functions as a "SW", or an input :roll: Since there's no other switch in the circuit diagram, it should be the start switch.

choyhong88 WROTE:instead of the dsPIC30F2012, i am using dsPIC30F4011 as the controller for the 2 wheeled balancing robot.
For dsPIC30F2012, the "SW" is connected to pin 16 ( SCK1/INT0/RF6). So, for dsPIC30F4011, the "SW" should be connected to which pin? Is it pin 17 (FLTA/INT0/RE8) or pin 24 (SCK1/RF6)?

Since it's an input, just connect it to any I/O pin will do. You will have to initiate that pin to input later in your code.

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Wed Nov 30, 2011 7:05 pm
by choyhong88
Is there acually a starter kit for the microcontroller available, as i browse the cytron website, the nearest is 40 Pins dsPIC Start-Up Kit but the voltage is regulated to 5V not 3.3V. So, this cytron balancing robot is not built from starterkit, right?
This implies the robot must be contructed from "raw component", is it? :shock:


how to built the transmitter(connected to computer) as seen in the youtube for this robot? What do i need to construct the transmitter? So far, i have USB to UART converter V2011 (product code:UC00B) and RF Transmitter 433MHz (Product Code: RF-RX-433). Then, what else do i need? :?

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Wed Nov 30, 2011 9:16 pm
by robosang
Now, I understand why..... :mrgreen:

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Wed Nov 30, 2011 10:10 pm
by choyhong88
robosang WROTE:Now, I understand why..... :mrgreen:


Why? Please explain...

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Fri Dec 02, 2011 12:55 pm
by ycwong
Hi!

Since the MCU already built in uart, you just need the 433Mhz receiver connect to the uart RX pin.

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Fri Dec 02, 2011 10:58 pm
by choyhong88
ycwong WROTE:Hi!

Since the MCU already built in uart, you just need the 433Mhz receiver connect to the uart RX pin.


yes, i know the receiver part is attached to the robot. But, my question is on the transmitter part where it is connected to the computer. The schematic for the transmitter is not included in the download file. So now, i currently have no clue on that transmitter. :?

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Sat Dec 03, 2011 1:00 am
by ZaM
laptop---->usb------->UC00A-------->UART-----------> RF transmitter
so, you need UC00A from cytron

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Sat Dec 03, 2011 11:33 am
by choyhong88
ZaM WROTE:laptop---->usb------->UC00A-------->UART-----------> RF transmitter
so, you need UC00A from cytron


no need any other circuit? just directly connect USB to UART Converter (Product Code : UC00A) to RF transmitter 433MHz?

Re: Magazine Mar2010 vol.4 [2 wheeled balancing robot]

PostPosted: Sat Dec 03, 2011 11:47 am
by ZaM
yup, its seen like that