Arduino MEGA to RFID

Hey guys,

I’m pretty new to this stuff but very interested in it all.

I have hooked up a long range rfid reader board to my Arduino MEGA.

-Ground pin to the ground on the arduino

-RX0 on rfid to RX2 (#17) on arduino

-TX0 on rfid to TX2 (#18) on arduino

All I want is for when a certain thing is scanned on the rfid to turn on a corresponding LED light. If something else is scanned then a different light will trigger related to that exact item being scanned.

My questions are…

How would I hook up the lights?

What would the code look like?

I have decent idea of the code, but I’m pretty sure that I am completely wrong.

Any help is greatly appreciated!

Thanks,

Brandon

Without seeing your decent idea of the code, it’s kinda hard to tell you if you’re on the right track or not…

brwa3633:
I have hooked up a long range rfid reader board to my Arduino MEGA.

-Ground pin to the ground on the arduino

-RX0 on rfid to RX2 (#17) on arduino

-TX0 on rfid to TX2 (#18) on arduino

Without any info on your RFID reader I can't say for sure but I wonder if the Tx and Rx aren't reversed above. The Tx-out from the Arduino should go to the Rx-in of the reader.

Haha I was writing this post from memory, I definitely have it actually hooked up like your explaanation. Thanks!