This document summarizes an Internet of Things magic show presented by Stephen Chin and Angela Caicedo at a JavaOne conference. The show demonstrated three magic tricks enabled by IoT technologies:
1. Mind reading: A jacket with sensors gave feedback to correctly predict the audience member's selection from a menu.
2. Lightning reflexes: An IoT-enabled grabber reacted in real-time to lights and sounds to play a game.
3. Materialization: A 3D printer was used to demonstrate making objects appear from nothing using code and IoT technologies.
The show highlighted how IoT, Java, sensors, actuators and other technologies can enable interactive experiences and "magic" through
AWS Community Day CPH - Three problems of Terraform
Internet of Things Magic Show
1. Internet of Things Magic Show
Stephen Chin (@steveonjava)
Java Technology Evangelist
JavaOne Conference Chair
Angela Caicedo (@acaicedo)
Java Technology Evangelist
2. World Population 6.3 Billion 6.8 Billion 7.2 Billion 7.6 Billion
500 Million 12.5 Billion 25 Billion 50 Billion
Connected Devices
per Person
0.08 1.84 6.583.47
2003 2010 20202015
Source: Cisco
3x 5x1x
Connected
Devices
32. Feedback Required
1
2
3
4
Did the menu pick up my selection
Is something happening or should I click again
Simple but concrete feedback
Easy to implement, simple GPIO
Useful but not enough5
50. Line Following Algorithm
if (leftSensor && rightSensor) { //we are lost
doDrive(lineLocation);
} else if (!leftSensor && !rightSensor) { //on the line
lineLocation = Drive.forward; doDrive(Drive.forward);
} else if (!leftSensor && rightSensor) { //off the right
lineLocation = Drive.left; doDrive(Drive.forward);
} else if (leftSensor && !rightSensor) { //off the left
lineLocation = Drive.right; doDrive(Drive.forward);
}
50
51. Make your own Mr. Grabby
• MakeBlock Advanced Robotics Kit
• MakeBlock ME Base Shield
• Cooking Hacks Shield
• USB Battery (1A)
• Code here:
https://github.com/steveonjava/LineFollower
51
58. Java Constructive Geometry (JCSG / JFXScad)
• Create geometries from pure Java code
• Visualize with a JavaFX user interface
• Generate STL files for 3D printing
• Project sites:
https://github.com/miho/JCSG
https://github.com/miho/JFXScad
58
63. Safe Harbor Statement
The preceding is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
63