![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| post deleted
__________________ life\'s a bitch then u marry one. Last edited by cyprio7; 10th May 2008 at 01:00 AM. | |
| |
| | (permalink) | |
| Quote:
If it's running on a 16F628, then it's 4MHz, because it uses the internal oscillator. Can't help you on the CRC though, I didn't write it, I just 'borrowed' the code and modified it for my own uses. | ||
| |
| | (permalink) |
| Ok that makes sense
__________________ life\'s a bitch then u marry one. Last edited by cyprio7; 10th May 2008 at 01:04 AM. | |
| |
| | (permalink) |
| Hi, I don't think the RF module can handle such high data rate. Some cheaper RF module that I've used has the data rate of only 3000 bps.
__________________ Superman returns.. | |
| |
| | (permalink) |
| Exactly, it's a question of what the RF link will handle - but the important thing to remember is that the receive routine isn't looking for specific bit lengths, it's looking for transitions from 0 to 1, and from 1 to 0. | |
| |
| | (permalink) |
| Again, they come from the original source, but you simply comment out the ones you don't want - the inverse ones are commented out above. | |
| |
| | (permalink) |
| Try reading the MPASM/MPLAB helpfile!, in particular conditional assembly, with ifndef, else and endif. | |
| |
| | (permalink) | |
| Quote:
will do
__________________ life\'s a bitch then u marry one. | ||
| |
| | (permalink) |
| It's not transmitting at any specific baud rate, and you are correct that Manchester coding at least halves the effective baud rate. The routines 'as is' should work fine, try them and see. Bear in mind, you're not sending continuous data, but packets of data. | |
| |
| | (permalink) |
| Like I said, try it and see, it should work fine - and forget baud rate, it doesn't apply - that's the whole point of Manchester. | |
| |
| | (permalink) |
| The transmitter just sends a plain carrier, so doesn't cause any problems if there's no data being sent. Turning the transmitter OFF makes it worse, as the receiver is flooded by noise then, but the Manchester routines ignore it. Just send the data as packets, separated by enough time to send all the data out as RS232. | |
| |
| | (permalink) |
| If you're wanting duplex operation, I would suggest you get a transceiver module, rather than separate receiver and transmitter - this will have the required switching between the two. It's not just a matter of connecting them together, you would upset the loading on both - the usual method is to use PIN diode switches, which select the correct connection automatically. | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| I've only used the ones in my tutorial, I can only suggest you check the datasheets and see what they say. | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Nigel's tutorial 5.2 (IR control) | atferrari | Micro Controllers | 4 | 27th July 2005 11:03 AM |
| Question about bank selection, 16F628A, Nigel's tutorial | kcn | Micro Controllers | 4 | 13th March 2005 07:23 AM |
| Nigel's IR Tutorial 5 | Beefer3 | Micro Controllers | 1 | 2nd September 2004 12:32 PM |
| Nigel's IR Tutorial | Beefer3 | Micro Controllers | 3 | 16th March 2004 06:52 AM |
| Nigel's IR Tutorial | Gandledorf | Micro Controllers | 1 | 4th February 2004 10:39 PM |