Browsing Category

Code

Wemos Mini read the state of a switch

In the previous examples using theWemos Mini we controlled an led and an rgb led using pins as outputs but you can also easily monitor the state of an input, in this case we will use a switch Basically it will be a web page which shows…

Controlling an RGB led using a Wemos Mini

In this example we will connect an RGB led to a Wemos Mini, we will then create an example web page that will display buttons to switch on and off the various individual leds of an RGB led. Our code example is based on a common cathode RGB…

Wemos flash an LED on and off webserver example

In this example we will create a basic webserver example using our Wemos D1, it will connect to your Wifi network and then you will navigate to a URL and a basic page will appear. This page will display 2 links , one will switch on an led …

Arduino ethernet shield read switch example

In the previous examples using the Ethernet Shield for the Arduino we controlled an led and an rgb led using pins as outputs but you can also easily monitor the state of an input, in this case we will use a switch Basically it will be a web…

Control an LED from a Web browser with an Arduino

A simple way of adding network access to your Arduino Uno and Mega is the Ethernet Shield, there are a few clones out there but they all generally work the same way. The Arduino Ethernet Shield allows an Arduino board to connect to the…