CONTEARREDAMENTI.IT ≡ Retford Tennis Standoffs Aprons Electrónica Y Robótica
  • 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

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

© 2026 - CONTEARREDAMENTI.IT