<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
lineacurva wrote:<br><br>&gt; Hi guys,<br>&gt; <br>&gt; I'm working on my first RFID project, involving Arduino and Pure  <br>&gt; Data. I use Innovation Id-20 reader and Arduino 2009. I'm stuck in a  <br>&gt; problem with "comport".<br>&gt; <br>&gt; As I put a transponder near the reader, in Arduino serial monitor I  <br>&gt; can see a number like: 495211712056<br>&gt; <br>&gt; But in the little patch I attach here, comport reads: 53<br>&gt; <br>&gt; This is a problem since more than one transponder give me a "53"  <br>&gt; feedback (but a different 12 digits number in Arduino monitor).<br>&gt; <br><br>53 is the ASCII value of the character '5'. Probably if you add a [print] to the [comport] output you would get a list of 12 ASCII values for each sample.<br><br>In Pd you need to accumulate the list of incoming ASCII codes, subtract 48 (ASCII '0') from each, and route them accordingly. A 12-digit number won't display correctly as a float. Probably it's easier in Arduino to make your numbers ints on [0..255] and send them as BYTE. Then you get one number per sample and don't need to handle lists.<br><br>Martin<br><br>                                               </body>
</html>