Skip to content

batulaiko/Arduino_Practices

Repository files navigation

Arduino Practices

Example of blinking a LED via Arduino IDE

Example of ANALOG Input and PWM Outputs of Arduino. Purpose of experiment is to control LED's luminosity via potentiometer.

In the code, we are calibrating the speed of blinking led with pot without "map(value, fromLow, fromHigh, toLow, toHigh); ". When the potentiometer goes to 0 Volt, then the speed of blinking will increase to 2 seconds. If the pot goes to 5 Volts, then speed of blinking will reduces to 0.2 seconds.

When we push the button once, then LED will be on. After releasing the button, LED saves its status. When we push the button again, LED will be off.

Example of ANALOG Input and PWM Outputs of Arduino, LED gets output value between 0-255 and decreases 255 to 0.

Example of using LCD with Arduino. In first raw of LCD, "hello world" will be written and in second raw, code will count from 0 to how many code can counts.

Example of MOD9 Down Counter. The aim of the experiment is, examine the “boolean” code, how it makes the writing the code simple and learn the areas of “boolean” code to use.

Example of LCD that showing the Voltage value which comes from PWM PIN and its percentage between 0 and 16 " * " .

In this code, we are determining the Value that from PWM PIN between 0.00 - 5.00 instead of 0-1023 and watching the value in Serial Monitor

Example of 4-Bit Binary Up Counter. The aim of the experiment is, examine the “boolean” code, how it makes the writing the code simple and learn the areas of “boolean” code to use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages