![]() | ![]() | ![]() |
| | |||||||
| 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) |
| hello recently i make a simple project with FSK module for transmission data from PC to LCD. if you look at this picture you understand me. in this project i have a problem. when i connecting enable pin (Receiver) for input data my LCD getting unwanted data from air and showing on my LCD very fast and i cant see correct data transmitted.
__________________ Take Locally Start Globally | |
| |
| | (permalink) |
| I think you have problem setting up the serial port parameters. Is the receiver supposed to produce data continuously? Are you correctly setting the cursor address on the LCD after displaying a certain amount of data?
__________________ We never have time to do it right; but we always have time to do it over. | |
| |
| | (permalink) |
| Maybe the receiver have an open collector output as well. Is there any protocol in use now? Direct connection work (without RF modules)? Any link/datasheet for those modules?
__________________ Steve | |
| |
| | (permalink) |
| You can't just send plain RS232 over a radio link, you need Manchester coding or similar - you can buy (or create) micro-controllers to do this for you, or buy radio modules with them built-in. Check here for examples http://www.rfsolutions.co.uk/acatalo...ceiver_IC.html | |
| |
| | (permalink) |
| this is my program from receiver(PIC16F84A) include"modedefs.bas" lcdout 254,1 B0 var word I VAR BYTE H var byte high portB.2 main: for I=0 to 15 serin portB.0,T2400,B0 pause 100 lcdout B0 next I lcdout 254,$C0 for H=0 to 15 serin portB.0,T2400,B0 pause 100 lcdout B0 next H lcdout 254,1 lcdout 254,128 goto main direct connection work and you can see data sheet in this attachment even disconnecting transmitter getting noise and show On LCD for example if i sending double A character "AA" you will see "A je S A 4 i "
__________________ Take Locally Start Globally Last edited by Eplanet; 17th April 2008 at 09:45 AM. | |
| |
| | (permalink) |
| Read my previous post!. | |
| |
| | (permalink) |
| hi i read your previous post but please tell me other method because i cant find RF600 in our market. thanks
__________________ Take Locally Start Globally | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| If you can change the PC software, life is good. And YES communication protocol is important. Manchester is simple and work great. In your current example, between each Byte, you don't want to wait 100mSec + LCDOUT execution time... Grandpa 16F84 don't have any USART buffer, SERIN is a bit-banging solution. If you send 2 character, use 2 BYTEs on the PIC side. For testing purpose only, you could try to send this string UUUUU~AB from your PC to your PIC. On the PIC side try the following Code: B0 VAR BYTE
B1 VAR BYTE
LCDOUT $FE,1
START:
serin portB.0,T2400,["~"],B0,B1
lcdout $FE,1,B0,B1
GOTO Start
__________________ Steve Last edited by mister_e; 17th April 2008 at 11:25 PM. | |
| |
| | (permalink) |
| hi thanks for replay but i dont want to send "~" before any data how about enable time in rf module you think enable pin should be always on? i dont use PIC in transmitter rf module connecting to max232 directly and when dont send any data from pc data pin is 5v and when sending data increase to 2.70 - 2.60 - 2.90 ... and how can calibrate send time with receive time fore eliminate any unwanted data ? and please tell me how can i use manchester codes in pic programming?
__________________ Take Locally Start Globally Last edited by Eplanet; 18th April 2008 at 08:56 PM. | |
| |
| | (permalink) |
| hi friends do you know how can i use with this data transmitter and receiver with PIC micro because this device have 4bit for data how can i use it ? HM-EP is transmitter HM-D is receiver thanks
__________________ Take Locally Start Globally | |
| |
| | (permalink) |
| can sent me your project | |
| |
| | (permalink) |
| all post specially first post is totally my project send serially data from PC to microcontroller board over LCD in 250meteres thanks
__________________ Take Locally Start Globally | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Urgent Help Needed... MIMO PC based data acquisition system | bennyriang | Electronic Projects Design/Ideas/Reviews | 2 | 20th January 2007 12:56 AM |
| Timestamping data on data aquisition project | Flamer1 | Micro Controllers | 6 | 4th December 2003 05:58 AM |
| pc keyboard interfacing problem | econsyst | Micro Controllers | 0 | 8th November 2003 09:28 PM |
| Transmission of Data from Car to Desktop Computer | gurp | Electronic Projects Design/Ideas/Reviews | 12 | 23rd October 2003 09:41 AM |
| wireless transmission of serial data | elegeek | Electronic Projects Design/Ideas/Reviews | 2 | 22nd October 2003 07:05 AM |