tutorial
Items Needed: Code: #include "LCD.h"#include <LiquidCrystal_I2C.h>#define I2C_ADDR 0x27 // <<----- Add your address here. Find it from I2C Scanner#define BACKLIGHT_PIN 3#define En_pin 2#define Rw_pin 1#define Rs_pin 0#define D4_pin 4#define D5_pin 5#define D6_pin 6#define D7_pin 7LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); lcd.begin(20,4); lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE); […]
Items Needed: Code: #include <FastLED.h>#define LED_PIN 7#define NUM_LEDS 30#define T1 10 // pin 10 is trigger for sensor 1#define E1 9 //// pin 9 is echo for sensor 1int val=0;CRGB leds[NUM_LEDS];long DistanceSensor (int, int); //trigger echovoid setup() {//delay(10000);Serial.begin(9600); pinMode(E1, INPUT); //echo sensor 1 pinMode(T1, OUTPUT); //trigger sensor 1 FastLED.addLeds<WS2812, LED_PIN, […]
Welcome to an exciting journey into the world of Arduino and Python programming! In this comprehensive tutorial, we will explore the intricacies of controlling an Arduino board using Python and Tkinter, a popular GUI toolkit. Our goal is to teach you how to create a simple yet powerful user interface […]
Below is the short video published on YouTube: Here’s the code: // ////////////////////////////////////////////////////////////////////////////// Project: Singing bowls illumination// Description: It turns on a different colour depending on which Chakra is played// Engineer: Alberto Lopez// More: https://misCircuitos.com// Date: 16 – nov – 2022 Chiang Mai (Thailand)/////////////////////////////////////////////////////////////////////////////// define DEBUG_MODE //Comment when finish debuging […]
For this tutorial, you’ll need: Arduino UNO 9 x Resistor 330E 1 x Resistor 10K BreadBoard Jumper Wires 9 x Led 5MM 1x Push Button Watch this full video: Full Code: #define led1 4 #define led2 5 #define led3 6 #define led4 7 #define led5 8 #define led6 9 #define […]