-
11Plug OLED shield into Adalogger
A zip tie around the mounting hole on the Adalogger can keep things neat
At this point you should have everything you need to assemble the device:
-
12Assemble the device!
- Slide the Feathers into the 3D printed holder
- Snap both photo-interrupters into the 3D printed holder
- Slide the cover on to protect the wiring from mice!
- Plug in battery
-
13Set the time on the Real-Time-Clock (RTC)
There are two ways to set the clock. You can flash the Feather M0 with SipCounter-SetClock.ino (in the files area). This will set the sipper clock to the same as your computer clock.
When successful it will show the new date and time on the screen. This will remain correct as long as the battery is connected and charged, but if power is lost you can repeat this step to reset the clock. Once you see this screen, re-flash the sipper code to the device.
Alternatively, if you have the code already flashed or lose power and want to manually edit the date and time, hold the "B" button while you're on the first screen and it will let you manually change the date and time. On each field, "A" increments the value, "C" decrements the value, and "B" confirms your selection.
One final note, you can set the "number" of each device in this same edit mode. This is useful as the CSV files save with the device number first (ie: SIP001_091819_00). If you make multiple sipper devices, set a unique number for each so you can keep files straight later.
-
14Press "A" to start logging!
Pressing "A" on the startup screen will make the device start counting sipper interactions. The code logs # of interactions with each sipper as well as duration of these interactions and logs the totals every 10 seconds. The code is open-source and can be edited for different functionality.
-
15Completed device!
This was designed to fit onto our caging racks (Allentown NextGen). If you have different caging you may need to tweak the 3D design. An editable TinkerCADdesign is available.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.