This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: Covid19 Data (Malaysia) Display Using ESP32 and Dot Matrix | |
Hardware: | |
- Node32 Lite | |
https://my.cytron.io/p-node32-lite-wifi-and-bluetooth-development-kit?tracking=idris | |
- 4 In 1 MAX7219 Dot Matrix Display Module | |
https://my.cytron.io/p-4-in-1-max7219-dot-matrix-display-module?tracking=idris | |
External libraries: | |
- MD_MAX72XX by majicDesigns Version 3.2.1 (Library Manager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: Build Your Own Portable Contactless Temperature Reader | |
Hardware: | |
- TTGO T-Display ESP32 | |
https://my.cytron.io/p-ttgo-t-display-esp32-1.14-display-module-presolder-header?tracking=idris | |
- MLX90614 Non-Contact Infrared Temperature Sensor | |
https://my.cytron.io/p-mlx90614-non-contact-infrared-temperature-sensor?tracking=idris | |
External libraries: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: Build Your Own Portable Contactless Temperature Reader | |
Hardware: | |
- TTGO T-Display ESP32 | |
https://my.cytron.io/p-ttgo-t-display-esp32-1.14-display-module-presolder-header?tracking=idris | |
- MLX90614 Non-Contact Infrared Temperature Sensor | |
https://my.cytron.io/p-mlx90614-non-contact-infrared-temperature-sensor?tracking=idris | |
External libraries: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: IoT scoreboard using Teensy and ESP8266 with Blynk app | |
Hardware: | |
- Teensy LC (Low Cost) Controller Board | |
https://my.cytron.io/p-teensy-lc-low-cost-controller-board?tracking=idris | |
- ESP-01 WiFi Serial Transceiver Module (ESP8266) | |
https://my.cytron.io/p-esp-01-wifi-serial-transceiver-module-esp8266?tracking=idris | |
- WS2812B NeoPixel 8x32 LED Panel-256 LED | |
https://my.cytron.io/p-ws2812b-neopixel-8x32-led-panel-256-led?tracking=idris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import RPi.GPIO as GPIO | |
from gpiozero import Button, Buzzer | |
from time import sleep | |
from mfrc522 import SimpleMFRC522 | |
import sys | |
GPIO.setwarnings(False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gpiozero import LED | |
import Adafruit_DHT | |
import BlynkLib | |
from time import time | |
# Initialize Blynk | |
BLYNK_AUTH = 'YourBlynkAuthToken' | |
blynk = BlynkLib.Blynk(BLYNK_AUTH) | |
led8 = LED(19) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: Log Sensor's Data to Blynk Server Using GPRS on TTGO ESP32 SIM800L | |
Board: | |
- TTGO T-Call ESP32 with SIM800L GPRS Module | |
https://my.cytron.io/p-ttgo-t-call-esp32-with-sim800l-gprs-module | |
Sensor: | |
- MPL3115A2 I2C Barometric/Altitude/Temperature Sensor | |
https://my.cytron.io/p-mpl3115a2-i2c-barometric-altitude-temperature-sensor | |
Connection ESP32 | MPL3115A2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tutorial: Control Stepper Motor Through Google Assistant Using IFTTT and Adafruit IO on ESP32 | |
Board: | |
- TTGO T-Display ESP32 1.14 Display Module | |
https://my.cytron.io/p-ttgo-t-display-esp32-1.14-display-module-presolder-header | |
Actuator: | |
- 12V 28BYJ-48 Stepper Motor | |
https://my.cytron.io/c-motor-and-motor-driver/c-dc-motor/c-stepper-motor/p-12v-28byj-48-stepper-motor-plus-uln2003-driver-board | |
Connection Battery | Stepper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <TFT_eSPI.h> | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_MLX90614.h> | |
#include <WiFi.h> | |
#include "Adafruit_MQTT.h" | |
#include "Adafruit_MQTT_Client.h" | |
#define WLAN_SSID "YourSSID" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Program with Particle Web IDE | |
Board (tested with): | |
- Raspberry Pi Zero WH | |
- Raspberry Pi 3 Model A+ | |
*/ | |
const int led1 = D1; // D1 is refer to GPIO17 | |
const int led8 = D2; // D2 is refer to GPIO27 | |
const int buzzer = D8; |