Code for "RFIDbee2" bee trackers by the Grover and Woodard Labs at the University of California, Riverside.
-
Download and install the Arduino IDE for your operating system from https://www.arduino.cc/en/software
-
Open the Arduino IDE. Select Tools > Manage Libraries. The "Library Manager" sidebar should appear. In the "Filter your search" box, enter the name of each of these three libraries and search for and install them:
Adafruit PN532
(by Adafruit)RTClib
(by Adafruit)SdFat
(by Bill Greiman) If you are asked about installing library dependencies, select INSTALL ALL.
-
Download and unzip the RFIDbee2 software from this repository.
-
In the Finder (MacOS) or File Explorer (Windows), navigate to wherever you saved the RFIDbee2 software, and open the
RFIDbee2
subfolder. Inside, double-click on the fileRFIDBEE2.ino
. It should open in the Arduino IDE. -
In the Arduino IDE, click the Check icon in the upper-left corner of the window. After
- Download and install Python for your operating system from https://www.python.org/downloads. If you see an option similar to "add python to PATH" while installing, make sure that the is checked.
- Clone the GitHub repo
- In the terminal, type
pip install pyserial
- Make sure you've already installed the RFIDbee2 helper software on your PC or Mac as described above.
- Open Terminal (MacOS) or Windows PowerShell (Windows)
cd
to cloned repo and typepython3 clocksetter