Category: STM32F103C8T6

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. The new STM32F103C8T6 STLink can then be upgraded to the latest …

Continue reading

The Arduino Command Line Interface (CLI)

The Arduino folks just came out with the Arduino Command Line Interface (CLI) : Announcing the Arduino Command Line Interface (CLI) A while back, I wrote about the  Arduino-Builder which is what the Arduino IDE invokes behind the scenes to compile the sketch. (That post is here.) Now, with the Arduino Command Line Interface, everything …

Continue reading

STM32F103C8T6 DIY Programming Cradle

STM32F103C8T6 DIY Programming Cradle

I recently created an STM32F103C8T6 DIY programming cradle. Here is what it looks like: It comes in handy when you need to program a bunch of STM32F103C8T6s. (Note: I made a similar ‘cradle’ for programming bunches of ESP8266s’.  Read about that here.) A standard USB to serial converter is attached to the 6 pin header …

Continue reading

Best Kept Secret

Yes, it is an ambiguous topic. No, I don’t think it should be hidden, however, the fact that this topic does not seem to garner much press could mean it has been a best kept secret. The “best kept secret” is the programming language Forth. For reference, take a look at “A  Beginner’s Guide to …

Continue reading

How to convert an STM32F103C8T6 into a Black Magic Probe

STM32F103C8T6 with ST-LINK V2

There are several tutorials on the internet showing how to convert an STM32F103C8T6 into a Black Magic Probe. Unfortunately, none of them worked for me. So, I decided to write this post in case others run into the same problem as I did. The problem I ran into was the memory size of the STM32F103C8T6 …

Continue reading