code

Potentiometer or variable resistor control LED Code

Potentiometer or variable resistor control LED Code

The if() statement is the most basic of all programming control structures. It allows you to make something happen or not depending on whether a given condition is true or not. It looks like this: if (someCondition) { // do stuff if the condition is true } [Get Code] There is a common variation called if-else that looks like […]

Potentiometer or variable resistor control LED Code Read More »

Arduino Voltmeter

Arduino Voltmeter Code

This arduino projects show how to make voltmeter with your arduino. It use voltage divider concept to estimate the voltage input. Instruction; 1) Connect all jumper wire as shown in diagram. Upload this code to your arduino /*   Voltmeter   Voltmeter base on voltage divider concept.   Code based on: http://www.clarenceho.net:8123/blog/articles/2009/05/17/arduino-test-voltmeter   Coded by: arduinoprojects101.com */ // include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

Arduino Voltmeter Code Read More »

Arduino Temperature Sensor

Arduino Temperature Sensor Code

This arduino projects show how to read Celsius and Fahrenheit temperature with LM35 temperature sensor. Parts List; 1) 1x 16×2 parallel LCD display (compatible with Hitachi HD44780 driver) 2) 1x Arduino 3) 1x 10kΩ potentiometer 4) 1x LM35 temperature sensor 5) Jumper wire Instruction; 1) Connect all jumper wire as shown in diagram. 2) Connect

Arduino Temperature Sensor Code Read More »

Arduino RPM Counter

Arduino RPM Counter / Tachometer Code

Arduino projects, make arduino rpm counter with arduino.   Instruction;1) Connect all jumper wire as shown in diagram. 2) Connect IR LED to digital pin 13. 3) Connect IR Phototransistor (dark) to digital pin 2. Make sure shorter lead connected to digital pin 2 and longer lead to Ground. Upload this code to your arduino/** Optical Tachometer** Uses an IR LED and IR phototransistor to implement an optical tachometer.* The IR LED is connected to pin 13 and ran continually.* Pin 2 (interrupt 0) is connected across the IR detector.** Code based on: www.instructables.com/id/Arduino-Based-Optical-Tachometer/* Coded by: arduinoprojects101.com*/

Arduino RPM Counter / Tachometer Code Read More »

Scroll to Top