-
Notifications
You must be signed in to change notification settings - Fork 20
Get started
Welcome to the FED3 (Feeding Experimentation Device v3) setup guide! This page walks you through everything you need to get started—from installing software to flashing your first experiment and using the device in the lab.
- A FED3 device
- USB Micro cable
- Computer (Windows, macOS, or Linux)
- Internet connection
FED3 uses the Arduino IDE to upload code and interact with the device.
- Download the latest Arduino IDE from the official site: https://www.arduino.cc/en/software
- Install it using the default options.
- Open Arduino after installation.
FED3 runs on the Adafruit M0 Adalogger, so we need to install its board definitions.
- In Arduino, go to
File > Preferences - Under Additional Boards Manager URLs, paste:
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json - Go to
Tools > Board > Boards Manager - Search for Adafruit SAMD and click Install
-
Go to
Tools > Boardand select:
Adafruit Feather M0 (SAMD21) -
Plug in your FED3.
Then go toTools > Portand select the one that says “Adafruit” or “Feather M0”.
⚠️ If you don’t see the board, try a different USB cable or port.
The FED3 code relies on several Arduino libraries. To install:
- Go to
Tools > Manage Librariesin the Arduino IDE - Search for the "FED3" library and install it.
- When the Arduino IDE prompts you to install dependency libraries, click yes to install them all
Once everything is installed:
-
Click File > Examples > FED3 > Programs to view the Example Programs
-
Choose the example you want to flash
-
Select the board (Adalogger M0) and port again under
Tools. -
Click the right arrow
▶️ (Upload) button to flash.
✅ You should see
Done uploadingif everything works.
FED3 uses a PCF8523 real-time clock to timestamp data. If the date or time is wrong you will need to reset it.
- Open `File > Examples > FED3 > SetClock > SetClock
-
Upload this example sketch once.
-
You can then re-upload your FED3 experiment sketch (e.g.
FED3_Operant.ino).
- FED3 stores data on a microSD card in
.CSVformat. - To start an experiment:
- Power the device (USB or battery)
- It will automatically begin running the uploaded sketch
- Each session logs to a new
.CSVon the SD card - Open in Excel, R, or Python for analysis
Check out the Troubleshooting page
Check out this YouTube Playlist for setup and usage demonstrations.
- Open an issue on GitHub
- Post to the Google Group