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 …
Tag: ENC28J60
Jan 27 2018
How to keep an ENC28J60 Module from Freezing
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 …
Jan 22 2016
Arduino as a Network Monitor
I have set up an Arduino as a Network monitor so I can be silently alerted if a WEB server on the LAN/Internet goes down. In a previous post, here, I show the relay circuit I am using in this sketch to flash a CFL lamp. This sketch also uses the same ENC28J60 module to …
Jan 21 2016
Emergency Phone Call Alert to an Arduino via an Asterisk PBX
Recently, I created this simple circuit (and corresponding code) which makes an emergency phone call alert to an Arduino via an Asterisk PBX. This project was for someone who needed to be alerted (silently) if someone made an emergency phone call on their Asterisk PBX. By the way, the free and open source Asterisk PBX …
Jul 13 2015
Arduino Leonardo WEB Server to Display Temperature and Humidity
In a previous post titled Arduino Leonardo and SPI Communications, I documented how to connect the Arduino Leonardo to the ENC28J60 Ethernet module. This post takes things a bit further and adds a DHT22 Sensor. The Arduino Leonardo is used as a WEB Server to Display Temperature and Humidity information from the DHT22 sensor. The …
Jul 06 2015
Arduino Leonardo and SPI Communications
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 …
Aug 07 2014
Connecting an Arduino to a LAN with the ENC28J60
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 …
Recent Comments