Decoding UART, I2C and a non-standard signal // With Saleae logic analyzer and temperature sensors
#saleae #i2c #uart
Logic analyzers can be used to peak into the actual signals used to communicate data. We will also use it to decode the signals into various protocols such as asynchronous serial, I2C, and even dig into some datasheets to decode a non-standard protocol all using common sensors connected to an Arduino board.
⏰ TIMESTAMPS
0:00 Intro
0:52 Decoding asynchronous serial
3:52 Decoding I2C
10:33 Decoding a non-standard protocol
‣ Some links below are affiliate. I receive a small commission at no extra cost to you.
📻 PRODUCTS MENTIONED
Saleae 8-Channel Logic Analyzer https://amzn.to/39SJ8px
Adafruit Si7021 board https://amzn.to/3t47EvE
DHT11 sensor https://amzn.to/3d00nY2
🎩 DEMO FILES
UART Code and wiring: https://hutscape.com/tutorials/logic-analyzer-uart
I2C Code and wiring: https://hutscape.com/tutorials/logic-analyzer-i2c
Non-standard protocol code and wiring: https://hutscape.com/tutorials/logic-analyzer-signal
🔗 LINKS SHOWN
Saleae Logic Analyzer https://www.saleae.com/
Logic Analyzer vs. Oscilloscope https://articles.saleae.com/logic-analyzers/logic-analyzer-vs.-oscilloscope#differences
Supported protocols https://support.saleae.com/protocol-analyzers/supported-protocols
Decoding UART https://support.saleae.com/protocol-analyzers/analyzer-user-guides/decode-uart
Binary to ASCII https://www.binaryhexconverter.com/binary-to-ascii-text-converter
Adafruit Si7021 breakout board https://www.adafruit.com/product/3251
Si7021 Datasheet https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf
DHT11 sensor https://learn.adafruit.com/dht
DHT11 datasheet from Mouser https://www.mouser.com/ds/2/758/DHT11-Technical-Data-Sheet-Translated-Version-1143054.pdf
DHT11 datasheet http://www.produktinfo.conrad.com/datenblaetter/1400000-1499999/001405544-da-01-en-TEMP_UND_FEUCHTESENSOR_DHT11.pdf
🔌 TOOLS USED
https://hutscape.com/tools