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

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

STM32F4-Discovery LCD Touchscreen

It’s time to write about a more complex but interesting connection with the STM32F4-Discovery board. Since I started developing with electronics, I’ve found a lot of applications in which an LCD is needed or can be an added value, specially if it includes a Touchscreen.

stm32f4_ssd1289

Continue reading

HC-SR04 Ultrasonic Range Finder

The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package, from about 3cm to 300cm. Its operation is not affected by sunlight or black material like other kind of sensor, although acoustically soft materials like cloth can be difficult to detect – at least in the far range. It comes complete with ultrasonic transmitter and receiver module.

hc-sr04_module

Continue reading