demetal
Full Member level 5
- Joined
- May 2, 2011
- Messages
- 275
- Helped
- 21
- Reputation
- 42
- Reaction score
- 21
- Trophy points
- 1,298
- Location
- Kingdom Of Kochi
- Activity points
- 3,173
Other old threads related to Manchester encoding are still present. Thus I think the said one will exist as well. There's only a limitation in displaying your own posts as such, all can be found in a search.it looks like Edaboard has deleted messages more than about four months old.
I see. I didn't watch this thread, once I had identified as cross-posting.I have replied to the OP elsewhere.
Hi, thanks for help in manchester coding... I got idea about it...
while choosing the 433 modude which type is best ASK or FSK... Can anyone tell me how they differ in there performance...like range, and method of transmission used and any preferred algorithm if any....?
That's hardly possible. But manchester coding may be incorrectly implemented in the mikro-C library.I think it doesnt support manchester coding....
I think it doesnt support manchester coding....
Can i use fsk type to rectify this problem its urgent...
But manchester coding may be incorrectly implemented in the mikro-C library.
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 void SendData(BYTE txbyte) { int i,j,b,me; b = txbyte; for (i=0; i<2; i++) { me = 0; // manchester encoded txbyte for (j=0 ; j<4; j++) { me >>=2; // "what does these command means ,Is it assigns the value 2 to me ?" if (bit_test(b,0) ) me |= 0b01000000; // 1->0 // "What does the term " |= " means, is it an NOT operation...? or some implicit form like a+=c for a=a+c...?" else me |= 0b10000000; // 0->1 b >>=1; } putc(me); // " Can we send the data bit "me" via UART SEND command in this line by replacing "putc(me)" ?" } }
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BYTE DecodeData(BYTE encoded) { BYTE i,dec,enc,pattern; enc = encoded; if (enc == 0xf0) // start/end condition encountered return 0xf0; dec = 0; for (i=0; i<4; i++) { dec >>=1; pattern = enc & 0b11; if (pattern == 0b01) // 1 bit_set(dec,3); // " what does these command means... why is the parameter "(dec, 3)" means..? " else if (pattern == 0b10) bit_clear(dec,3); // 0 else return 0xff; // illegal code enc >>=2; //" what is enc ?" } return dec; // " Can we receive the data bit "dec" via UART RECEIVE command in this line by replacing this line ?" }
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?