Sampling analog data

Sampling sata is particularly useful for analog sensors such as an LDR or a thermistor. Another good example is one of the MQ gas...

TSL2561 Luminosity Sensor example

The TSL2560 and TSL2561 are second-generation ambient light sensor devices. Each contains two integrating analog-to-digital converters (ADC) that integrate currents from two photodiodes. Integration...

Wemos and LIS2DH three-axis linear accelerometer example

The LIS2DH is an ultra low-power high performance three-axis linear accelerometer belonging to the “femto” family, with digital I2C/SPI serial interface standard output. The LIS2DH...
esp8266 and LPS22HB

ESP8266 and LPS22HB absolute pressure sensor example

In this article we look at another absolute pressure sensor - this time its the LPS22HB Once again lets look at this sensor from the...

ESP8266 and MMA8452 accelerometer example

In this example we will connect a MMA8452Q accelerometer  to an ESP8266 - as usual it's a Wemos Mini Lets look at the sensor The MMA8452Q is a...

Wemos and TMP36 example

The TMP35, TMP36, and TMP37 are low voltage, precision centigrade temperature sensors. They provide a voltage output that is linearly proportional to the Celsius...

Wemos Mini and LPS25H piezoresistive pressure sensor example

In this article we look at a pressure sensor - this time its the LPS25H and we will connect it to a Wemos Mini The...

ESP8266 RGB LED examples in Micropython

In this example we look at some WS2812B RGB LEDs example in Micropython for an ESP8266. Once again we use uPyCraft and again we...

Wemos Mini and LIS3MDL magnetic field sensor example

In this article we look at another sensor - this time its the LIS3MDL which is a 3-axis MEMS magnetic field sensor, digital output,...

ESP8266 and TCS34725 Color Sensor

The TCS3472 device provides a digital return of red, green, blue (RGB), and clear light sensing values. An IR blocking filter, integrated on-chip and...

Interfacing an AD keypad module to your Wemos

I purchased this module as part of a microcontroller kit, its an interesting little module as it has 16 buttons but with only 1 I/O...

Wemos Mini and HC-SR04 ultrasonic sensor

The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like bats or dolphins do. Ultrasonic ranging module HC-SR04 provides 2cm - 400cm...

PCF8575 I/O expander and ESP8266 examples

This 16-bit I/O expander for the two-line bidirectional bus (I2C) is designed for 2.5-V to 5.5-V VCC operation. The PCF8575 device provides general-purpose remote I/O...

The Wemos IR controller shield

In this small article we take a look at the IR controller shield, this is a shield which can act as an IR receiver...

Wemos and LM35 temperature sensor

In this example we will connect an LM35 temperature sensor to our Arduino The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is...

Wemos and LDR example

In this example we connect a photoresistor to an Arduino, the value read from the photoresistor corresponds to the amount of light present. The...