Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Internet of Things Magic Show

2,537 views

Published on

What do magicians and programmers have in common? They are good at juggling, have very nimble fingertips, often make things vanish, and have lovely assistants! Ok, so maybe not all of those describe your average hacker (unless your pair programmer partner happens to be Penny), but we are going to try to put on the most spectacular magic show that has ever been seen on the stage at a tech conference! [geeks only]

As proper geeks, we are going to make heavy use of embedded wearable and internet connected devices to make up for our lack of dexterity and supernatural powers. Also, all tricks will be revealed with the designs available to reproduce in the spirit of open source and creative commons. Come join us to see for yourself what real [hacker] magic looks like!

Published in: Technology
  • The professtional essay writer are having more knowledege about the writing papers. The professional essay writer are providing the best essay writing services papers to the students. The writeersity writing company had to providing the more writing papers for the professtionalist. The papers should be very quality and possible to acedemic success. ⇒ www.HelpWriting.net ⇐ Good luck!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Internet of Things Magic Show

  1. 1. Internet of Things Magic Show Stephen Chin (@steveonjava) Java Technology Evangelist JavaOne Conference Chair Angela Caicedo (@acaicedo) Java Technology Evangelist
  2. 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
  3. 3. From… Things Connected to the Internet www.
  4. 4. To… The Internet of Things
  5. 5. Java and 3G in a Tiny Package • Cinterion EHS5
  6. 6. Really Tiny… 27.6mm 18.8mm
  7. 7. http://upload.wikimedia.org/wikipedia/commons/3/3d/Cloud_forest_Ecuador.jpg
  8. 8. Java SE 7 Last Year APIs Language Java SE 7 CDC 1.1 CDC 1.1 (based on SE 1.4.2) CLDC 1.1 (based on SE 1.3) CLDC 1.1 8
  9. 9. Java SE 8Java SE 8 Java ME 8 Java 8 availability Java ME 8 APIs Language 9
  10. 10. More Information iotcommunity.net oracle.com/goto/javaembedded oracle.com/iot Twitter Facebook Java Blog LinkedIn YouTube @Java Embedded blogs.oracle.com/java Embedded Java Developers Network ILoveJava YouTube Java Channel
  11. 11. What is Magic? 11
  12. 12. 12 https://www.flickr.com/photos/pasukaru76/5944308910/
  13. 13. 13 https://www.flickr.com/photos/blackzack00/15350928735/
  14. 14. 14 https://www.flickr.com/photos/kwl/4743024076/
  15. 15. 15 https://www.flickr.com/photos/kthai/4755380370/
  16. 16. Now it is time for real magic! 16
  17. 17. 17 Trick 1: Mind Reading
  18. 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 18 SENSORS
  19. 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 19 MY VISION
  20. 20. The Jacket
  21. 21. The Jacket
  22. 22. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 22 INGREDIENTS
  23. 23. Conductive Thread Fabric Ribbon 4-Channel The Ingredients: Hardware Raspberry Pi B+ Woven Conductive Fabric Pressure-Sensitive Conductice Sheet LEDs LilyPad Vibe Board
  24. 24. The Ingredients: Hardware Polar Heart Rate Receiver Polar T34 Heart Rate Transmitter NTSC/PAL Video Glasses PN532 NFC/RFID controller breakout board GPS ADC1015 MPR121 Capacitive Touch Sensors
  25. 25. Now, The Real Hardware I bet there is at LEAST one you have never used it before….
  26. 26. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 26 RFID ENABLED
  27. 27. RFID reader Radio-Frequency Identification
  28. 28. How does it work? RFID transmitter PN532 NFC/RFID controller breakout board Raspberry Pi B+ JavaFX UI Magnetic Field
  29. 29. Serial Communication final Serial serial = SerialFactory.createInstance(); try { serial.open("/dev/ttyAMA0", 115200); serial.write(wakeUP); for (int i = 0; i < SAMConfiguration.length; i++) { System.out.printf("%02X ", SAMConfiguration[i]); } serial.write(SAMConfiguration); ... for (;;) { try { Thread.sleep(1000); serial.write(poll); } catch (InterruptedException ex) {...} } } catch (Exception e) {... } finally {serial.close();} 29
  30. 30. Listening for cards serial.addListener(event -> { try { String data = event.getData(); StringBuilder buffer = new StringBuilder(); byte[] array = data.getBytes("UTF-16"); String outStr = ""; if (array.length >= ENOUGH_DATA) { for (int i = (array.length - POS_ID); i < array.length; i++) { outStr += String.format("%02X", array[i]); } findCard(outStr); } serial.write(ack); } catch (UnsupportedEncodingException ex) { System.out.println("Error: " + ex); } }); 30
  31. 31. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 31 FEEDBACK
  32. 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
  33. 33. Display
  34. 34. Assembling the Display
  35. 35. 35 Trick 2: Lightning Reflexes
  36. 36. 36
  37. 37. 37
  38. 38. 38
  39. 39. 39
  40. 40. 40
  41. 41. 41
  42. 42. Up-Up-Down-Down-Left-Right- Left-Right B, A, Start 42
  43. 43. Meet Mr. Grabby 43 https://www.flickr.com/photos/pasukaru76/8278458818/ https://www.flickr.com/photos/fallentomato/5656700432/ + =
  44. 44. Meet Mr. Grabby 44
  45. 45. Mr. Grabby's Back 45 Controller Grabber
  46. 46. Controller • Raspberry Pi • Cooking Hacks Shield • MakeBlocks ME Base Shield 46
  47. 47. Mr. Grabby's Belly 47 Line Follower Batteries DC Motors
  48. 48. How Line Followers Work 48 • Infrared LED – Bounced light off the ground • Infrared Luminosity Sensor – Detects reflected light
  49. 49. Getting GPIO gpio = GpioFactory.getInstance(); lineFollowA = gpio.provisionDigitalInputPin( RaspiPin.GPIO_13, "LineFollowA"); lineFollowB = gpio.provisionDigitalInputPin( RaspiPin.GPIO_14, "LineFollowA"); startGPIO(); boolean leftSensor = lineFollowA.getState().isHigh(); boolean rightSensor = lineFollowB.getState().isHigh(); 49
  50. 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. 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
  52. 52. 52 Trick 3: Materialization!
  53. 53. Disappearing Handkerchief 53
  54. 54. Making Birds Vanish 54
  55. 55. But What About Making Things Appear? 55
  56. 56. Ultimaker 2 56
  57. 57. 57
  58. 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
  59. 59. 59
  60. 60. What is Magic? 60
  61. 61. 61 YOU!
  62. 62. Stephen Chin tweet: @steveonjava blog: http://steveonjava.com nighthacking.com Real Geeks Live Hacking NightHacking Tour
  63. 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

×