ARDUINO

Class: Technology, Arduino
Software: Arduino 1.8.5
Materials:

  • 1 Arduino Uno card
  • 1 solderless breadboard
  • 1 bipolar transistor
  • 1 LED scale
  • 1 1 kΩ resistor
  • 4 resistors with a rating of 220 Ohm
  • 8 wires “Male-male”

SCHEMATIC DIAGRAM

VIDEO OF PROCESS

SCETCH OF CODE

#define CONTROL_PIN  9
int brightness = 0;
void setup()
{  pinMode(CONTROL_PIN, OUTPUT);
}
void loop()
{  brightness = (brightness + 1) % 256;
  analogWrite(CONTROL_PIN, brightness);
  delay(10);
}

 

FINAL RESULT

Tags: , ,

Trackback from your site.

address: 20 Myasnitskaya ulitsa
(metro stations ‘Lubyanka’ and ‘Kitay-Gorod’)
Moscow 101000 Russia

phone: +7(495)772-95-90 *15026

email: city@hse.ru