{"id":21041005,"url":"https://github.com/chfoo/scanner-stepper","last_synced_at":"2025-10-01T04:30:59.249Z","repository":{"id":16441011,"uuid":"19192663","full_name":"chfoo/scanner-stepper","owner":"chfoo","description":"Play music with a scanner stepper motor.","archived":false,"fork":false,"pushed_at":"2014-07-27T18:15:32.000Z","size":628,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-23T04:57:55.651Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chfoo.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-27T01:09:36.000Z","updated_at":"2019-01-22T15:45:45.000Z","dependencies_parsed_at":"2022-09-01T16:51:53.314Z","dependency_job_id":null,"html_url":"https://github.com/chfoo/scanner-stepper","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Fscanner-stepper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Fscanner-stepper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Fscanner-stepper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Fscanner-stepper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chfoo","download_url":"https://codeload.github.com/chfoo/scanner-stepper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225364550,"owners_count":17462827,"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-11-19T13:49:45.487Z","updated_at":"2025-10-01T04:30:53.930Z","avatar_url":"https://github.com/chfoo.png","language":"Python","readme":"===============\nscanner stepper\n===============\n\nPlay music with a scanner stepper motor.\n\n\nVideos:\n\n* Attempt 1: https://www.youtube.com/watch?v=j02qTJeHWPY\n\n\nRequirements\n============\n\nHardware\n--------\n\n.. image:: schematic/ardunio_scanner_stepper_bb.png\n   :alt: Breadboard\n\n.. image:: schematic/ardunio_scanner_stepper_schem.png\n   :alt: Schematic\n\n\nMaterials used:\n\n* 1 × Arduino starter kit\n\n  * 1 × Arduino Uno Rev3\n  * 1 × L293D H Bridge\n  * 1 × 220 ohm resistor\n  * 2 × 1k ohm resistors\n  * 1 × LED\n  * 2 × switch buttons\n  * 1 × USB cable\n  * 4 × male header pins\n\n* 1 × ScanJet 5100C (HP C5 190A)\n\n  * 1 × Stepper motor (STH-39D1126-02, 1.8 deg/step, 4.1 ohms)\n\n* 1 × 9.6 volt battery (8 × AA 1.2 V NiMH cells, LEGO parts)\n* 2 × header cables\n\n\nSoftware\n--------\n\n* Arduino IDE\n* Python 2.7\n\n  * aubio\n  * numpy\n  * scipy\n\n\nUsage\n=====\n\n* audio2txt.py: Reads a WAV file and uses pitch detection to produce a text file.\n* txt2serial.py: Writes to the serial line on the Arduino. The Arduino IDE serial monitor must be open or it locks up.\n* txt2wav.py: Converts a text file to a WAV file. Used for quickly listening the text file.\n* scanner_stepper.ino: The Arduino program. Adjust the voltage as necessary so it doesn't burn out the H-bridge.\n\n\nContact\n=======\n\n* Email: chris.foo@gmail.com.\n* Twitter: @chfoo0\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Fscanner-stepper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchfoo%2Fscanner-stepper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Fscanner-stepper/lists"}