{"id":20502236,"url":"https://github.com/laserborg/circuitpython_utils","last_synced_at":"2026-04-20T01:05:20.792Z","repository":{"id":221767558,"uuid":"755323961","full_name":"LaserBorg/circuitpython_utils","owner":"LaserBorg","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-13T19:11:55.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T19:59:45.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LaserBorg.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}},"created_at":"2024-02-09T22:17:30.000Z","updated_at":"2024-02-09T22:54:03.000Z","dependencies_parsed_at":"2024-02-09T23:48:03.345Z","dependency_job_id":null,"html_url":"https://github.com/LaserBorg/circuitpython_utils","commit_stats":null,"previous_names":["laserborg/circuitpython_utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LaserBorg/circuitpython_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaserBorg%2Fcircuitpython_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaserBorg%2Fcircuitpython_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaserBorg%2Fcircuitpython_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaserBorg%2Fcircuitpython_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaserBorg","download_url":"https://codeload.github.com/LaserBorg/circuitpython_utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaserBorg%2Fcircuitpython_utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32028550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"ssl_error","status_checked_at":"2026-04-20T00:17:31.068Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-15T19:20:37.603Z","updated_at":"2026-04-20T01:05:20.770Z","avatar_url":"https://github.com/LaserBorg.png","language":"Python","readme":"# CircuitPython Utilities\n\nPiDAR CircuitPython-Version - CURRENTLY DISCONTINUED:\n- CircuitPython optimized LD06 serial/UART driver\n- CircuitPython optimized A4988 driver\n\nOther:\n- serial connection between host and board\n- datarate-test\n- BNO055 inertial navigation\n\n\n## wiring\n\nLD06 port (left to right)\n- UART Tx, PWM, GND, 5V\n\nPico:\n- LD06 UART0 Rx: GP1 (Pin2)\n- LD06 PWM: GP2 (Pin4)\n- LD06 5V: VBUS (Pin40)\n- LD06 GND: e.g. Pin38\n- A4988 direction: GP15 (pin20)\n- A4988 step: GP14 (Pin19)\n- A4988 microstepping: GP11, GP12, GP13 (Pin 15,16,17)\n\n\n### Serial Protocol\nbaudrate 230400, data bits 8, no parity, 1 stopbit  \nsampling frequency 4500, scan frequency 5-13 Hz, distance 2cm - 12 meter, ambient light 30 kLux\n\ntotal package size: 48 Byte, big endian.\n- starting character：Length 1 Byte, fixed value 0x54, means the beginning of data packet;\n- Data Length: Length 1 Byte, the first three digits reserved, the last five digits represent the number of measured points in a packet, currently fixed value 12;\n- speed：Length 2 Byte, in degrees per second;\n- Start angle: Length: 2 Byte; unit: 0.01 degree;\n- Data: Length 36 Byte; containing 12 data points with 3 Byte each: 2 Byte distance (unit: 1 mm), 1 Byte luminance. For white objects within 6m, the typical luminance is around 200.\n- End Angle: Length: 2 Byte; unit: 0.01 degree；\n- Timestamp: Length 2 Bytes in ms, recount if reaching to MAX 30000；\n- CRC check: Length 1 Byte\n\nThe Angle value of each data point is obtained by linear interpolation of the starting angle and the ending angle.  \nThe calculation method of the angle is as following:\n\n    step = (end_angle – start_angle)/(len – 1)  \n    angle = start_angle + step*i  \n\nlen is the length of the packet, and the i value range is [0, len].\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaserborg%2Fcircuitpython_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaserborg%2Fcircuitpython_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaserborg%2Fcircuitpython_utils/lists"}