Skip to content

Instantly share code, notes, and snippets.

View idriszmy's full-sized avatar

Idris Zainal Abidin idriszmy

View GitHub Profile
@idriszmy
idriszmy / code.py
Last active August 9, 2024 22:29
Telegram Bot using CircuitPython on Raspberry Pi Pico W
"""
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
@idriszmy
idriszmy / main.py
Created October 6, 2022 05:48
ZOOM:BIT line following robot and detect junctions.
import time
from microbit import *
import music
import rekabit
rekabit.init()
def get_voltage():
return (pin1.read_analog() * 3.3) / 1023
@idriszmy
idriszmy / RP2040_ESP8266_Blynk.ino
Last active August 17, 2022 13:11
Connect RP2040 + ESP8266 board to the new Blynk
/*
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
@idriszmy
idriszmy / code.py
Created May 30, 2022 07:00
Bluetooth HC-05 master-slave configuration using CircuitPython.
"""
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
@idriszmy
idriszmy / ESP32SIM800LSMSRelay.ino
Created May 17, 2022 09:34
Send and receive SMS using TTGO ESP32 SIM800L
/*
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
@idriszmy
idriszmy / code.py
Last active May 8, 2022 05:42
WiFi Neopixel RGB LED using CircuitPython on Maker Pi Pico
"""
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
@idriszmy
idriszmy / code.py
Created April 18, 2022 08:39
Color (RGB) detector using CircuitPython on Raspberry Pi Pico
"""
Color (RGB) detector using CircuitPython on Raspberry Pi Pico.
Items:
- Raspberry Pi Pico
https://my.cytron.io/p-raspberry-pi-pico-board
- Colour Sensor Module
https://my.cytron.io/p-colour-sensor-module
- I2C 1602 Serial LCD
https://my.cytron.io/p-i2c-1602-serial-lcd-for-arduino-and-rpi
@idriszmy
idriszmy / code.py
Created April 11, 2022 09:20
Bidirectional Visitor Counter using CircuitPython on Maker Nano RP2040.
"""
Bidirectional Visitor Counter using CircuitPython on Maker Nano RP2040.
Items:
- Maker Nano RP2040
https://my.cytron.io/maker-nano-rp2040-simplifying-projects-with-raspberry-pi-rp2040
- IO Expansion Shield for Arduino Nano
https://my.cytron.io/p-io-expansion-shield-for-arduino-nano
- Adjustable Infrared Sensor Switch
https://my.cytron.io/c-sensor/c-optical-infrared-sensor/p-adjustable-infrared-sensor-switch
@idriszmy
idriszmy / code.py
Last active March 28, 2022 08:03
Program Otto DIY robot for basic movements with CircuitPython
"""
Program Otto DIY robot for basic movements with CircuitPython
https://youtu.be/yhI3i0DSZoo
Board:
- Maker Nano RP2040
https://my.cytron.io/maker-nano-rp2040-simplifying-projects-with-raspberry-pi-rp2040
- IO Expansion Shield for Arduino Nano
https://my.cytron.io/p-io-expansion-shield-for-arduino-nano
- SG90 Micro Servo
@idriszmy
idriszmy / NanoOttoDIY.ino
Created March 22, 2022 06:12
Basic Otto DIY movement with Maker Nano
/*
Basic Otto DIY movement with Maker Nano
https://youtu.be/yhI3i0DSZoo
Board:
- Maker Nano
https://my.cytron.io/p-maker-nano-simplifying-arduino-for-projects
- IO Expansion Shield for Arduino Nano
https://my.cytron.io/p-io-expansion-shield-for-arduino-nano
- SG90 Micro Servo