![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, just wanted to get some concepts right before i proceed. I am planning on using a PIC microcontroller. When the receiver receives the RF signal, do i feed the received signal to a decoder IC before sending it to the PIC or can the PIC receive the RF signal straight away to decode it to digital form? Many thanks. | |
| |
| | (permalink) |
| microchip makes a line of RFPICs... perhaps those would work well for you... otherwise i would say definitely use a decoder... even if the PIC could handle the decoding (depending on the RF frequency that will probably not be feasible/possible) it would be better to let the pic handle other things, rather than wasting time with that when a separate IC could handle it | |
| |
| | (permalink) |
| Hi, i realise the output of the ADC for PIC controllers is 10 bits. The encoder i plan to use HT12E, is only 4 bit data. Is there anyway to convert the ADC output to 4 bits instead? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Thanks for replying. I am trying to establish an RF link with the PIC to control a car using a PC parallel port. I planned to do it this way: The 4 inputs from the Parallel port represent (forward, left, right, brake) The PIC listens for signals from the parallel port at its I/O pins. If a 1 0 0 0 is sent, then the PIC will know it is going forward. The PC should also be able to monitor the condition of the car battery and temperature. Unfortunately, seems like there is only 8 data pins for the pc parallel port. So the other 4 pins is used for monitoring purposes. Unfortunately...again, the ADC for the PIC is 10 bits, so i am having trouble sending the info back in 4 bits. Any advice? | |
| |
| | (permalink) | |
| Quote:
At the PC end the PC can feed the transceiver directly (with software running in the PC), at the remote end a PIC can do everything the Holtek chips do at that end. The Holtek IC's aren't designed for this use at all, but for simple ON/OFF remote control applications - so they are a very poor choice. The PIC having a 10bit A2D is irrelevent really, if you want to use it as a four bit A2D simply use the top four bits!. | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | ||
| Quote:
The entire idea with the Holtek remote encoders is seriously flawed. | |||
| |