B4J Question B4J on BeagleBone Black.

tcr49

Member
Licensed User
Longtime User
I have installed Java on my BeagleBone Black and, using B4J-bridge, it is possible to run programs developed in B4J on the beagleboard. It would be really nice to have a library, like ‘Pi4J’, to control the BeagleBone Black GPIO pins. There is a Python library that does exactly that, ‘Adafruit_BBIO.GPIO’. Can anyone tell if it is possible to wrap such a library to be used with B4J?
 

Toley

Active Member
Licensed User
Longtime User
Python is not Java... But maybe Erel can do some other miracles!

Edit : But you know if the BeagleBone run Linux, then the Raspberry Pi library could probably works in Java.
 
Last edited:
Upvote 0

tcr49

Member
Licensed User
Longtime User
Connection to B4J is ok. The only weird thing I have noticed is when running ‘b4j-bridge.jar’ it doesn't report the correct ip address.
 
Upvote 0

tcr49

Member
Licensed User
Longtime User
'Libbulldog', http://libbulldog.org/bulldog/, is said to be 'a free and easy to use Java library to access low level peripherals like GPIO pins or I2c buses' for 'BeagleBoard Black' and 'Raspberry Pi'.

The 'BeagleBoard Black' version handles:

  • GPIO
  • PWM
  • ADC
  • UART
  • I2C
  • SPI
and 'Raspberry Pi'
  • GPIO
  • PWM
for revision A and B

Does anyone know how to make these libraries available for B4J?
 
Upvote 0

tcr49

Member
Licensed User
Longtime User
Yes, I know 'Raspberry Pi' already is supported. But... 'BeagleBoard Black' isn't and has a lot more I/O possibilities that it would be really nice to be able to handle.
 
Upvote 0
Top