This is a college assignment with the objective of make the payments of a restaurant with Internet of Things concepts.
This repo it's the code of the nodemcu and some reference links.
The code works in the following fashion
- The nodemcu connect to a wifi network via WiFiManager library
- When the card is presented, we get the rfid number
- We make a request to the backend to make a transaction with de rfid number
- Handle the response
- If the request return code 200 means that the transation was created without problems and we show the feedback for the client with the green light
- If not, then the transaction wasn't created and we show the feedback for the client with the red light
We a custom pinout for this project following these articles