Author Topic: Digispark-Receive data, add data, ssent to PC  (Read 12 times)

sswcharlie

  • Newbie
  • *
  • Posts: 1
Digispark-Receive data, add data, ssent to PC
« on: December 08, 2018, 04:16:12 pm »
Hi
My project is rfid reading.  using low cost M302 readers (2 or more).  The readers use HID and place the reading of tag data into the position of  cursor focus on document on Digispark.  One reader for each area/location
As the readers do not have ID I wan to read tag,  add an ID number to the read, and then forward to open Excel spreadsheet on PC.  I will need separate Digispark for each reader, and therefore an ID of its own. 

Please comment on my thoughts-

Plug usb reader into Digispark with (usb breakout?)
create or open  . txt  file on Digispark  (create only the first time)
Set cursor to focus on  .txt file
Read a tag on rfid reader.    The HID on usb places the read from tag, into the focus cursor position in  .txt file.?No software needed in  .txt file?
Set an id in software for this Digispark only. (as a variable?)
Add as a prefix the ID number to reader data  .txt file
Using keyboard reader? to send combined data to Excel spreadsheet   ...readings.xls
Once data sent last data sent is removed from .txt file, ready for next read.   (about 1 second)
Return to set cursor focus

Digispark will be powered by battery.

Would like to do with the minimum of software.

Excel spreadsheet - usb port from usb hub - digispark plugged into say 4 way hub (with  say 3 other digisparks into hub) -  usb reader plugged into each Digispark.
As each reader is used, its individual  ID prefixed to the tag read and placed in Excel.  Excel can then manipulate by location/area as required.


I am noobie and need some direction for this project. 

Is Digispark the way to go?

Thanks
Charles Harris