No video

Getting Started With STM32 and Nucleo Part 2: How to Use I2C to Read Temperature Sensor TMP102

  Рет қаралды 263,975

DigiKey

DigiKey

5 жыл бұрын

Let’s take our STM32 to the next level and communicate with a sensor. We’ll use the I2C protocol to send and receive messages with a TI TMP102.
In this video, we’ll show you how to use the STM32CubeIDE to create a new project and write a few simple STM32 HAL commands to transmit messages across the I2C bus. We’ll read temperature data from a TMP102 sensor and then calculate a readable temperature in Celsius from that information. Finally, we’ll use the STM32’s UART peripheral to transmit that temperature data back to our computer to read on a serial console.
The STM32 series is based on the ARM Cortex architectures. Specifically, we’ll be looking at the STM32 Arm Cortex-M microcontrollers. To make life easier, we’ll be using STMicroelectronics’ official Nucleo development boards (the Nucleo-L476RG in particular).
WRITTEN TUTORIAL
If you would like to see the steps performed in this video in written form, please see the tutorial here: www.digikey.co...
Wishlist (shared cart): www.digikey.co...
ADDITIONAL RESOURCES
Related Projects www.digikey.co...
Download STM32CubeIDE: www.st.com/en/...
STM32 HAL documentation (click on family from graphic and then Resources tab) : www.st.com/en/...
SparkFun I2C Tutorial: learn.sparkfun...
Maker.io: www.digikey.co...
Digi-Key’s Blog - TheCircuit: www.digikey.co...
Connect with Digi-Key on Facebook: / digikey.electronics
And follow us on Twitter: / digikey

Пікірлер: 135
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 10 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 14 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 6 МЛН
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 475 М.
Blue-pill STM32 Programming Using ST-LINK V2 Dongle
7:53
0033mer
Рет қаралды 236 М.
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Рет қаралды 204 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
I2C introduction: The protocol
15:47
Texas Instruments
Рет қаралды 44 М.
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 10 МЛН