Magnetometer and Compass Introduction Magnetometers measure magnetic field. The electronic devices available are very sensitive, and can measure fields down to the...
The Hardware The CPU card The ESP8266 CPU card has the following pinouts: There are two different ESP32 CPU cards available for the WeMos D1 mini bus. The first card...
Moisture sensors Different types of sensors There are two different types of moisture sensors: resistive sensors, measuring the resistance between two electrodes...
TCS3200 Color Sensor Introduction The TCS3200 color sensor comes on PCBs with slightly different layout: The main difference between these modules is that...
The Magic Wand Example Introduction The magic wand example shows how to detect gestures using an accelerometer. Different types of accelerometers are easily available...
The Sharp GP2Y1010AU0F sensor Connections The circuit diagram below is taken from the GP2Y1010AU data sheet. Here is the connection table: GP2Y1010AU0F WeMos...
Exercise 5: The I2C bus and the SHT30 Temperature and Humidity Sensor Introduction While the DHT11 uses a proprietary protocol the SHT30 make use of a standardized...
The SHT30 I2C Temperature and Humidity Sensor Introduction The SHT30 is a temperature and humidity sensor that communicates over the I2C bus. Typical accuracy for...
Exercise 3: Switches Introduction Switches exist in various incarnations. There are the simple mechanical switches: on/off or push button switches but there are also...