SACTRATTURARTE.IT ≡ Eagle Designs Confectionery Robotics Apparel Accessories
  • Arduino

  • Magic Light Cup Module (KY-027)

Magic Light Cup Module (KY-027)

$22.41 $30.7
Mercury switches provide a digital signal that triggers the PWM , through the program design, we can then see the light like two cups filled with the effect of shuffling back and forth.   dimming principle is to use the principle of two modules brightness changes for pwm.    Mercury switches provide a digital signal that triggers the PWM , through the program design,    We can see the light like two cups filled with the effect of shuffling back and forth.    test code:    int LedPinA = 5;    int LedPinB = 6;    int ButtonPinA = 7;    int ButtonPinB = 4;    int buttonStateA = 0;    int buttonStateB = 0;    int brightness = 0;    void setup()    {    pinMode(LedPinA, OUTPUT);    pinMode(LedPinB, OUTPUT);    pinMode(ButtonPinA, INPUT);    pinMode(ButtonPinB, INPUT);    }    void loop()    {    buttonStateA = digitalRead(ButtonPinA);    if (buttonStateA == HIGH && brightness != 255)    {    brightness ;    }    buttonStateB = digitalRead(ButtonPinB);    if (buttonStateB == HIGH && brightness != 0)    {    brightness --;    }    analogWrite(LedPinA, brightness); //    analogWrite(LedPinB, 255 - brightness); //    delay(25);    }
Arduino

Arduino

  • Arduino UNO WiFi R3 (32Mb memory, ATmega328P ESP8266)
    $49.52 $94.09
  • 3x4 Membrane Matrix Array Numeric Keypad
    $30.24 $56.85
  • NEO-6M GPS Module
    $65.81 $98.06
  • High Precision Laser Distance Range Finder Module (3.3V-5V, TTL)
    $67.86 $94.33
  • 1000W ZVS Low Voltage Induction Heater (12V-36V, 24V Recommended)
    $38.09 $70.85
  • Serial Wifi Transceiver Module (Arduino)
    $38.97 $65.47
  • 4x4 Matrix (16 Key) Keypad
    $45.17 $70.02
  • Multi-functional Arduino Learning Shield
    $88.11 $106.61
  • Ambient Light Sensor Module (TEMT6000)
    $51.12 $93.04
  • OV7670 300KP VGA Camera Module
    $55.94 $82.23
  • 3-Axis High Precision Compass Magnometer Module (AK8975)
    $66.42 $83.69
  • GPRS with GSM and GPS Shield A7 (SMS, Voice Calls & GPS Location)
    $69.58 $90.45
  • 3-Axis Compass Magnetometer Module (GY-273 QMC5883L)
    $70.56 $136.18
  • CC1101 RF1101 Wireless Transceiver Module with SMA Antenna
    $46.4 $57.07
  • 128 * 64 LCD Display Panel Screen Module (ST7565)
    $53.17 $70.72
  • Mini SIM800L GPRS GSM Module (MicroSIM)
    $50.38 $80.61

© 2026 - SACTRATTURARTE.IT