{"id":37548530,"url":"https://github.com/bareboat-necessities/bbn_compass","last_synced_at":"2026-04-16T06:04:03.974Z","repository":{"id":332471080,"uuid":"1133895382","full_name":"bareboat-necessities/bbn_compass","owner":"bareboat-necessities","description":"NMEA compass with IMU","archived":false,"fork":false,"pushed_at":"2026-01-19T01:33:56.000Z","size":1133,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T11:37:54.783Z","etag":null,"topics":["atoms3r","compass","imu","kalman-filter","nmea","opencpn","pypilot"],"latest_commit_sha":null,"homepage":"https://bareboat-necessities.github.io/","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/bareboat-necessities.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-14T00:57:13.000Z","updated_at":"2026-01-19T01:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bareboat-necessities/bbn_compass","commit_stats":null,"previous_names":["bareboat-necessities/bbn_compass"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bareboat-necessities/bbn_compass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bareboat-necessities%2Fbbn_compass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bareboat-necessities%2Fbbn_compass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bareboat-necessities%2Fbbn_compass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bareboat-necessities%2Fbbn_compass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bareboat-necessities","download_url":"https://codeload.github.com/bareboat-necessities/bbn_compass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bareboat-necessities%2Fbbn_compass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28595314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["atoms3r","compass","imu","kalman-filter","nmea","opencpn","pypilot"],"created_at":"2026-01-16T08:54:04.633Z","updated_at":"2026-04-12T22:26:58.707Z","avatar_url":"https://github.com/bareboat-necessities.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bbn_compass\nNMEA compass with IMU. The device will transmit NMEA-0183 sentences for magnetic heading, roll, pitch, rate of turn. \nIt can be used directly with OpenCPN running on Windows or Linux.\n\nTransmission of NMEA-0183 is via USB Serial at 115200 baud, with 10 Hz rate for NMEA sentences.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./images/bbn_compass_screen.jpg?raw=true\" style=\"width: 75%; height: auto;\" alt=\"BBN Compass pic1\" /\u003e\n\u003c/p\u003e\n\n## Hardware\n\n- M5Stack __AtomS3R__ esp32: https://docs.m5stack.com/en/core/AtomS3R\n- M5stack __ATOMIC PortABC Extension Base__: https://shop.m5stack.com/products/atomic-portabc-extension-base\n\n### Enclosure, etc\n\n- Waterproof IP67 box 4.7\"x3.5\"x2.7\" or bigger. Hinged with transparent lid, base plate and legs\n- Various cable glands\n- M3 standoffs\n- USB-C to USB-A cables with small support tang on USB-C end\n\n## Firmware \n\natomS3R_compass.ino in atomS3R is an ArduinoIDE sketch which you would need to compile and load to\natomS3R.\n\nFor required libraries and their versions check:\n.github/workflows/build.yaml\n\n## Calibration\n\nCalibration is performed directly on AtomS3R in three steps (follow instructions on the screen):\n\n- Accelerometer. On AtomS3R screen is a button (BntA). You will need to place device in 6 poses (still).\n- Gyroscope calibration is performed by putting device still with screen up.\n- Magnetometer calibration achieved by rotating device around all axes for around 45 seconds.\n- Triple press on the screen erases and restarts calibration.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./images/bbn_compass_calibration.jpg?raw=true\" style=\"width: 75%; height: auto;\" alt=\"BBN Compass pic2\" /\u003e\n\u003c/p\u003e\n\nNOTE: You would need a relatively long USB cable to be\nable to rotate the device fast and freely to give more points on\n3D sphere. \n\n## Example NMEA Sentences\n\n````nmea\n$IIXDR,A,-0.4,D,PTCH*43\n$IIXDR,A,2.3,D,ROLL*79\n$IIROT,1.9,A*2E\n$IIHDM,250.4,M*21\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbareboat-necessities%2Fbbn_compass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbareboat-necessities%2Fbbn_compass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbareboat-necessities%2Fbbn_compass/lists"}