Browsing Tag


Wemos LED matrix shield examples

In this article we will look at the wemos matrix shield, we will have numerous examples using the Arduino IDE The shield is an 8x8 LED matrix, this matrix is controlled by a TM1640.  The TM1640 is a LED (Light Emitting Diode Display) drive control circuit integrating MCU digital interface, digital latch, LED high voltage drive circuit, etc

Various Wemos RGB LED Shield examples

Here are a few code examples for the Wemos RGB LED Shield, the shield consists of 7 RGB LEDs (WS2812B-mini) each wtih 24-bit RGB color 9 optional control pins (Default: D4/GPIO2) It fits on a Wemos mini and is easy to create examples, you simply need to add the adafruit neopixel library in the library manager in the Arduino IDE Example 1 This is the default example #include <Adafruit_NeoPixel.h> #define PIN D4 #define LED_NUM 7 Adafruit_NeoPixel leds = Adafruit_NeoPixel(LED_NUM, PIN, NEO_GRB + NEO_KHZ800); void…

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 linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not require any external calibration or trimming to provide typical accuracies…

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 photoresistor is connected to analog pin 0 in this example. A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity. A photoresistor can be applied in light-sensitive detector circuits, and light- and…