1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
a2a752a720 RFID: Fix tag return when gone
Previously, the return value when a tag was gone was the negative ID.
However, this isn't the most effective to process later as a negative
number uses two's complement, changing all lower bits in addition
to the sign bit.

Change this to just set the sign bit instead. This still produces
a negative number, which is what we want to check to konw if the tag
is new or went away, but maintains the lower bits so the ID can be
retrieved with a simple bit-wise and.
2023-09-24 12:31:01 +01:00
a566806c21 README: Add status
Add status of the project goals in the README and update them
with regards to the newly added RFID.
2023-09-10 20:29:06 +01:00
5ca978c63b RFID: functional tag reading
Add a new class to handle the RFID module and associated data
in order to track active tags.
Update main with RFID initialization and a minimal usage to
check it is working as expected.
2023-09-10 20:28:27 +01:00
4c1bee73e5 Main structure and setup
pinMode most of what could be useful in the main and put modules
LOW to minimize power draw before the regulator is ON.

Add the skeleton for the setup, main loop and battery level checking.
2023-09-09 19:46:10 +01:00
22ee9ddee1 Add pinout
Pinout was autogenerated from KiCad and adapted for readability
2023-09-09 18:19:57 +01:00
3c0027b75a Init project
Add LICENSE and README
Basic platformio project structure with required libs
2023-09-09 18:01:24 +01:00