0

July 17, 2015 AT 12:00 am

Raspberry Pi Java ME 8 Tutorials with Adafruit components #piday #raspberrypi @Raspberry_Pi

NewImage

Thanks to Jose for sending in these tutorials he posted in the oracle community.

Learn how to connect sensors to the Raspberry Pi and control them with Java.

Part 1 of this series explained how to connect electronic sensors to the Raspberry Pi Model B using general-purpose input/output (GPIO) interfaces. (That article and the rest of this series also apply to the Raspberry Pi Model B+ or the Raspberry Pi 2 Model B.)

This article focuses on using inter-integrated circuit bus (I2C) interfaces to connect sensors, and it shows examples of how to develop Java ME 8 classes that can do the following:

  • Control servo motors using the Adafruit PCA9685 16-channel 12-bit pulse width modulation (PWM) servo driver
  • Detect light and object proximity using the VCNL4000 proximity/light sensor
  • Measure temperature and humidity using the SparkFun HTU21D humidity and temperature sensor
  • Create an electronic compass using the Honeywell HMC5883L digital compass module

Check out the full tutorial here.


998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — How Intel Makes a Chip

Wearables — Tape tactics

Electronics — Ground connections cooler via more vias

Biohacking — Itch Tracker for Apple Watch

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.