Most commented posts

  1. MicroPython WebREPL on Android — 23 comments
  2. ESP8266 Wi-Fi Module Revisited — 20 comments
  3. Arduino as a Network Monitor — 18 comments
  4. LM317 to output 3.3 Volts — 15 comments
  5. Explaindio Video Creator — 11 comments

Author's posts

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

Decoding an ESP8266 Firmware Image

ESP8266 Flash Tool on Windows

I recently coded a Python script for Decoding an ESP8266 Firmware Image. It’s the first part of my quest to create a Linux tool for creating a single flash image. More specifically, the script will decode a single binary image or a ‘combined’ image. A combined image (single flash image) can be created with the …

Continue reading

12V to 5V Sensor Circuit

12V to 5V Sensor Circuit with DHT11

A number of sensors are powered via 12 Volts. Some, however, need 5 Volts.  To power a remote DHT11 temperature sensor, I created a 12V to 5V sensor circuit. This is the wiring diagram: Get the Fritzing code for it HERE.       The DHT11 needs 5 volts,  ground and data. It plugs into …

Continue reading

Load more