How to read UID value in arduino uno to PHP language? before, thanks for a lot

enter image description here

1 Answer 1


Use this library: https://github.com/rubberneck/php-serial

On GNU/Linux, you may need to be a member of the ‘dialout’ group. Ubuntu solves this problem by making its users members of every group, so you may not need to edit /etc/group

Once you have connected via a USB or USB-TTL cable (the latter will not force a reset upon connect), use a buffer to store all the reads, then parse them.

  • I using OS Windows sir, How? Feb 9, 2018 at 10:24
  • @AsepERoni Nevermind, try that library. It will work on Linux, OSX, Windows.
    – user2497
    Feb 9, 2018 at 10:25
  • wheter have his way? step by step, because I fairly new for this is.. Feb 9, 2018 at 10:37
  • @AsepERoni Connect to COM1 (or whatever port is used), read data into a buffer, parse it, use it.
    – user2497
    Feb 9, 2018 at 10:41
  • @AsepERoni Is the question answered? If yes, please mark it as such.
    – user2497
    Feb 12, 2018 at 0:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.