News

In this quick Arduino tutorial I will explain how you can control a relay using the Arduino Board, one 1K and one 10K resistors, 1 BC547 transistor, one 6V or 12V relay, one 1N4007 diode and a 12V fan ...
int i = 0; const int LED = 11; //define the pin we use for LED void setup() { pinMode(LED, OUTPUT); //set pin 11 as OUTPUT } void loop() { for (int i = 0; i 0; i--){ //descrease i with 1 ...