Category: Informational

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 (BluePlll) into an STLink Programmer

BluePill as an Stlink Programmer

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

Push a Button and Play a Video

4 Pin Button

To motivate and engage sales people,¬†have a big red button to push when a sale is made.¬†They push a button and play a video. Something fun! Add flashing lights for extra effect! Here are two different means to accomplish this. One solution involves an Arduino UNO serially attached to a PC running¬† the Windows OS. …

Continue reading

Pulse Width Modulation

MicroControllers are digital devices and usually do not have built in digital to analog converters (or DACs) to output an analog signal.¬†Some, however, do have analog input. For digital output,¬†the voltage is one of two values. Output voltage is either 0 volts or near equal to the voltage source (‘off’ or ‘on’). Using a technique …

Continue reading

PIC Timer0 Code Generator and Calculator

PicKit2 PIC12F675

I needed an easy way to calculate Microchip PIC timer 0 values, so I created the PIC Timer0 Code Generator and Calculator.¬† If you are not familiar with PIC timers, there is a handy tutorial HERE. The calculator part, is a spreadsheet which calculates the timings and timer 0 frequency counter needed, given the¬† required …

Continue reading

Controlling Things Based on Light Intensity

PIC12F683 with LDR

A PhotoCell or LDR (Light Dependent Resistor), used in a circuit, allows controlling things based on light intensity. Here is a circuit showing how to wire an LDR and¬†demonstrates how controlling things based on light intensity is possible with a little help from a microcontroller. The thing being controlled in this circuit is simply an …

Continue reading

How to keep an ENC28J60 Module from Freezing

ENC28J60 LAN Module

The ENC28J60 module is good for attaching an Arduino to a LAN or the Internet. The one real problem in doing so is how to keep an ENC28J60 module from freezing. No, not temperature wise ! ūüôĄ¬† (‘Freezing’ in the sense of locking up, stop working, etc.) There are many Ethernet¬† arduino libraries for the …

Continue reading

Switching 12V from a 5V Arduino

Switch 12V

I built a circuit to allow switching 12V from a 5V Arduino. Here is the wiring diagram and a picture of the actual circuit:         Get the Fritzing source HERE.¬† The side with two connections attaches to the 12V device being switched ON/OFF. The side with three¬† connectors,¬† connects to the 12V …

Continue reading

Load more