You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...
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 ...
A simple game using Arduino Uno, 16x2 LCD and a push button. In this tutorial, you are going to learn about interfacing the button with Arduino using the Arduino digitalRead function. There are a lot ...
* - Tombol UP (Tambah Terang): Kaki 1 ke pin D2, Kaki 2 ke GND (Active-LOW) * - Tombol DOWN (Redupkan): Kaki 1 ke pin D3, Kaki 2 ke GND (Active-LOW) * Konsep PWM: * Pin D9 dikendalikan oleh Timer 1 ...