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 microbit import * | |
import music | |
music.play(["C4:1", "G4:1"]) | |
pot_value = 0 | |
pot_prev = 0 | |
data_in = '' | |
while True: |
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, Button, Buzzer | |
import cv2 | |
import re | |
import csv | |
led = LED(19) | |
sw1 = Button(21) | |
buzzer = Buzzer(26) |
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, Button, Buzzer | |
import cv2 | |
import re | |
led = LED(19) | |
sw1 = Button(21) | |
buzzer = Buzzer(26) | |
cap = cv2.VideoCapture(0) |
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 Buzzer, DigitalInputDevice | |
import telepot | |
import picamera | |
sensor = DigitalInputDevice(17, pull_up=True) | |
buzzer = Buzzer(26) | |
def handle(msg): | |
global telegramText | |
global chat_id |
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
/* | |
Project: Monitor Temperature Humidity Using IoT Telegram Bot on ESP32 | |
Board: ESP32 Dev Module (TTGO T-Display ESP32) | |
Connections: | |
ESP32 | DHT22 | |
5V - VCC | |
GND - GND | |
IO27 - DAT | |
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
/* | |
Project: Display Heart Rate Data on IoT Blynk Using Arduino (Maker UNO) | |
Board: Arduino Uno (Maker UNO) | |
Connections: | |
Maker UNO | Finger-clip Heart Rate | |
5V - VCC | |
GND - GND | |
SDA - SDA | |
SCL - SCL |
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: Program ESP32-S2 Using Arduino IDE (Unofficial) | |
Board: ESP32S2 (Cucumber from Gravitech) | |
External libraries: | |
- Adafruit NeoPixel V1.5.0 (Manager) | |
*/ | |
#include <Adafruit_NeoPixel.h> | |
#define PIN 18 |
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
/* | |
Project: Social Distancing Alert Wristband Using Arduino (Maker Nano) | |
Board: Arduino Nano (Maker Nano) | |
Connections: | |
Nano | VL53L0X | |
5V - VIN | |
GND - GND | |
A4 - SDA | |
A5 - SCL |
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, Buzzer, Button, OutputDevice | |
from time import time, sleep, strftime | |
from datetime import datetime | |
import telepot | |
led1 = LED(17) | |
led2 = LED(18) | |
led3 = LED(27) | |
led4 = LED(22) | |
led5 = LED(25) |
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
/* | |
Project: WS2812 Ring LED clock with NTP server using ESP32 | |
Board: ESP32 Dev Module (Node32 Lite) | |
Connections: | |
ESP32 | OLED Strip | |
RAW - VCC | |
GND - GND | |
25 - DIN | |