Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Ammeter with arduino, Study Guides, Projects, Research of Electronics

Showing how to build an ammeter with arduino

Typology: Study Guides, Projects, Research

2017/2018

Uploaded on 11/09/2018

fahrina-rizki
fahrina-rizki 🇮🇩

1 document

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Ammeter dengan Arduino
FAHRINA NOVIA RIZKI | NISRINA RANIA HABIBAH
pf3
pf4
pf5

Partial preview of the text

Download Ammeter with arduino and more Study Guides, Projects, Research Electronics in PDF only on Docsity!

Ammeter dengan Arduino

FAHRINA NOVIA RIZKI | NISRINA RANIA HABIBAH

prinsip

 Beda tegangan pada resistor

listing program #include <LiquidCrystal.h> LiquidCrystal lcd (7,8,9,10,11,12); void setup() { Serial.begin(9600); lcd.begin(16,2); lcd.clear(); } void loop() { int tegangan0 = analogRead(A0); int tegangan1 = analogRead(A1); int dropteg =(tegangan0 - tegangan1) ; float temp_val = (dropteg*0.00488); float arus = (temp_val/22); Serial.print(arus); lcd.setCursor(0,0); lcd.print("ammeter rinniez "); lcd.setCursor(0,1); lcd.print (arus); lcd.print("A"); delay(1000); }