RPi and Java Embedded GPIO: Using Java to read input
Posted
by hinkmond
on Oracle Blogs
See other posts from Oracle Blogs
or by hinkmond
Published on Thu, 22 Nov 2012 02:20:03 +0000
Indexed on
2012/11/22
5:07 UTC
Read the original article
Hit count: 367
/Java Embedded
![]() As before, we need to start out with the necessary hardware. For this exercise we will connect a Static Electricity Detector to the RPi GPIO port and read the value of that sensor using Java code. The circuit we'll use is from William J. Beaty and is described at this Web link. See: He calls it an "Electric Charge" detector, which is a bit misleading. A Field Effect Transistor is subject to nearby electro-magnetic fields, such as a static charge on a nearby object, not really an electric charge.
So, this sensor will detect static electricity (or ghosts if you are into paranormal activity
|
![]() |
© Oracle Blogs or respective owner