{"product_id":"spannings-sensor","title":"Spannings sensor","description":"\u003ch2 class=\"product-page\"\u003eSpannings sensor\u003c\/h2\u003e\r\n\u003cp\u003e\u003cstrong\u003eBeschrijving : \u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003eDeze module reduceerd de spanning 5 maal lager als de ingangsspanning.\u003cbr\u003e\u003cbr\u003eDe maximale ingangsspanning van de meeste Arduinos is 5 volt, dus kun je 5 V x 5 = 25 V \u003cbr\u003eThe max Arduino analoge input voltage is 5 V, so the input voltage of this module should be not more than 5 V x 5 = 25 V ( voor 3.3 V systemen is dat dan 3.3 V x 5 = 16.5 V ). \u003cbr\u003e\u003cbr\u003eOmdat de Arduino een 10 bits AVR chip heeft is de gesimuleerde resolutie 0.00489 V (5 V \/ 1023),\u003cbr\u003edus het ingangs voltage zou meer moeten zijn als 0.00489 V x 5 = 0.02445 V.   \u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eSpecificaties :\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e1、Max ingangsspanning : DC 0-25 V\u003cbr\u003e\u003cbr\u003e2、Range meetingang : DC 0.02445 V-25 V\u003cbr\u003e\u003cbr\u003e3、Spannings resolutie : 0.00489 V\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eAansluit voorbeeld :\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\r\n\u003cp\u003e \u003cimg src=\"http:\/\/www.emartee.com\/Images\/websites\/emartee.com\/42156.jpg\" alt=\"\" width=\"402\" height=\"500\"\u003e\u003c\/p\u003e\r\n\u003cp\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eMogelijkheden:\u003c\/b\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"http:\/\/www.emartee.com\/Images\/websites\/emartee.com\/T2_ppBXdlaXXXXXXXX_!!94851079(2).jpg\" alt=\"\"\u003e\u003cbr\u003e \u003cbr\u003e\u003cstrong\u003eTest Code : \u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\r\n\u003cpre\u003eint analogInput = A1;\r\nfloat vout = 0.0;\r\nfloat vin = 0.0;\r\nfloat R1 = 30000.0; \/\/  \r\nfloat R2 = 7500.0; \/\/ \r\nint value = 0;\r\nvoid \u003cb\u003esetup\u003c\/b\u003e(){\r\n   pinMode(analogInput, INPUT);\r\n   \u003cb\u003eSerial\u003c\/b\u003e.begin(9600);\r\n   \u003cb\u003eSerial\u003c\/b\u003e.print(\"DC VOLTMETER\");\r\n}\r\nvoid \u003cb\u003eloop\u003c\/b\u003e(){\r\n   \/\/ read the value at analog input\r\n   value = analogRead(analogInput);\r\n   vout = (value * 5.0) \/ 1024.0; \/\/ see text\r\n   vin = vout \/ (R2\/(R1+R2)); \r\n   \r\n\u003cb\u003eSerial\u003c\/b\u003e.print(\"INPUT V= \");\r\n\u003cb\u003eSerial\u003c\/b\u003e.println(vin,2);\r\ndelay(500);\r\n}\u003c\/pre\u003e","brand":"Ben's Electronics","offers":[{"title":"Default Title","offer_id":53974362980691,"sku":"F11","price":1.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1077\/7241\/2243\/files\/file_ae785399-45da-4141-a0f2-5fae6e0ad30a.jpg?v=1781131267","url":"https:\/\/checkout.benselectronics.nl\/products\/spannings-sensor","provider":"Ben's Electronics","version":"1.0","type":"link"}