The goal of this post is to control a pretty much standard RGB LED strip using a microcontroller. I tried the code below on some PIC16F18855/75 and PIC18F47K42 but should work pretty much the same on any. Originally I implemented…
Month: March 2019
BM78 Commands and Events in Application-Mode
In my previous post https://blog.kubovy.eu/2019/02/09/bm78-bluetooth-module-first-glance/ we looked into basics of the BM78 module. Now lets talk about commanding this module in detail. Operating the BM78 module is done over UART commands send to the module. The module’s response is an…
State Machine for Microcontrollers
The will come a time when you will want to make a device which you can kind of program or configure during runtime. This configuration or program will than be telling the microcontroller what to do, how to behave enabling…
Memory modules over I2C
Memory is one of the resource you will miss on microcontrollers. Also not all microcontrollers allow you to store data during power loss / restarts. When developing embedded devices you may want to take idempotency and statelessness into consideration since…