Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Unwanted characters received during serial transmission

Status
Not open for further replies.

dhk

Newbie level 5
Joined
Oct 12, 2014
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
56
Hello,

I am reading the data from the rfid reader via Arduino Mega and sending it to pc.
But when the data is read by the pc, in the end some unwanted characters appear(mostly smileys). I have defined an array of 15 but when I use strlen function to check the length of the data received, then it shows 16.
Also sometimes the data coming will be of 31 characters with the same data being appended at the end.


Can someone please explain why is this problem occuring?
 

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
My RFID card gives data continuously if kept near the reader.
 

hobbyckts

Advanced Member level 1
Joined
Mar 12, 2015
Messages
481
Helped
88
Reputation
176
Reaction score
85
Trophy points
28
Activity points
2,457
What is the voltage level of your RFID reader and at what distance between your reader has been placed.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top