SLR Film Camera – Stage One

A couple of years back, I decided to make my own film camera that had to be an open project in order to secure the film consumption. I chose an STM32 microcontroller but ended up developing my own Visual Pin Configurator for it. This took around two years detour - still in constant development but … Continue reading SLR Film Camera – Stage One

ST7735R mini library demonstration

Unlike before, I will present this project/demonstration as a tutorial, to familiarize some random wanderer with the way you create projects in VPC. It is supposed that you watched the movie that helps you set the environment (is posted at the end of the "What is VPC" page), and also you have installed the other … Continue reading ST7735R mini library demonstration

Slotted non-blocking delays example (L152)

https://youtu.be/dGHoElzJrGg Name of the project l152_slotted_nb_delays Description Application will simultaneously blink 4 LEDs at 4 different speeds. This is a demonstration for the library presented in the previous article. It is a simple app, but more complex ones can be written like simultaneously scrolling a text on 4 (or more) 7seg LED displays. reading temperature … Continue reading Slotted non-blocking delays example (L152)

PCF8583 RTC alarm weekdays example (L152)

Name of the project l152_pcf8583_alarm_weekdays_lcd Description The project demonstrate setting the alarm that will repeat for certain days of the week, at user's choice. Code snippet (initial code, project structure and VSCode files generated by VPC): uint8_t pcf8583_active_alarm = 0; void EXTI15_10_IRQHandler(void) { // Here would be the B1 pin interrupt handler (do where it … Continue reading PCF8583 RTC alarm weekdays example (L152)

PCF8583 RTC alarm daily example (L152)

Name of the project l152_pcf8583_alarm_daily_lcd Description The project demonstrate the setting and use of a daily alarm. The user button is used to stop the alarm. Code snippet (initial code, project structure and VSCode files generated by VPC): uint8_t pcf8583_active_alarm = 0; void EXTI15_10_IRQHandler(void) { // Here would be the B1 pin interrupt handler (do … Continue reading PCF8583 RTC alarm daily example (L152)

PCF8583 RTC examples (L152)

Name of the projects l152_pcf8583_watch_lcdl152_pcf8583_watch_lcd_sw_i2c Description The projects shows on a 2x16 LCD the current hour and date that are read from a PCF8583 RTC IC connected on hardware or software I2C. Code snippet (initial code, project structure and VSCode files generated by VPC): uint8_t s[4]; // buffer used for conversions int main(void) { /* … Continue reading PCF8583 RTC examples (L152)

MAX44009 LUX sensor examples (L152)

Name of the projects l152_max44009_hw_i2cl152_max44009_sw_i2c Description The projects send data to a PC via a serial connection from a LUX light sensor that is read via a hardware or software I2C. Code snippet (initial code, project structure and VSCode files generated by VPC - only one project presented here): char t32_buff[25]; const uint8_t str1[] = … Continue reading MAX44009 LUX sensor examples (L152)

UART Hello World example (L152)

Name of the project l152_uart_hello Description The project will sent the "Hello World!" phrase via serial at every 1000 milliseconds at a speed of 19200 bps. Code snippet (initial code, project structure and VSCode files generated by VPC): const uint8_t str[] = "Hello World!\r\n"; int main(void){ /* local variables */ /* mandatory system initializations */ … Continue reading UART Hello World example (L152)