View capture_photo.py
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
import time | |
from picamera2 import Picamera2, Preview | |
picam2 = Picamera2() | |
picam2.start_preview(Preview.QTGL) | |
preview_config = picam2.create_preview_configuration() | |
capture_config = picam2.create_still_configuration() | |
picam2.configure(preview_config) |
View capture_video.py
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/python3 | |
# Video result: | |
# https://www.facebook.com/idriszmyblog/videos/6655806037765900 | |
import time | |
from gpiozero import Button | |
from picamera2 import Picamera2 | |
from picamera2.encoders import H264Encoder |
View NanoRP2040Theramin.ino
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
#define echoPin 12 | |
#define trigPin 13 | |
#define led1 14 | |
#define led2 15 | |
#define buzzer 22 // buzzer pin in Maker Nano RP2040 is 22 | |
// defines variables | |
long duration; // variable for the duration of sound wave travel | |
int distance; // variable for the distance measurement |
View code.py
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
# | |
# Display bitmap file on SSD1315 OLED using Raspberry Pi Pico W and CircuitPython | |
# | |
# References and credit to | |
# - https://tutorial.cytron.io/2021/12/21/display-image-on-the-graphic-lcd-using-maker-nano-rp2040-and-circuitpython/ | |
# | |
# Raspberry Pi Pico W | |
# - [Maker Pi Pico Mini] https://my.cytron.io/p-maker-pi-pico-mini-simplifying-projects-with-raspberry-pi-pico | |
# Arduino Grove Sensor Kit for Beginner, OR | |
# - https://my.cytron.io/p-arduino-grove-sensor-kit-for-beginner |
View code.py
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
""" | |
Telegram Bot using CircuitPython on Raspberry Pi Pico W | |
Items: | |
- Maker Pi Pico Mini | |
https://my.cytron.io/p-maker-pi-pico-mini-simplifying-projects-with-raspberry-pi-pico | |
- USB Micro B Cable | |
https://my.cytron.io/p-usb-micro-b-cable | |
CircuitPython Raspberry Pi Pico W |
View main.py
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
import time | |
from microbit import * | |
import music | |
import rekabit | |
rekabit.init() | |
def get_voltage(): | |
return (pin1.read_analog() * 3.3) / 1023 |
View RP2040_ESP8266_Blynk.ino
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
/* | |
Connect RP2040 + ESP8266 board to the new Blynk (https://blynk.io) | |
Items: | |
- Maker Nano RP2040 | |
https://my.cytron.io/maker-nano-rp2040-simplifying-projects-with-raspberry-pi-rp2040 | |
- Grove WiFi 8266 | |
https://my.cytron.io/p-grove-wifi-8266-iot-for-microbit-and-beyond | |
Connections |
View code.py
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
""" | |
Bluetooth HC-05 master-slave configuration using CircuitPython | |
Items: | |
- Maker Pi Pico | |
https://my.cytron.io/p-maker-pi-pico | |
- Bluetooth Serial Transceiver HC-05 | |
https://my.cytron.io/p-bluetooth-serial-transceiver-hc-05 | |
- USB Micro B Cable | |
https://my.cytron.io/p-usb-micro-b-cable |
View ESP32SIM800LSMSRelay.ino
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: Send and receive SMS using 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 | |
Output: | |
- 1CH Active H/L 5V OptoCoupler Relay Module | |
https://my.cytron.io/c-electronic-components/c-relays/p-1ch-active-h-l-5v-optocoupler-relay-module |
View code.py
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
""" | |
WiFi Neopixel RGB LED using CircuitPython on Maker Pi Pico | |
Items: | |
- Maker Pi Pico | |
https://my.cytron.io/p-maker-pi-pico | |
- ESP8266 ESP-01 WiFi Serial Transceiver Module | |
https://my.cytron.io/p-esp-01-wifi-serial-transceiver-module-esp8266 | |
- NeoPixel 8x32 LED Panel | |
https://my.cytron.io/p-ws2812b-neopixel-8x32-led-panel-256-led |
NewerOlder