Shop OBEX P1 Docs P2 Docs Learn Events
Tx/Rx startup help — Parallax Forums

Tx/Rx startup help

electrojermelectrojerm Posts: 2
edited 2005-03-20 21:37 in BASIC Stamp
My friend and I are working on a remote controlled car project. For the remote control aspect, we have chosen the 418 MHz Receiver and Transmitter pair from Laipac Technology, Inc. The specific Rx/Tx modules are the TLP-418 and RLP-418.



In the documentation provided by Laipac, there are some sample circuits given which contain encoders (Tx end) and decoders/uC (Rx end). The document may be viewed here: http://www.laipac.com/Downloads/Easy/TLPRLP434.pdf



Is it possible to transmit/recieve data without using the encoder/decoder & simply the BS2?



If so, what is the best way to go about programming for the Tx/Rx using PBASIC? On the RC end will be speed and direction controls and on the car end will be the servo & h-bridge receiving commands through logic circuitry.



Unfortunately, I have no course experience with the decoder/encoder phenomenon, so I'm a bit novice in this aspect of the project.



Thanks for any help,


electrojerm

Post Edited (electrojerm) : 12/19/2009 6:54:08 PM GMT

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-03-20 20:41
    I cannot directly give you a yes or no, but analysing the pdf's of the HT12D (http://www.holtek.com/pdf/consumer/2_12dv110.pdf)·and HT12E (http://www.holtek.com/pdf/consumer/2_12ev110.pdf), I do not believe the stamp can replicate the true function of those chips since it has error detection and oversampling and such. However this does not mean the stamp cannot be used directly with the TX/RX pair you've specified, using·pulse streching (1 bit via stamp takes same amount of time as X bits in encoder/decoder pair), oversampling and clock syncing used in asynchronous transmissions is likely·capable·using a stamp.

    There is one point of contention though, if you are using your reciever stamp to control the car as well, due to the single threaded nature of the stamp, your likely to miss communications when your performing functions to control the car.

    Since Jameco has both the HT12D and HT12E for $1.69 apeice (http://www.jameco.com/webapp/wcs/stores/servlet/CategoryDisplay?storeId=10001&catalogId=10001&langId=-1&categoryId=11136) I would just buy them and save yourself the trouble that is sure to ensue if you try to control these RF modules directly (especially on the receiver end).
  • electrojermelectrojerm Posts: 2
    edited 2005-03-20 20:53
    Hi Paul,

    You are correct. Trying to replicate the functions of a decoder/encoder would be a project in and of itself!

    Thanks for your help!

    Post Edited (electrojerm) : 12/19/2009 6:53:07 PM GMT
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-03-20 21:37
    I think you probably will not be capable of using the Holteks for 15 input/output like you would want. For what I can figure out, the encoder would permit you to set the address and data to whatever you want, but the receiver has the addresses as input to check against the incoming data to see if that reciever is the one that is being addressed. You may be able to find a reciever that treats all the bits as data for further processing by a stamp (permitting you to specify the number of address bits) I leave looking for such a device up to you.

    As per your utrasonic avoidance system, I too had a similiar idea, roughly around the time I was attending USF as well. I saw about six month later Japanese car manufacturers provide it as an option for some of thier domestically sold vehicles (this was in '90-'91).

    Post Edited (Paul Baker) : 3/20/2005 10:07:01 PM GMT
Sign In or Register to comment.