Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd September 2007, 08:34 PM   (permalink)
Default RF data communication & Decoder/Encoder

Hello,

I am working on my graduation project which will be using RF transmitter and receiver to move data between circuits.

What i want to do is use the transmitter to send the robot directions like Up,Down,Left,Right each on differant channel or in the same channel but as a binary number, eg: 1010 or 1001
as MSB is the Up and LSB is Right.

My question is when i want to send a group of bits during 20ms using the transmitter/receiver pair, How do i code the microcontroller to save the bits i receive within a certain amount of time in an array so that i can later decode them using code and detect the output pins that should be set to high and the ones set to low?

ex: if i send 1001 i will want to receiving end to move the robot forward and right. How can i receive the 1001 bits and interpret them to know the exact pins that should get the output. I know it is more of a job for the Encoder/Decoder but i also know that it can be done using Microcontroller.

Please guide me to the corret way of doing this.

Regards,
Rakan
rakan is offline  
Old 24th September 2007, 04:40 AM   (permalink)
Default

http://winpicprog.co.uk/pic_tutorial12.htm
__________________
Superman returns..
bananasiong is offline  
Old 24th September 2007, 06:49 AM   (permalink)
Smile Hi Rakan...

you dont need to do those things.. encoding and decoding...

there are already chips available to do this..

all you have is to simply interface.. which is very easy..

[b]Follow the link given by ' Banana Siong ' in the above post...[\b]

it is a very good tutorial...

Regards,

Simran..
__________________
Simran..
8051 Specialist..

Last edited by simrantogether; 24th September 2007 at 06:55 AM.
simrantogether is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Capturing serial data using PIC24 nick2412 Micro Controllers 3 12th March 2007 10:32 PM
Need some help with a code provided by ATMEL ikalogic Micro Controllers 1 23rd January 2007 03:46 PM
Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) smilen Micro Controllers 15 21st November 2005 10:23 AM
Just Joined, Got some bugs I can't find. Thedoctorisin136 Micro Controllers 0 1st March 2005 07:07 PM
An error in pic16f84a, why? Zener_Diode Micro Controllers 6 11th April 2004 03:55 AM



All times are GMT. The time now is 08:52 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker