• Like
  • Save
Upcoming SlideShare
Loading in...5


Uploaded on

This presentation about usage Java with Raspberry Pi

This presentation about usage Java with Raspberry Pi

More in: Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • Feel free to reuse this presentation for your local user groups. Some helpful comments are in the notes section, but feel free to embellish.For more details on JavaFX/Raspberry Pi hacking, check out this post:http://javafx.steveonjava.com/javafx-on-raspberry-pi-3-easy-steps/
  • A visualization of the node and routing information of a part of the Internet, in 2003. By the Opte Project. If this was a part of the Internet in 2003, imagine what it would look like today.
  • Automatic number plate recognitionRed-light violation detectionTraffic jam detectionVehicle location systemGeo-fences
  • High-speed data collection and analysisLocal storage and historical analysisFiltering, correlation and pattern matching of real-world data
  • Demand-based refrigeration to conserve energyDynamically changing prices based on weather and demandInventory management
  • Location trackingContainer contents monitoringIntrusion detectionTemperature and pressure monitoring
  • Data evaluation for potential health problemsAutomatic alerts to caregivers and healthcare providersHistorical data analysis
  • Real-time pricing with adaptive intelligence for carbon footprint reductionAutomatic water usage metering enables conservationIntrusion detection
  • The Raspberry Pi is a consumer-focused, low-cost board. It has a slightly slower ARM processor (ARMv6 700Mhz), but a better GPU than the BeagleBoard. Connectivity is via HDMI/Component, USBx2, Ethernet, and Audio out.
  • And do cool stuff with the Pi like this pic of the digital signage for Devoxx, which was running on HDMI monitors at 1920x1080 off of a Raspberry Pi.
  • And getting JavaFX is as simple as downloading Java 7 (it has been bundled since Java 7u4). Also, it is supported across different desktop platforms (shown in the picture).
  • And you can use your favorite IDE… IntelliJ, Eclipse, NetBeans, Oracle JDeveloper, etc. Many IDEs have special support, but all you need to do is create a generic Java project and add in the jfxrt.jar file from the jre/lib directory.
  • You can build JavaFX applications visually using Scene Builder. This is a good time to show aNetBeans/Scene Builder live demo where you can build a custom application for the audience you are working with, such as this app done for the Linux Users' Group of Davis in 15 minutes or so:https://github.com/steveonjava/LUGOD-Pi-Test


  • 1. Java особенно хороша смалиновым десертом!Андрей Дмитриевandrei-dmitriev@yandex.ruАлександр Белокрылов (@gigabel)Alexander.belokrylov@oracle.com
  • 2. Умный город& Контроль трафикаSource: http://www.flickr.com/photos/epsos/5591761716/
  • 3. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4АвтоматизацияпроизводстваSource: Rockwell Automation
  • 4. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5Вендинг машиныSource: http://www.flickr.com/photos/61360523@N04/7183848790/
  • 5. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.6ТелеметрияSource: http://www.flickr.com/photos/9979792@N04/2984873350/
  • 6. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7Удаленный контрольпациентов
  • 7. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8Умный дом
  • 8. =Java и малиновый десерт Raspberry Pi
  • 9. http://elinux.org/File:Raspi-Model-AB-Mono-2-699x1024.png
  • 10. http://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/09/Raspberry-Pi-GPIO-Layout-Revision-2.png
  • 11. А это еще зачем?http://i.imgur.com/k0Puu.jpg
  • 12. Chalkboard Electronics Touchscreen 10" or 7" Form Factor Connects via HDMI/USB Tested with JavaFX 8 10% Exclusive Discount:G1F0U796Z083
  • 13. http://www.element14.com/community/servlet/JiveServlet/showImage/146291/picamera.bmp
  • 14. SPIds1722HDMIJava ME Embedded 3.3Java SE 8 + JavaFX
  • 15. Java ME Embedded
  • 16. Java ME Embedded и Raspberry Pi IMP-NG– MIDP 2.0 без UI и Game API– Размер Run-time менее 4 Мб API для доступа к GPIO, UART, SPI, I2C– Device access API (DAAPI)– Нужен roothttp://docs.oracle.com/javame/config/cldc/rel/3.3/rasp/gs/html/getstart_raspi/toc.htmhttp://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html
  • 17. Device Access API permissionsПодпиши или разреши
  • 18. Разреши, но только для себя$JavaME_HOME/appdb/_policy.txtВ секции:domain untrusted, unsecureddomain minimum, unsecuredДобавить:allow: device_access
  • 19. DAAPIGPIOPinConfig pin4Config = new GPIOPinConfig(0, // Port number4, // Pin numberGPIOPinConfig.DIR_OUTPUT_ONLY,GPIOPinConfig.DEFAULT,GPIOPinConfig.TRIGGER_NONE,false); // Initial state
  • 20. Демо
  • 21. Java SE и JavaFX наRaspberry Pi
  • 22. https://bitbucket.org/stephanj/tweetwall
  • 23. Где взять JavaFX для RaspberryDownload Java 8 for Linux ARM, Developers Previewhttps://jdk8.java.net/fxarmpreview/index.html
  • 24. Как писать на JavaFX Используйте любимую IDE
  • 25. Создай GUI за 15 минут JavaFX Scene Builder
  • 26. Демо
  • 27. СпасибоВопросы