I am doing a project on smart trolley but I am having problem where the rfid card cannot be detected I have check everything and it work just fine with other coding but when I insert the coding for the smart trolley that is where I am facing problem. This is the components that I am using and how I had connect them.
Green LED
anode -> resistor 220ohm -> pin 9
catode -> GND rail on breadboard ARDUINO mega 2560
Red LED
anode -> 220ohm resistor -> pin 8
catode -> GND rail on breadboard ARDUINO mega 2560
Button 1
one side -> Pin 2 10k ohm resistor -> GND rail on breadboard ARDUINO mega 2560
one side ->5V rail on breadboard Arduino Mega 2560
Button 2
one side -> Pin 3 10k ohm resistor -> GND rail on breadboard ARDUINO mega 2560
one side ->5V rail on breadboard Arduino Mega 2560
Buzzer
positive -> pin 7
negative -> GND rail on breadboard ARDUINO mega 2560
LCD 1620 I2C
GND -> GND rail on breadboard ARDUINO mega 2560
VCC -> 5V rail on breadboard Arduino Mega 2560
SDA -> SDA 20 on Arduino Mega 2560
SCL -> SCL 21 on Arduino Mega 2560
esp8266 wifi shield
TXD -> RX1 19
RXD -> TX1 18
GND -> GND rail on breadboard ARDUINO mega 2560
3.3V -> 3.3V rail on breadboard Arduino Mega 2560
RFID RC522
VCC -> 3.3V rail on breadboard Arduino Mega 2560
RST -> PIN 5
GND -> GND rail on breadboard ARDUINO mega 2560
MISO -> 50
MOSI -> 51
SCK -> 52
NSS -> 53
This is the UID of each rfid card that I have
“CAC32903”, “54D52A3”, “317A2BO3”, “BB98372”, “AA5E2BO3”,
“FE402B03”, “4402B03”, “CBEF2903”, “8B97293”, “E6E2B3”, “9B8A2B3”
this is the corresponding item and price for each rfid card
{“Butter”, 5},
{“Milk”, 7},
{“Chicken”, 21},
{“Beef”, 27},
{“Carrot”, 3},
{“Broccoli”, 4},
{“Rice”, 32},
{“Oil”, 13},
{“Flour”, 8},
{“Ice Cream”, 6},
{“Bread”, 4}
So far I have manage to make the coding I will try to make another post for the coding or put it in reply or comment
message.txt
@umeshlokhande @josephogbonna @mr.aymen_ammari @adityathakekar @edison_ngunjiri_94786 any insight?
CONTRIBUTE TO THIS THREAD