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– Juraj ♦2018年11月04日 10:43:49 +00:00Commented Nov 4, 2018 at 10:43
-
sorry for late reply, yes i saw your answer.Eza– Eza2018年11月04日 11:37:06 +00:00Commented Nov 4, 2018 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 bytesEza– Eza2018年11月04日 11:50:15 +00:00Commented Nov 4, 2018 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– Juraj ♦2018年11月04日 12:06:44 +00:00Commented Nov 4, 2018 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– Eza2018年11月04日 12:25:55 +00:00Commented Nov 4, 2018 at 12:25
1 Answer 1
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.
answered Oct 25, 2018 at 11:28
-
worked fine with Arduino Uno when I am trying to use with Uno+Rfid reader+NodeMcu it doesn't work!Eza– Eza2018年11月06日 06:26:18 +00:00Commented Nov 6, 2018 at 6:26
-
how did you wire it to nodemcu?2018年11月06日 06:29:23 +00:00Commented Nov 6, 2018 at 6:29
-
Like this (Reader->NodeMCU), GND ->GND, VIN->VIN, RST->RST, 2->D2, 3->D3,Eza– Eza2018年11月06日 06:34:34 +00:00Commented Nov 6, 2018 at 6:34
-
this answer above says you should connect it to RX and TX2018年11月06日 06:36:13 +00:00Commented Nov 6, 2018 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 NodeMcu2018年11月06日 06:41:24 +00:00Commented Nov 6, 2018 at 6:41
lang-cpp