Tag: Arduino

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

5 Way Navigation Button connected to an Arduino or STM32F103C8T6

A 5 way navigation button actually has 7 different navigational settings. It has a lot of functionality in a small package.  The ‘button’ on it can be moved/pushed in 4 directions ( labeled up, down, left, right)  or pressed down. There are also two other switched buttons labeled ‘Set’ and ‘Reset’ for a total of …

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

I2C Wire Chat Between Two Arduinos

Arduino 2Wite Chat

Someone asked me the other day if it was possible to have a ‘chat’ between Arduinos using the I2C Wire library. I came up with  ‘proof of concept’ code called ‘I2C Wire Chat Between Two Arduinos’. Here is the sketch: I2C Wire Chat Between Two Arduinos

Setup two Arduinos connected by a length of …

Continue reading

A Python script to run the Arduino MiniPirate Sketch

A while back I wrote about the BusPirate. You can view that post here. In it, I mention an Arduino sketch called the “MiniPirate” which allows you  to try some of the functions of the BusPirate on an Arduino. Over time, I have found that sketch to be very useful. You can use it to …

Continue reading

Arduino Leonardo and SPI Communications

Arduino Leonardo and SPI Communications using the ENC28J60 ethernet module

I just found out that my favorite Arduino of choice (the Leonardo) has a problem with SPI  “Serial Peripheral Interface” communications (if you need to use the SS pin).  For SPI (which is bidirectional) , the following pins are normally used: SS – Slave Select – digital 10. You can use other digital pins, but …

Continue reading

Wireless Bluetooth Module for your Arduino

Serial Bluetooth Module

If you’d like to wirelessly attach your Arduino to another device (such as a phone or tablet) via bluetooth, I’d recommend the serial bluetooth module from Elecrow.com. Here is what they look like:     The module has firmware from BOLUTEK. The PDF document with all of the available BOLUTEK commands is BLK-MD-BC04-B_AT COMMANDS . I …

Continue reading

Connecting an Arduino to a LAN with the ENC28J60

ENC28J60 LAN Module

I picked up a couple of these modules:   from Elecrow.com so I could attach (communicate with and control) several of my Arduinos through a LAN connection. The main chip is the ENC28J60 from microchip.com. These modules are better than an Ethernet Shield in that you can easily attach these to any Arduino and they …

Continue reading

Atmel versus PIC Microcontrollers

Many years ago (I am old  ;-)) I was asked which microcontrollers are  best, ones from PIC (microchip.com) or ones from  Atmel (atmel.com). At the time I was asked, there was a lot of discussion about chip architecture, instruction sets and which chip was best. I thought at the time and still feel this way, …

Continue reading