STM32 interface WS2812B

Last month I bought an interesting RGB LED ring from Aliexpress and finally, now, it is here. So that, I’m about to present how I interfaced an STM32 MCU to WS2812B LEDs. This demo uses also FreeRTOS and HAL libraries. I wrote a simple code to make an STM32 interface WS2812B LEDs.

colorWheel

Continue reading

STM32F7-Discovery digital photo frame

I’ve just realized a digital photo frame with the newly-released STM32F7-Discovery board from ST Microelectronics. A lot of software components are used in this project, such as: FreeRTOS, STemWin (with external resource load), LCD interface.

Digital photo frame application with STM32F7 Discovery board

Digital photo frame application with STM32F7 Discovery board

Continue reading

Reuse laptop battery LiPo cell

When a laptop battery dies, often not all the elements that compose it are to be thrown away. The power management circuit or only few LiPo batteries can be broken. Commonly, a 18650 battery is quite expensive but is really simple to give those batteries a new life and enjoy not pollute the planet.

In this article I describe how to connect a positive and a negative wire to 18650 batteries without the need to buy a dedicated holder.

battery_pos_open

Continue reading

Power RGB LED

“It’s hard to be a bright light in a dim world.” 
 – Gary Starta

A common 5mm LED isn’t the best in every situation, often a bit more power is required. That’s why I’ve connected a 3W power RGB LED to an STM32F0-Discovery board.

RGB

rgb_main

Continue reading