Rfid Armband "alarm" system

this library called out? SparkFun_UHF_RFID_Reader.h

yep you need to install that :

see hookup guide : Library Setup - SparkFun Simultaneous RFID Reader - M7E Hookup Guide

Menu ArduinoIDE : Tools… Manage libraries
“install the library through the Arduino Library Manager by searching for “SparkFun Simultaneous RFID” and selecting the latest version”

got a lot of errors when i included the library, this is the report from “verify”

In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:81:3: error: redeclaration of ‘ThingMagic_M6E_NANO’
ThingMagic_M6E_NANO,
^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:81:3: note: previous declaration ‘ThingMagic_Module_t ThingMagic_M6E_NANO’
ThingMagic_M6E_NANO,
^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:82:3: error: redeclaration of ‘ThingMagic_M7E_HECTO’
ThingMagic_M7E_HECTO,
^~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:82:3: note: previous declaration ‘ThingMagic_Module_t ThingMagic_M7E_HECTO’
ThingMagic_M7E_HECTO,
^~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:83:3: error: conflicting declaration ‘typedef enum ThingMagic_Module_t ThingMagic_Module_t’
} ThingMagic_Module_t;
^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:83:3: note: previous declaration as ‘typedef enum ThingMagic_Module_t ThingMagic_Module_t’
} ThingMagic_Module_t;
^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:87:30: error: redeclaration of ‘ThingMagic_PinMode_INPUT’
ThingMagic_PinMode_INPUT = 0,
^
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:87:3: note: previous declaration ‘ThingMagic_PinMode_t ThingMagic_PinMode_INPUT’
ThingMagic_PinMode_INPUT = 0,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:88:31: error: redeclaration of ‘ThingMagic_PinMode_OUTPUT’
ThingMagic_PinMode_OUTPUT = 1
^
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:88:3: note: previous declaration ‘ThingMagic_PinMode_t ThingMagic_PinMode_OUTPUT’
ThingMagic_PinMode_OUTPUT = 1
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:89:3: error: conflicting declaration ‘typedef enum ThingMagic_PinMode_t ThingMagic_PinMode_t’
} ThingMagic_PinMode_t;
^~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:89:3: note: previous declaration as ‘typedef enum ThingMagic_PinMode_t ThingMagic_PinMode_t’
} ThingMagic_PinMode_t;
^~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:16:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:91:7: error: redefinition of ‘class RFID’
class RFID
^~~~
In file included from C:\Users\Bolto\Documents\Arduino\8danseasyrelay\Sketch_from_sparkfun\Sketch_from_sparkfun.ino:1:0:
C:\Users\Bolto\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:91:7: note: previous definition of ‘class RFID’
class RFID
^~~~

exit status 1

Compilation error: exit status 1

before i included the library, everything verified fine, but there was no response on the LED

and to be clear, i went to sketch > include library > spark fun library. It may have included ALL of the libraries which is why the M6E Nano is coming in. i am going to start over

latest wiring and reloaded sketch. still no response. I did notice areound line 90 that is asking for a manual input to start scanning. not sure if that is really asking for an input, which i cant do

Serial.println(F(“Press a key to begin scanning for tags.”));
while (!Serial.available()); //Wait for user to send a character
Serial.read(); //Throw away the user’s character

Do you still get an error compiling uploading ?
Is the M&E power led ON?
What do you seen when you connect USB to the serial monitor of the ArduinoIDE ? (make sure the later is set to 115200 baudrate)
You just need to press when asked (later you can remove this when needed)
Is the switch set to serial on the M7E ?

error on uploading - not really, however once i get it loaded and i try again, it gives me an error around not having a specified port
M7E power - yes it is getting power from the arduino
serial monitor - is that the RX/TX lights? if so, one quick yellow flash on TX then nothing. - that was a good catch on the baud rate since the 115200 was not active in the code.
pressing the button - does this require the button on pin 8? is the the input requested? I do not have the button installed
switch set to serial - i think so. When I go through the universal reader it shows serial.

you should keep the USB connected and start the serial monitor in the arduinoIDE (looking glass top right end)

What messages do you get after starting / pressing reset on the MCU board ?

The SWITCH on the M7E can be set to USB or SER. This must be set to SERIAL

The manual switch does not need to be installed

M7E was on USB moved to serial.
Message from monitor - Module failed to respond. Please check wiring.

wait. wire in wrong spot. corrected and now it read -
Press a key to begin scanning for tags - after pressing key

High return loss, check antenna - over and over

and with a tag - Bad CRC

question - since this is hardware serial, does this need to be commented out? It looks like most of this is software serial:

#include <SoftwareSerial.h>

SoftwareSerial softSerial(2, 3); //RX, TX

and if it is correct with software serial - should the RX be in pin 2 and TX in 3?

good progress…

You are communicating with Software Serial to the M7E. So you should keep that in place.
The communication with the m7E works, else you get “check wiring”. As such RX and TX are connected correctly. NO CHANGE needed

I suspect your errors are because of power OR speed. in top of sketch it states
#define rfidBaud 38400 reduce that from 38400 to 19200 for test

What power supply do you use ?
Make sure the VCC and GND wires are good connected
Any changes made to the M7E board for the antenna ?
Maybe some pictures.

as i reduce the baud rate on the rfid reader, do i reduce the baud rate on the arduino the same?

and i am powering from the computer USB. I checked the connections and i am getting good connectivity to RX, TX, VCC and ground.


i reduced the baud to 19200. same error, but i did notice that only the TX light was flashing on the arduino

reduced both the reader and arduino to 19200 and same error, and TX light flashing red

BUT WAIT!!! I dont know if you can see it, but when i got the tag close enough, I did make the LED flash!!!