Device: Fed 3 - fdechaumont/micecraft GitHub Wiki

MiceCraft is compatible with the FED3 device FED3 Official website by Kravitz Lab

The FED3 device can be controlled live by MiceCraft. Therefore you will get live event of the following events:

  • Nose poke left/right
  • Pellet delivered
  • Pellet taken

And you can perform the following actions:

  • Deliver a pellet
  • light with a specific color any led of the device
  • Emit a sound ( a click for instance, not a wav file )

General use

todo

Scenario

Upload arduino code

The FED3 is driven by MiceCraft with a specific code to control the device in real time. Here are the instructions to upload it on the device.

Steps to upload the code that is in FED3/arduino/fed:

  • in the arduino IDE, go to files>preferences, additional boards manager urls, add this one: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  • in the board manager, get the SAMD Board package with Feather M0 in the description
  • download the fed3 library with the library manager, integrated in Arduino's IDE
  • connect the FED to the usb port that is inside the fed (about at the middle of the device) (not the one on the side).
  • switch on the device with the switch on the side
  • double click on the switch close to the inner usb port on the feather M0, a red dot on the board should appear
  • select the port and Feather MO board in the arduino IDE. (Note that if you can't get the port com open with a message like 'com permission error', go in you device manager in windows, select the com port, advanced setting and change the COM port number to an higher one (COM12 for instance). The arduino IDE will be able to access it.)
  • you are now able to upload content to fed with the upload button.

more info here: https://learn.adafruit.com/adafruit-feather-m0-basic-proto/setup

Interactive demo