3 Like 0 Dislike
Notice: it should be '3' instead of '2' at 8:07 STM32F0 I2C Tutorial based on CubeMx and HAL library. In this part, I'll show how to connect to an HDC1080 temperature and humidity sensor through I2C communication. The sensor is sponsored by icstation.com. STMStudio tutorial: https://youtu.be/eTp-oUD7YwA Detailed explanation and code will be updated at: https://letanphuc.net/2017/05/stm32f0-i2c-tutorial-7/ Music: Nowhere Land By: Kevin Macleod
Learn how the I2C-bus can simplify you design time and maximize functionality.
Please watch: "Buildyourcnc CNC Router on Love Yurts" https://www.youtube.com/watch?v=90KkIO-67Qk --~-- Patrick's Tip Jar: bitcoin:1Gtawd29Sgu5CdvfUnkRg1YBfowCawjFdH Ether:0xa962365100011B79097A7bb9DD51A53eE98266bb If you have found this video to be helpful, consider making a tip. Thanks. In this video, I introduce the concept of I2C or TWI and explain the common use of the protocol and how to set it up. This is part one. Part two will delve into the circuit that we will use for the example. Equipment that I use to make videos: Canon EOS Rebel: http://amzn.to/2rJSeh0 Macro Lens: http://amzn.to/2qaSKmK Microphone: http://amzn.to/2qO2RB4 3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): http://amzn.to/2ruFnSn The drafting pencil I use on these videos: http://amzn.to/2qioYg2 The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials): http://amzn.to/2rSHnBa A better oscilloscope and the one I would recommend: http://amzn.to/2qizK5M The brand of multimeter that I use and the one I recommend: http://amzn.to/2qicUez Want to have your own Patreon campaign? https://patreon.com/invite/wpllxz
Here's a quick 10 minute look at the features available on the very cheap STM32 F0 Discovery board. This board costs less than 10 dollars and features a 48MHz 64Kb/8Kb 32-bit Cortex M0 MCU. In this writer's humble opinion the Cortex M0 deserves to be the new Arduino. All it's really missing is availability in a DIP package for true accessibility by hobbyists of all abilities.
Downloading the CORE library and adding its files to a MPLABX project
This video show how Great Cow Basic can be used to discover I2C devices. This shows many devices being discovered on the I2C bus.
This demonstrates I2C discovery and show I2C code examples. This uses the Great Cow Basic October 2013 I2C code.