Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added an example of using pigpio to implement the SENT interface #419

Merged
merged 1 commit into from
Dec 22, 2020

Conversation

drkmsmithjr
Copy link
Contributor

Single edge nibble transmission (SENT) is an automotive standard single wire interface for robust communication
with sensors in a car, but the standard can be used anywhere for robust sensor communication. It has error detection
including CRC checking and can send multiple channels of data on the same wire.

This example started with the pigpio PWM example and expanded it to work with SENT. The biggest addition was the
addition of the threading module to allow complete 3us tick time SENT frames to be sampled and processed with the raspberry
pi.

The code was tested on the raspberry pi zero with 3us and larger tick time SENT signal. (3us is the smallest tick time of the standard)

There is a write up and short video about it on the
Blog: https://surfncircuits.com/2020/11/27/implementing-a-single-edge-nibble-transmission-sent-protocol-in-python-for-the-raspberry-pi-zero/

For more info.
https://en.wikipedia.org/wiki/SENT_(protocol)

Thanks for the help with sending pull requests. Let me know if you need anything else or any questions.

…terface.

SENT is an automotive standard single wire interface for robust communication
with sensors in a car, but the standard can be used anywhere.   It has error detection
including CRC checking.  There is a write up about it on the
Blog:   https://surfncircuits.com/2020/11/27/implementing-a-single-edge-nibble-transmission-sent-protocol-in-python-for-the-raspberry-pi-zero/
@guymcswain guymcswain merged commit 2a73c0f into joan2937:develop Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants