B4J Library [IoT] jPi4J - Raspberry Pi GPIO controller - Erel    Jun 26, 2023   (19 reactions)   tags: Raspberry Pi GPIO Updated libraries: https://www.b4x.com/android/forum/threads/pi4j2-raspberry-pi-i-o-library.136113/#content This is a wrapper for Pi4J library. It allows you are control the Raspberry Pi board GPIO.../android/forum/threads/jpi4j-raspberry-pi-gpio-controller.37493/#post-232767 Download link: www...) End Sub The pins scheme is available here: http://pi4j.com/usage.html The output of this program.../basic4android/images/SS-2014-03-25_12.42.39.png PiFace extension V1.00 adds support for the PiFace... B4J Question Liberica 11.0.11 full JDK install problem in Raspberry Pi 4b - hatzisn    Jun 25, 2021 Good evening everyone, I tried to install Liberica 11 from their site (I also tried with 16) in Raspberry Pi 4b. I have read that the full JDK includes the JavaFX too to run UI applications in Raspberry Pi. I failed big time. I followed the installation instructions as described here: https://www.b4x.com/android/forum/threads/raspberry-pi-b4j-ui-applications-with-liberica-jdk.92950/ And here is what I get pi@raspberrypi:~/Downloads $ sudo apt install ./bellsoft-jdk16.0.1+9-linux-aarch64-full... B4J Tutorial Raspberry Pi with Java 11 - Erel    Aug 8, 2019   (16 reactions) Running UI apps on Raspberry Pi with Java 11 is relatively simple. 1. Download Liberica JDK. Download the lite version: https://github.com/bell-sw/Liberica/releases/download/11.0.1/bellsoft-jdk11.0.1-linux-arm32-vfp-hflt-lite.tar.gz 2. Copy it to the RPi and unpack it: tar -xvf bellsoft-jdk11-linux-arm32-vfp-hflt-lite.tar 3. Download the latest version of b4j-bridge (1.41+). wget www.b4x.com/b4j/files/b4j-bridge.jar 4. Run b4j-bridge: sudo jdk-11/bin/java -jar b4j-bridge.jar... B4J Library Pi4J2 - Raspberry Pi I/O library - Erel    Jun 26, 2023   (19 reactions) At some point during 2019, the author of wiringpi, which is the native library that Pi4J was based on, stopped its development. Luckily, there is a new version of Pi4J which is now being actively developed and it works with all recent versions of Raspberry Pi. It is not backward compatible. jPi4J2 wraps the new Pi4J2 library. Currently only DigitalInput and DigitalOutput types are exposed. Blink example: Sub Process_Globals Private pi4j As Pi4J Private PinOut As DigitalOutput End... B4J Tutorial B4J and Raspberry Pi boards - Erel    Dec 5, 2018   (9 reactions) New tutorial based on Java 11: Raspberry Pi with Java 11 The first step is to download and run B4J-Bridge: Remote debugging with B4J-Bridge Raspberry Pi is a low-cost Linux board: http://www.b4x.com/basic4android/images/SS-2014-01-23_11.32.59.jpg B4J v1.50 adds support for these boards. Here are two screenshots: DBUtils: http://www.b4x.com/basic4android/images/SS-2014-01-23_11.36.26.jpg Moving smiley: http://www.b4x.com/basic4android/images/SS-2014-01-23_11.37.04.png Out of the box... B4R Tutorial Arduino + Raspberry Pi - Erel    Feb 12, 2018   (8 reactions) . This is a nice example as it shows how B4X tools can be used to program both the Arduino side and the Raspberry Pi side. Arduino and Raspberry Pi complete each other nicely. The Arduino is easier to connect to external hardware and the Raspberry Pi is a full and powerful computer. The two devices are connected... it is convenient to run the RPi side on the PC. Otherwise you need to disconnect the Arduino each time you want to compile and connect it to the PC. Once the program is ready we connect B4J to the RPi... B4J Question Raspberry Pi 4B GPIO Not working - fredeady    Jun 1, 2020 I can't get an LED to toggle on any of the Pi's GPIO pins. I see that Gordon has updated wiredPi but no longer supports it. I loaded his latest version 2.52 on the Pi. Buster comes with 2.50. I loaded up the Debian Pi4J jar on the Pi and am using the B4J library. I feel sort of dumb as I can't seem to make this work. I know I'm missing something. My Pi is running Buster. I can toggle the LED using Python. I am currently trying to toggled GPIO 27, which is physical pin 13... B4J Tutorial [RPi] - PiFace Control And Display (CAD) - Erel    Jan 21, 2016   (15 reactions) https://www.b4x.com/basic4android/images/SS-2016-01-21_14.23.06.png jPi4J library supports the PiFace Digital extension. However it doesn't support the CAD module as the underlying library (Pi4J) doesn't support it. So we need to be a bit more creative here. We will run and interact... is stopped). If this is the first time that you connect the PiFace CAD then you need to follow these instructions: http://www.piface.org.uk/guides/setting_up_pifacecad/fitting_PiFace_Control_and_Display... B4A Tutorial [IoT] XBee (ZigBee) Communication between Android and Raspberry Pi - Erel    Jan 20, 2016   (17 reactions)   tags: xbee Digi XBee modules are a great solution for wireless communication. Using two or more XBee modules you can create a wide area wireless network. The maximum range depends on the antenna and the configuration. Outdoors, it can reach several kilometers. Wyvpjy9MPD4 The bandwidth is relatively low so the messages should be short. In this example we will control the Raspberry Pi (B4J) with an Android tablet (B4A). The XBee modules are connected to the Android tablet and RPi board with two XBee USB... B4J Tutorial [IoT] - Raspberry Pi CCTV with MQTT - Erel    Dec 21, 2015   (13 reactions) Simple solution that uses an embedded MQTT broker with a MQTT client to send the camera output to any connected client. The camera used is the standard RPi camera module. The program starts raspistill if it isn't already running. It configures it to take a shot every second. A timer sends the image every second. Dim shl As Shell shl.Initialize("shl", "raspistill", Array("-o", "temp.jpg", "-t", "0", _ "-tl"... Page: 1   2   3   4   5   6   7   |