Magazine Mar2010 vol.4 [2 wheeled balancing robot]

Anything related to the ROBOT. Head to Toe Magazine.

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

Postby choyhong88 » Fri Nov 25, 2011 2:31 am

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)?
choyhong88
Novice
 
Posts: 18
Joined: Thu Nov 03, 2011 1:05 am

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

Postby kl84 » Mon Nov 28, 2011 9:16 pm

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.
User avatar
kl84
Amateur
 
Posts: 166
Joined: Thu Jul 08, 2010 12:14 pm

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

Postby choyhong88 » Wed Nov 30, 2011 7:05 pm

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? :?
choyhong88
Novice
 
Posts: 18
Joined: Thu Nov 03, 2011 1:05 am

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

Postby robosang » Wed Nov 30, 2011 9:16 pm

Now, I understand why..... :mrgreen:
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

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

Postby choyhong88 » Wed Nov 30, 2011 10:10 pm

robosang WROTE:Now, I understand why..... :mrgreen:


Why? Please explain...
choyhong88
Novice
 
Posts: 18
Joined: Thu Nov 03, 2011 1:05 am

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

Postby ycwong » Fri Dec 02, 2011 12:55 pm

Hi!

Since the MCU already built in uart, you just need the 433Mhz receiver connect to the uart RX pin.
ycwong
Freshie
 
Posts: 4
Joined: Thu Oct 20, 2011 1:29 pm

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

Postby choyhong88 » Fri Dec 02, 2011 10:58 pm

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. :?
choyhong88
Novice
 
Posts: 18
Joined: Thu Nov 03, 2011 1:05 am

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

Postby ZaM » Sat Dec 03, 2011 1:00 am

laptop---->usb------->UC00A-------->UART-----------> RF transmitter
so, you need UC00A from cytron
ZaM
Moderator
 
Posts: 78
Joined: Tue Nov 23, 2010 4:16 pm

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

Postby choyhong88 » Sat Dec 03, 2011 11:33 am

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?
choyhong88
Novice
 
Posts: 18
Joined: Thu Nov 03, 2011 1:05 am

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

Postby ZaM » Sat Dec 03, 2011 11:47 am

yup, its seen like that
ZaM
Moderator
 
Posts: 78
Joined: Tue Nov 23, 2010 4:16 pm

PreviousNext

Return to ROBOT. Head to Toe Magazine

Who is online

Users browsing this forum: No registered users and 2 guests

cron