https://github.com/kartben/mxchip-serial-capture
https://github.com/kartben/mxchip-serial-capture
json-lines mxchip sensor-data sensor-data-collection
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kartben/mxchip-serial-capture
- Owner: kartben
- License: mit
- Created: 2020-03-24T16:53:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T13:37:49.000Z (about 6 years ago)
- Last Synced: 2025-04-19T18:51:21.550Z (about 1 year ago)
- Topics: json-lines, mxchip, sensor-data, sensor-data-collection
- Language: C++
- Homepage:
- Size: 167 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to mxchip-serial-capture 👋
[](/LICENSE)
[](https://twitter.com/kartben)
> A very simple MXChip AZ3166 application that dumps sensor data (accelerometer & gyroscope) as [JSON lines](http://jsonlines.org/) on the Serial port.
>
> ```
> ************************************************
> ** MXChip - Microsoft IoT Developer Kit **
> ************************************************
> You can 1. press Button A and reset to enter configuration mode.
> 1. press Button B and reset to enter AP mode.
> [67,-24,1031,1820,-2800,-70]
> [68,-24,1030,1820,-2730,-70]
> [68,-24,1030,1820,-2730,-70]
> [68,-23,1030,1820,-2730,-70]
> [68,-24,1030,1820,-2800,-70]
> [68,-24,1030,1820,-2800,-70]
> …
> ```
>
> You can either build your own firmware from source, or simply download this [pre-built binary](https://raw.githubusercontent.com/kartben/mxchip-serial-capture/master/mxchip-serial-capture.bin), and directly install it on your MXChip. To do so, connect the device to your development machine using a USB cable, and copy the `mxchip-serial-capture.bin` file onto the XXX that should have automatically appeared (ex. `D:\` on Windows). When the copying is complete, the device reboots with the new firmware.
>
> Note: The accelerometer and gyroscope values are sampled and dumped to the UART as fast as possible, at a rate of around 150 Hz. It is probably possible to achieve higher rates by switching to a more efficient (binary) encoding of the values. [Pull requests](https://github.com/kartben/mxchip-serial-capture/pulls) are welcome!
## Author
👤 **Benjamin Cabé**
* Website: https://blog.benjamin-cabe.com
* Twitter: [@kartben](https://twitter.com/kartben)
* Github: [@kartben](https://github.com/kartben)
* LinkedIn: [@benjamincabe](https://linkedin.com/in/benjamincabe)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/kartben/mxchip-serial-capture/issues).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Benjamin Cabé](https://github.com/kartben).
This project is [MIT](/LICENSE) licensed.
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_