Code Monkey home page Code Monkey logo

abissmal's Introduction

Thank you.

Good bye! ๐Ÿค˜

abissmal's People

Contributors

gsvidaurre avatar lastralab avatar molinainat avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gsvidaurre

abissmal's Issues

Make and test RFID antenna with cap

Hardware issue: Make and test another RFID antenna that fits around the inside cylinder of the 3D-printed cap, and fit the cover behind this antenna. Includes winding the antenna, testing inductance, soldering the magnetic wire to leads, crimping the leads to a connector that fits into the RFID reader, and testing with Main.sh with all other devices.

[RFID] Test new antenna

Hardware issue:

I made a new RFID antenna on the 3D-printed bobbin and a piece of cardboard, then transferred this over to the 3D-printed antenna cap. The cover fits over the back of the cap and the antenna inductance is ~828 uH (in the expected range of 770 +/- uH, this was ~120 turns of magnetic wire). Next steps are to solder the antenna ends to lead wires, crimp the ends of the leads to a connector and test whether this antenna setup can pick up PIT tags. Also do some tests about maximum range at which the antenna detects PIT tags.

Update infrared beam code

Update IR beam breaker code to create a function that will return the values of interest (sensor ID, event, timestamp)

Create setup script

Run script to install all the required packages and configure the raspberry pi
Set:

  1. Set Box ID
  2. Download/install python packages
  3. Download/install OS packages (screen, smtp, git...)
  4. Enable OS ssh
  5. Raspberry pi name, hostname
  6. Email configuration
  7. Use regex to update files locally
  8. Instructions to setup RFID files manually

Print cover for antenna

  • Cover should be able to be inserted in the inner tube of the nest entrance
  • Cover should protect the antenna

Solder proto PCB

We're running software testing with devices connected to the RPi through jumper cables on a breadboard. I'd like to solder jumper wires to a proto-PCB board to make the jumper cable connections more stable. Jumper cable connections and software need to be tested again after soldering.

Container for RPi and hard drive

Hardware issue: Test which tupperware fits both the RPi and external hard drive on top of a recording chamber. May need Velcro or something to fasten the container, and also may need to cut holes to feed through the jumper cables and power cord.

Sand container

Hardware issue: Use the Dremel to sand down rough edges (fine grit) after drilling holes and cutting PVC. Sand the inside of the tunnel and the wall below the tunnel inside the main chamber with a rougher grip so that the birds have more grip to climb up to and through the tunnel.

Make shield for tunnel

Hardware issue: Make a shield to protect the tunnel (including RFID cap and beam breakers) from perching birds. I think it will be easiest to cut paper that will cover these devices and the tunnel, laminate this, and punch holes to fasten the shield to the nest container with a few screws.

Make and test RFID antenna

I need to make an RFID antenna using materials that Mason Younblood used for a RFID perch antenna. The antenna that I make will be circular, and needs to be the same diameter as the nest container entrance.

Testing the inductance of the loop antenna once wound to ensure it's in the correct range for detecting PIT-tags. I also need to connect this to leads and a connector that fit into the CognioT RFID reader.

Long camera ribbon cable

Hardware issue: Connect camera to the longest ribbon cable, and check setup in recording chamber. Order a longer cable if needed and one exists.

[wiki] Installation page

Request more documentation about specific functionality: Modify information about IMAP email setup

Update RFID antenna documentation

Request more documentation about specific functionality: Update RFID antenna documentation after making and testing an antenna that fits inside the 3D-printed cap and cover.

Add video code

Add code to run camera and save videos. This code will eventually need to be changed to use the infrared beam breakers or RFID antenna as a trigger

Handle exceptions

Handle exceptions for all functions so that the email service can be used to send error alerts.

Finishing touches on prototype

The prototype will consist of the nest container and the devices connected to the nest container and RPi. Once these parts are ready it'll be time to work on some important details (add more as needed):

  • Check the camera iso and resolution given the height of the camera placement, and also the level of light expected in recording chambers

  • Also decide which camera ribbon cable will work best, such that the RPi doesn't have to sit inside the recording chamber

  • The nest chamber itself should have small holes drilled along the sides for airflow

  • Scrape or grind lines or a hatched pattern on the wall of the nest chamber directly below the tunnel. This will facilitate grip as parents or offspring leave the nest

  • Consider whether or not to stain the inside and outside of the nest container. Either way, will need to adjust the camera iso setting accordingly

  • Check the stability of the entrance tunnel connected to the nest chamber

  • The RPi and external hard drive should be placed in a tupperware with a lid for protection. The proto-PCB board could be placed in the same container or a different one (will need a large hole opened for jumper cables)

  • Container(s) holding the RPi, external hard drive, and proto PCB should be fastened securely to the top of each recording chamber. Velcro?

  • Raspberry Pi board should have a unique box_id labelled physically

  • External drives should be labelled and renamed accordingly too

Design and print nest container cap and camera holder

I'd like the nest container to have a shield that serves to 1) fasten the camera to a lid on top of the main chamber, and 2) protect the camera, infrared beam breakers, RFID antenna and associated wires from perching and feces.

The shield could look something like this:
IMG_3695

The back of the shield should remain open so that the camera can be easily accessed for troubleshooting. The platform with the hole for the camera should sit just inside the top of the nest chamber, and it would be great if there could also be 4 small holes for fastening the camera board with small screws. A semicircular wall could sit on top of this platform with a peaked roof over the camera. The roof could slope down in a steep incline (to discourage perching) and cover the top and sides of the entrance tunnel (where the infrared beam breakers and RFID antenna will be attached). Cables for the different devices can be fed to the outside of the cage underneath the shield.

I drew the shield ending in a circular piece that sits inside the tunnel entrance. But I think it would be better to remove this to make the shield easier to put on / take off.

Another important thing to consider is that the birds will probably try to explore any open spaces they can see. We should avoid leaving gaps in the undersides of the shield.

Cut IRBB screws to size

Hardware issue: Cut or grind down the screws used to fasten the beam breakers to the tunnel entrance. These should be flush with the inner surface of the tunnel, and it might be necessary to grind off sharp edges.

Back-ups

Develop code to move data from RPi to external hard drive, ideally at night when camera is not recording

Add code to IRBB

Branch name would be PCT-10
Commits should start with [PCT-10]

If any packages/external libraries are needed, please add them to the corresponding folder under Lib directory (pull latest code from main first to see it)

Rename external drives to box_id and label devices

  • Raspberry Pi board should have a unique box_id labelled physically
  • External drives should be labelled and renamed accordingly too

When looking for external drives in the pi, it will look for the name of the USB, therefore it should be the box_id

Figure out how to concatenate videos

It would be great if we can figure out how to concatenate the pre-trigger and post-trigger videos. This should probably be done as a post-processing step to avoid overloading each Pi.

We have some time to figure this out, but we need to make sure that the videos are being encoded in a format compatible with downstream processing.

@lastralab I sent you two videos in .mp4 format by email. Let me know if you're able to concatenate these in some software other than ffmpeg.

Make longer jumper cables

Hardware issue: Make long jumper cables with stranded wire and Dupont connectors so that the Pi can sit outside the recording chamber.

Tutorials

Add tutorial images/gifs for each step of the setup
Wiki section

Integrate devices with nest container

The devices needs to be physically connected to the nest container, which might involve some updates to the container design.

  • The RFID antenna needs to be fixed to the opening of the nest entrance tunnel

  • The infrared beam breakers need to be connected to the tunnel behind the RFID antenna

  • The temperature sensor should be fed through a hole in the top, side, or bottom of the nest container to measure temperature inside the chamber without obstacles (.e.g this shouldn't be placed in the nest area since birds may just keep building up material)

  • The camera needs to be fastened to the top of the nest container, possibly with a clear protective barrier that can be easily removed for cleaning

All devices should be stably connected to the nest container, but also not too difficult to remove for troubleshooting.

Update RFID code

Add CognIot code to Lib, add code to save RFID antenna output

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.