{"id":25397123,"url":"https://github.com/drmcnelson/arduino_timing","last_synced_at":"2026-05-02T04:31:00.461Z","repository":{"id":245190597,"uuid":"817520870","full_name":"drmcnelson/Arduino_Timing","owner":"drmcnelson","description":"Benchmark your Arduino and Teensy boards, for interrupt latency, jitter and timing for various digital and analog i/o operations.","archived":false,"fork":false,"pushed_at":"2024-08-19T02:24:21.000Z","size":1607,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T00:57:33.448Z","etag":null,"topics":["arduino","arduino-uno","benchmark","performance","teensy","teensy40","teensy41","timing"],"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/drmcnelson.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,"publiccode":null,"codemeta":null}},"created_at":"2024-06-19T22:40:06.000Z","updated_at":"2025-01-20T21:18:47.000Z","dependencies_parsed_at":"2024-06-20T11:44:54.372Z","dependency_job_id":"cc2d86c5-2824-48de-8969-172c71169974","html_url":"https://github.com/drmcnelson/Arduino_Timing","commit_stats":null,"previous_names":["drmcnelson/arduino_timing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drmcnelson%2FArduino_Timing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drmcnelson%2FArduino_Timing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drmcnelson%2FArduino_Timing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drmcnelson%2FArduino_Timing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drmcnelson","download_url":"https://codeload.github.com/drmcnelson/Arduino_Timing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322615,"owners_count":21084336,"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":["arduino","arduino-uno","benchmark","performance","teensy","teensy40","teensy41","timing"],"created_at":"2025-02-15T21:38:17.011Z","updated_at":"2026-05-02T04:31:00.421Z","avatar_url":"https://github.com/drmcnelson.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino_Timing\nMeasure interrupt latency, jitter and timing for various digital and analog i/o operations that you may need\nif you are developing an embedded instrument or control system.\n\nThe output is in the syntax of a header file for C or C++.\n\nThe code includes sections that use the standard Arduino API as well as specific code for the Teensy 4.x and\nthe Arduino UNO R4.\n\nThe Teensy4 is extremely fast, you can see oscilloscope images for the timing in the Images subdirectory\n\nThe Uno R4 is a bit slower and there are some issues in some of their libraries.  If you want to run on an\nUNO R4, you need to use the upgraded SPI library which you can download from here https://github.com/drmcnelson/Arduino_UNO_R4_SPI_Speedup\n\nThe upgrade for the UNO R4 SPI library adds true 16-bit transfers and an enhanced loop friendly API with reduced overhead for repeated transfers.\nTrue 16 bit transfers are already built into the Teensy 4 SPI libraries.\n\nIn the sub-directory  Python, you will find a Python script  SimpleDataLOgger.py that can be used as a class\nlibrary or a utility to issue commands and collects results.  There are scripts that you can modify to suit your\nneeds.  From the program's cli, the command to runa script is @scriptfilespec.   To record output to a logfile,\nrun the program with the switch --logfile logfilespec\n\nThe Images subdirectory has oscilloscope images for several other tests as well as the SPI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmcnelson%2Farduino_timing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrmcnelson%2Farduino_timing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmcnelson%2Farduino_timing/lists"}