{"id":16238233,"url":"https://github.com/0x0630ff/catlaseresp32_v2","last_synced_at":"2025-04-08T08:49:52.254Z","repository":{"id":222404608,"uuid":"293192530","full_name":"0x0630ff/catLaserEsp32_v2","owner":"0x0630ff","description":"The latest attempt and making my cat(s) happy. Version Two of the automated cat toy.","archived":false,"fork":false,"pushed_at":"2020-11-14T03:06:13.000Z","size":1518,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:44:25.787Z","etag":null,"topics":["ardunio","cat-toy","laser","servo"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x0630ff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-09-06T02:59:29.000Z","updated_at":"2023-04-27T00:49:30.000Z","dependencies_parsed_at":"2024-02-14T02:28:52.242Z","dependency_job_id":"1d132ff4-577b-41be-b4a4-267ac2061e24","html_url":"https://github.com/0x0630ff/catLaserEsp32_v2","commit_stats":null,"previous_names":["0x0630ff/catlaseresp32_v2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0630ff%2FcatLaserEsp32_v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0630ff%2FcatLaserEsp32_v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0630ff%2FcatLaserEsp32_v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0630ff%2FcatLaserEsp32_v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x0630ff","download_url":"https://codeload.github.com/0x0630ff/catLaserEsp32_v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809954,"owners_count":20999811,"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":["ardunio","cat-toy","laser","servo"],"created_at":"2024-10-10T13:39:28.928Z","updated_at":"2025-04-08T08:49:52.139Z","avatar_url":"https://github.com/0x0630ff.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Cat Laser Toy - V2.2.\nThe latest attempt and making my cat(s) happy.\n\n#\n\n#### Project In Progress.\n- Pardon while the kinks and bugs are slowly squashed.\n\n#### Usage:\n- The push button/switch will turn on the laser and start the auto run mode. \n    * Auto mode still needs some help. it 'works' for now though!\n- To use the joystick, press down on the joystick and the D13 led will light up to show that manual mode is active. \n- Joy stick can then move the servo arm around. \u003c-- This is still a bit off. I may need a better quality joystick for this.\n\n#### To Do:\n- Fix the servo angle values. \n    * 0 degrees on bottom servo should be pointing left\n    * 180 pointing right\n    * 90 straight ahead.\n    * (this all could be fixed by adjusting the servo arms alignment.. im being lazy though)...\n- Get the timers to work.\n    * Servos are moving too fast. (or too slow or even not at all...)\n- Get auto mode to work... \u003c-- this more or less works right now..\n- USE DUAL CORES!\n\n#### Plans:\n- Add dual core usage for the ESP32's two cores.\n- Incorporate the Blynk library to use remote control via wifi.\n- Web UI?\n- Add bluetooth/ble\n- Add more buttons or switches to change to different running modes.\n- Make a second one for my other cat!\n- uh...\n\n#### Parts list:\n- ESP32 HUZZAH32 Feather - https://www.adafruit.com/product/3405\n    * Chosen for wifi/bluetooth connectivity and it's dual core support.\n    * Other boards can be used if necesary. (Untested, code writen for esp32)\n- 1x Laser diode - https://www.adafruit.com/product/1054\n    * Connected to pin 12 on ESP32 Feather Huzzah32\n- 3x Push Buttons - https://www.adafruit.com/product/367\n    * Connected to pin 21.\n    * any basic momentary push button switch. \n    * These will control the modes. \n    * These also share same button input pins as the display.\n- 1x OLED FeatherWing display - ..insert link\n    * Shows status and what not.\n    * show some cute cat images.\n- 1x SPDT Switch - https://www.adafruit.com/product/805\n    * current version uses a switch instead of a button. less hassle, no debounce to deal with.\n- 2x Servos and servo arm kit (Mini Pan-Tilt Kit) - https://www.adafruit.com/product/1967\n    * Bottom servo (Horizontal movement) connected to pin 33\n    * Top servo (Vertical movement) connected to pin 27\n    * You could use your own 2 servo set up as well.\n- Bread board.\n    * Use a longer breadboard to mount the mini pan tilt kit to the breadboard with header pins or any other method.\n- Wires...\n    * I prefer wires cut to the proper length to avoid the servos catching them and pulling them out of place. (It also looks better)\n\nTotal cost for parts is about $55-$65 or so depending on what you already have or need.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0630ff%2Fcatlaseresp32_v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x0630ff%2Fcatlaseresp32_v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0630ff%2Fcatlaseresp32_v2/lists"}