Category: ARM Cortex

An STM32F103C8T6 based MIDI Controller for MIDI2LR (Updated)

In a previous post (here) ,  a project was introduced for those of you who use Adobe Lightroom. There is a way to use a MIDI hardware ‘box’ to control various Lightroom actions. I am told that once you use the hardware controls you will never want to go back to the software ones.  A …

Continue reading

Multiple Rotary Encoders on an STM32F103C8T6

Rotary Encoder

Rotary encoders are useful for many things.  Here is what they look like (with and without the button): They have 5 connections (Power, Ground, Data, Clock and Switch). The button can be turned (continuously in any direction) and it can also be pushed down .         The switch connection monitors the button …

Continue reading

STM32F103C8T6 Pin Tester to check your soldering

How good are you at soldering?   Here is the STM32F103C8T6  microcontroller board that I use  and have to solder all of the pins. Sometimes when I solder pins to the  board, the connection looks OK and even tests OK with continuity on a multimeter.  However, the solder connections even though they pass those two …

Continue reading

PIR Sensor and Relay Switch to turn on a Light

PIR Sensor and Relay Switch to turn on a Light

Ever wonder how a motion detector is used to turn on a light? Take a look at this graphic (made with Fritzing). It shows the circuitry that uses an STM32F103C8T6 microcontroller to control a PIR sensor and relay switch to turn on a Light. Get the Fritzing source code for the above image HERE (in …

Continue reading

An STM32F103C8T6 based MIDI Controller for MIDI2LR

MIDI2LR MIDI Controller

For those of you who use Adobe Lightroom,  there is a way to use a MIDI hardware ‘box’ to control various Lightroom actions. I am told that once you use the hardware controls you will never want to go back to the software ones. There is a Lightroom plugin called MIDI2LR which interfaces various MIDI …

Continue reading

A Wireless WEB Server on an ESP8266

This is a short post which shows how to create a wireless WEB server on an ESP8266.  It uses a microcontroller, in this case an STM32F103C8T6 (BluePill )  to send commands and control the ESP8266 Here is what the wiring looks like:.   You can get the Fritzing code for this image here.     …

Continue reading

STM32F103C8T6 Solar Power System Monitoring

If you read my last post on Solar Power System  Monitoring with an Arduino you might be wondering if that circuit could be enhanced a bit. Say, change the LCD to an OLED and add wireless (WEB server) capability? I was not happy to have to go out and look at the device when I …

Continue reading

How a Web Server on an STM32F103C8T6 can be used to control a Relay Switch

BluePill As A Web Server With A Relay

Here is the circuit showing how a Web Server on an STM32F103C8T6 can be used to control a Relay Switch: The Fritzing code used to create that diagram/image can be downloaded here. An ENC28J60 ethernet module is used to connect the STM32F103C8T6 (BluePill) to a network. Here is the source code for the sketch to …

Continue reading

Nuttx on the STM32F103C8T6

Nuttx Configuration Menu

Wouldn’t it be  C 🙄 🙄 L to have a Linux prompt on the STM32F103C8T6.  Not likely, however, Nuttx on the STM32F103C8T6 is about as close as you will get. Nuttx is a RTOS which runs on a wide range of microcontrollers including the STM32F103C8T6. To compile Nuttx for the STM32F103C8T6, a development environment needs …

Continue reading

Turn an STM32F103C8T6 (BluePill) into an STLink Programmer

STM32F103C8T6 as an ST-LINK

It is relatively easy to turn an STM32F103C8T6 (BluePill) into an STLink programmer. All that is needed is a copy of the STLink firmware and a means to flash it. Do a search for STLinkV2.J16.S4 and download it. Flash that binary file into the STM32F103C8T6. See my other post HERE on the STM32F103C8T6 as it mentions …

Continue reading

Load more