This examples uses pi4j library to display operating system information [codesyntax lang=”java”] import com.pi4j.system.NetworkInfo; import com.pi4j.system.SystemInfo; import java.io.IOException; import java.text.ParseException; public class osinfo { public static void main(String[] args) throws InterruptedException, IOException, ParseException { System.out.println(“—————————————————-“); System.out.println(“OPERATING SYSTEM INFO”); System.out.println(“—————————————————-“); System.out.println(“OS Name : ” + SystemInfo.getOsName());…
shedboy71
-
-
The first step is to verify if you have java installed , to do this open a command prompt and type the following java -version This should return something like the following, if not you’ve probably got an older version of Raspbian or equivalent that…
-
The first android app I’m looking at allows you to experiment with the GPIO header on your raspberry pi. The app supports the Quick2Wire Interface, IO Expander and Analog Boards. Adafruit LCD Plate, PiFace Command and Display. DS18B20 Temperature Sensors. DHT11 Humidity Sensor and BMP085. The temperature sensors…
-
In this example we connected an LDR to our Raspberry Pi, we will connect the output to a GPIO pin and detect whether its light or dark Here is a typical module You connect the module to you Raspberry Pi as follows. Pi GPIO header…
-
As part of my arduino/general microcontroller development I purchase a variety of interesting boards and modules, oneof these is a 8×8 LED array which is controlled by a MAX7219. these modules are low cost and are nice for beginners level projects, you can display text,…
-
The pibrella is a nice little board that connects yo the GPIO connector of your Raspberry PI. It has the folllowing to play around with Red, Green and yellow LEDs A push button switch A buzzer 4 inputs and 4 outputs (protected) I2C connector (not…