Homemade electronic voltmeter with super simple Arduino


SUBMITTED BY: tigercn

DATE: Jan. 12, 2017, 3:57 p.m.

FORMAT: Text only

SIZE: 4.0 kB

HITS: 1143

  1. With People "technology" laptops is their haunting it with the people "e" the voltmeter is also indispensable to their animals.
  2. Arduino has a lot of applications or, in an earlier article we show you how to build a ultrasonic measurement by ultrasonic sensors SRF-05. Today we are pleased to submit to you a tutorial built a electronic voltmeter from super simple Arduino.
  3. How to assemble and operate
  4. Prepare
  5. An Arduino UNO R3 kit (priced at about 180,000 VND)
  6. A 16x2 LCD display (approximately 50,000-100,000 copper prices depending on your choice or type keypad type used in the article is the type of keypad)
  7. A hug 10k variables (cost about 10,000 dong)
  8. A broad test circuit (cost about 20,000 dong)
  9. Male-female extension cord, the so-so. (Priced around 7,000 dong)
  10. You can replace Broad Arduini Arduino UNO R3 using the cheap mini or Nano, priced at just around 50,000, in addition you can also directly connect the wires on each other for long-term use are not required to test circuits Broad. Thus the lowest cost to manufacture the electronic voltmeter is over 100,000)
  11. Step 1:
  12. Plug the broad embrace 10k variable circuit test
  13. Then plug the wire into 3 feet of the variable resistor.
  14. Step 2:
  15. Next you plug into the Arduino 5V and GND on Broad circuit test. 5V plug into the red range (positive), plug the cord into strips blue GND (negative).
  16. The outer two wires plugged into the foot rheostat 5V and GND
  17. Step 3:
  18. The pins on the screen 16-2
  19. The pins on the screen 16-2
  20. Then plug the monitor into a vacuum VSS GND and VDD wire to 5V pins
  21. Then plug the monitor into a vacuum VSS GND and VDD wire to 5V pins
  22. Of turning back the wire between you plug in the leg VO
  23. Of turning back the wire between you plug in the leg VO
  24. RS foot of the screen you plug in leg 2 on the Arduino.
  25. RS foot of the screen you plug in leg 2 on the Arduino.
  26. RW foot of the screen you plug into GND pins.
  27. RW foot of the screen you plug into GND pins.
  28. E foot of the screen you plug in leg 3 on the Arduino.
  29. E foot of the screen you plug in leg 3 on the Arduino.
  30. D4 D5 D6 D7 pins of your screen turns into pin plug 4 5 6 7 on the Arduino.
  31. D4 D5 D6 D7 pins of your screen turns into pin plug 4 5 6 7 on the Arduino.
  32. Step 4:
  33. You plug a cord into A0 pins on the Arduino (wire rope will be positive, red) and a leg GND wires (wire rope will be negative, black). This will be the second two-wire so that we measure the voltage of the object to be measured.
  34. Step 5:
  35. Now we will load the code for Arduino. The Arduino open your computer up and copy the code below into.
  36. #include "LiquidCrystal.h"
  37. LiquidCrystal LCD (2, 3, 4, 5, 6, 7);
  38. float voltage = 0.0;
  39. float temp = 0.0;
  40. int analog_value;
  41. void setup ()
  42. {
  43. lcd.begin (16, 2);
  44. lcd.setCursor (0.0);
  45. lcd.print ( "Arduino Genk");
  46. lcd.setCursor (0.1);
  47. lcd.print ( "Digital voltmeter");
  48. delay (3000);
  49. }
  50. void loop ()
  51. {
  52. analog_value = analogRead (A0);
  53. voltage = (analog_value * 5.0) / 1024.0;
  54. if (voltage <0.1)
  55. {
  56. Voltage = 0.0;
  57. }
  58. lcd.clear ();
  59. lcd.setCursor (0.0);
  60. lcd.print ( "voltage is:");
  61. lcd.setCursor (0.1);
  62. lcd.print (voltage);
  63. lcd.print ( "V");
  64. delay (10);
  65. }
  66. Click the symbol V to translate what error code view
  67. Click the symbol V to translate what error code view
  68. Then if there are no errors, then you click on the arrow icon to load the code onto Arduino conduct
  69. Then if there are no errors, then you click on the arrow icon to load the code onto Arduino conduct
  70. So we have completed a voltmeter electronics already. It's simple, right!
  71. Experiments measuring device with battery
  72. Experiments measuring device with battery
  73. Measurement with battery test buttons
  74. Measurement with battery test buttons
  75. Thank stores Components Hanoi has supported us to make this article.
  76. See more at: http://adf.ly/1hvMQo

comments powered by Disqus