Skip to content

Instantly share code, notes, and snippets.

View IdrisCytron's full-sized avatar

Idris Zainal Abidin IdrisCytron

View GitHub Profile
/*
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)
@IdrisCytron
IdrisCytron / ESPNow1MLX90614.ino
Last active March 24, 2020 04:19
Send Data Wirelessly Between ESP32 Using ESPNow.
/*
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:
@IdrisCytron
IdrisCytron / ESP32ContactlessTemperatureReader.ino
Created March 17, 2020 23:12
Build your own Portable Contactless Temperature (celsius) Reader for #Covid19
/*
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:
@IdrisCytron
IdrisCytron / TeensyBlynkScoreboard.ino
Last active March 17, 2020 23:02
IoT scoreboard using Teensy and ESP8266 with Arduino IDE
/*
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
@IdrisCytron
IdrisCytron / RC522ReadWrite.py
Last active September 12, 2022 17:32
Read and write RFid data using RC522 on Raspberry Pi.
#!/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)
@IdrisCytron
IdrisCytron / BlynkDHT22.py
Created February 4, 2020 03:08
Control LED through Blynk V0 and read sensor data from Blynk V1 and V2.
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)
@IdrisCytron
IdrisCytron / ESP32SIM800LBlynkSuperChart.ino
Last active July 26, 2020 14:29
Log Sensor's Data to Blynk Server Using GPRS on TTGO ESP32 SIM800L
/*
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
@IdrisCytron
IdrisCytron / ESP32AssistantStepper.ino
Last active January 21, 2020 02:38
Control Stepper Motor Through Google Assistant Using IFTTT and Adafruit IO on ESP32
/*
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
@IdrisCytron
IdrisCytron / ESP32AIOMLX90614.ino
Last active May 19, 2023 10:00
Send Sensors Data (MLX90614) to Adaftuit IO Using ESP32.
#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"
@IdrisCytron
IdrisCytron / PiGoogleAsstEvent.ino
Last active January 2, 2020 08:22
Particle event handler for IFTTT Google Assistant.
/*
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;