{"id":16241541,"url":"https://github.com/tve/netflasher","last_synced_at":"2025-10-07T06:15:35.700Z","repository":{"id":146951466,"uuid":"498138768","full_name":"tve/netflasher","owner":"tve","description":"Flash an LED when a bird hit the net in bird-deterrent window covering experiments.","archived":false,"fork":false,"pushed_at":"2022-05-31T00:56:14.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T09:52:52.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-31T00:48:13.000Z","updated_at":"2022-05-31T00:56:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f71b7c3-2e42-4369-a69f-4d3059e623bb","html_url":"https://github.com/tve/netflasher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tve/netflasher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fnetflasher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fnetflasher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fnetflasher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fnetflasher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tve","download_url":"https://codeload.github.com/tve/netflasher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fnetflasher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265529036,"owners_count":23782804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T14:07:57.876Z","updated_at":"2025-10-07T06:15:30.659Z","avatar_url":"https://github.com/tve.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"NetFlasher2 - Emit a flash when a bird hits a net\n================================================\n\nThe NetFlasher2 is a simple circuit to flash an LED when a bird hits a net and is used\nin experiments to determine which window coverings are best to deter birds from flying\ninto them.\n\nThe netflasher detects when a bird hits a net using a vibration sensing switch.\nIt then briefly turns on a bright LED which is placed in the viewfield of a camera\nrecording the experiment.\nThis provides an unmistakable \"hit\" signal.\n\nInstructions\n------------\n\n- Use micro-USB cable to power the netflasher (uses \u003c80mA)\n- The flashlight lights for 200ms when the vibration sensor is triggered\n- After triggering, the flash is locked-out for 10s\n- Tiny orange LED: slow (2s) = ready; fast (200ms) = 10s lock-out\n- Red LED: vib sw detected (always active, even during lock-out)\n- Green LED: display sensitivity (blink 1x/2x/3x/4x), 1=most, 4=least\n- Blue sw:\n  - first press: display sensitivity \u0026 reset lock-out\n  - press again within 2s: change sensitivity (1/2/3/4)\n- White sw next to microcontroller: program mode (cut power to exit)\n\nCircuit Notes\n-------------\n\n### Net motion detector\n\n- Vibration detection switch \"SW-18010\" https://www.adafruit.com/product/1766\n- Sensitivity is adjusted by requiring toggles in multiple 10ms windows: sensitivity 1\n  requires just one toggle, 2 requires toggles in 2x 10ms within 100ms of one-another,\n  3 requires toggles in 2^2 = 4x 10ms intervals, 4 requires 8x 10ms intervals \n\n### Sensitivity switch\n\n- Pushbutton to change sensitivity\n- On-board sensitivity indicator LED (1, 2, 3, or 4 flashes)\n\n### High power Cree LED\n\n- Amber 5mm LED: C503B-ABS, 4430mcd @20mA, 40mA max continuous\n- drive using 2N4401 w/82Ω -\u003e ~40mA\n\n### High power \"flash\" LED\n\n(Not used due to size concerns)\n\n- Wire-up raw flashlight LED\n  - 135mA@2.8V=1/3W\n  - 220mA@2.85V=0.6W\n- 2N4401: 600mA max\n  - resistor emitter-ground: 10Ω-\u003e1W flash\n- On-board indicator LED\n- To disassemble flashlight:\n  - pull zoom ring hard and unscrew, remove driver\n  - remove btn cap, punch btn through alum housing\n\nArduino\n-------\n\nTo use `arduino-cli` install according to first post:\n- https://forum.pjrc.com/threads/53548-Arduino-CLI-Alpha-Release-Teensy-Support\nInstead of `arduino-cli core install teensy:avr` run:\n- `arduino-cli core update-index`\n- `arduino-cli core install teensy:arm`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftve%2Fnetflasher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftve%2Fnetflasher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftve%2Fnetflasher/lists"}