I am using an ESP8266 NodeMCU v0.1 and Sparkfun M6E Nano UHF Rfid reader. How to connect NodeMCU to M6E Nano UHF Rfid reader?

  • did you see my answer? – Juraj Nov 4 '18 at 10:43
  • sorry for late reply, yes i saw your answer. – Eza Nov 4 '18 at 11:37
  • @Juraj can you tell me that is there any way to post an array (20 byte) using nodemcu on MySQL data base which is on my localhost. because i am getting my RFID tag id into an array! Like this FF, DE, 3E, X, X, X....... till 20 bytes – Eza Nov 4 '18 at 11:50
  • it is possible, but that is a different question. you would need to have a server on a computer to write the data to MySQL. and you would send data from esp8266 to this server. – Juraj Nov 4 '18 at 12:06
  • Thanks, yes i already have a server(xampp) on a computer. Could you provide the resource/link that how to insert array into a single cell of database? – Eza Nov 4 '18 at 12:25

The interface of Sparkfun M6E Nano UHF Rfid reader is Serial TTL. So you should connect it to Serial pins of the NodeMcu. Don't use USB then, because it is connect to Serial too.

| improve this answer | |
  • worked fine with Arduino Uno when I am trying to use with Uno+Rfid reader+NodeMcu it doesn't work! – Eza Nov 6 '18 at 6:26
  • how did you wire it to nodemcu? – Juraj Nov 6 '18 at 6:29
  • Like this (Reader->NodeMCU), GND ->GND, VIN->VIN, RST->RST, 2->D2, 3->D3, – Eza Nov 6 '18 at 6:34
  • this answer above says you should connect it to RX and TX – Juraj Nov 6 '18 at 6:36
  • use the pins on the short side of the reader board, VCC, Gnd, RX and TX and connect to Gnd, 5V, Rx and TX of NodeMcu – Juraj Nov 6 '18 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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