![]() 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 |
![]() |
↧
RPi and Java Embedded GPIO: Using Java to read input
↧