Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Ngesa N. Marvin IoT Champion for GDGs, SSA +Ngesa Marvin @Ngesa254

Slide 3

Slide 3 text

ISP @Ngesa254 https://medium.com/iot-5g-extreme-ideas-lab Background Interests Hometown

Slide 4

Slide 4 text

Give Me Community Or Give Me Death!

Slide 5

Slide 5 text

GDG

Slide 6

Slide 6 text

Open Source Community PEOPLE HATE SHAIRING

Slide 7

Slide 7 text

Open Source Community SHAIRING = BAD BUSINESS

Slide 8

Slide 8 text

Fortune & Glory PATENTS + COPYRIGHTS

Slide 9

Slide 9 text

AND YET…

Slide 10

Slide 10 text

Open Source Software Firefox Chrome Android Linux

Slide 11

Slide 11 text

Open Source Software Distributed Peer Review Better Quality Higher reliability Transparency of processes

Slide 12

Slide 12 text

What about Hardware?

Slide 13

Slide 13 text

Open Source Hardware Provide the Plans Allow for Modification Be able to be sold

Slide 14

Slide 14 text

Open Source Hardware Provide the Plans Allow for Modification Be able to be sold Propagate the license

Slide 15

Slide 15 text

Shenzhen is Making Hardware like Silicon Valley Makes Apps

Slide 16

Slide 16 text

• Software & Hardware become Open source • Patents and Copyrights are not important in Shenzhen. • But, they make something new, Shanzai makes Innovation [ Deploy or Die ]

Slide 17

Slide 17 text

Maker Movement in Asia Faces behind the Movement

Slide 18

Slide 18 text

David Li SZOIL is a space and platform for worldwide makers to communicate and cooperate Xinchejian is the first hackerspace in China. David Li

Slide 19

Slide 19 text

“Bunnie” Andrew Huang • Famous Hacker & Maker • PhD in Electrical Engineering from MIT • Famous Projects: • Novena Open Source Laptop • Reverse Engineering blog: https://www.bunniestudios.com • Wired Future Cities Documentary on Shenzhen

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

• Founder & CEO Seeed Studio • Electronic Engineer • Forbes 30 Under 30 • Worked at Intel as a Designer • Organizer Shenzhen Maker Faire Eric Pan Eric Pan

Slide 22

Slide 22 text

Shenzhen: An ecosystem of living and shairng ideas [ Photo ] Huagiangbei market

Slide 23

Slide 23 text

• Learn • Better • Focus • Innovate Why I Love Open Source Hardware:

Slide 24

Slide 24 text

Lei Jun Founder, Xioami From Copy to China to To Copy China?

Slide 25

Slide 25 text

The Internet of Things The Internet of Things

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Cameras Gateways HVAC Control Smart Meters Point of Sale Inventory Control Interactive Ads Vending Machines Security Systems Smart Doorbells Routers Energy Monitors Asset Tracking Fleet Management Driver Assist Predictive Service Ideal for powerful, intelligent devices on the edge that need to be secure.

Slide 28

Slide 28 text

Android SDK Android Studio Play Services Firebase Cloud Platform

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Display support optional

Slide 31

Slide 31 text

Connectivity Options

Slide 32

Slide 32 text

Debugging and Profiling Tools

Slide 33

Slide 33 text

AndroidThings Console • Manage your Android Things IoT Product • Download and install the latest Android things system image • Build factory images that contain OEM applications along with the system image • Push over-the-air (OTA ) updates

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Google Play Services Leverage built-in support on Android

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

Firebase Firebase

Slide 45

Slide 45 text

Google Cloud IoT

Slide 46

Slide 46 text

Google Cloud IoT

Slide 47

Slide 47 text

Firebase Google Assistant

Slide 48

Slide 48 text

Actions on Google +

Slide 49

Slide 49 text

TensorFlow Add Intelligence to your product with on device processing

Slide 50

Slide 50 text

TensorFlow

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

Electricity Monitor @riggaroo Rebecca Franks Firebase

Slide 53

Slide 53 text

AI Candy Dispenser @alvaroviebrantz Alvaro Viebrantz

Slide 54

Slide 54 text

Edison Candle @devunwired Dave Smith

Slide 55

Slide 55 text

hackster.io/google Add your project to

Slide 56

Slide 56 text

Android Things Candle

Slide 57

Slide 57 text

Hardware is Hard

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

SoM Architecture Google Managed BSP

Slide 60

Slide 60 text

From Prototype to Production

Slide 61

Slide 61 text

Simplified Certification and Testing

Slide 62

Slide 62 text

Interchengeable Available Supported

Slide 63

Slide 63 text

Building Your Designs

Slide 64

Slide 64 text

Determining the Need The application of the PCB, such as medical or automotive, will often determine the materials in the PCB

Slide 65

Slide 65 text

Critical Component Selection Components Breadboard Power Supply Analog ans Digital I/O

Slide 66

Slide 66 text

Ohms Law

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

Groove Starter Kit Starter Kits

Slide 69

Slide 69 text

Starter Kits

Slide 70

Slide 70 text

Pico Maker Kit

Slide 71

Slide 71 text

Schematics

Slide 72

Slide 72 text

Layout

Slide 73

Slide 73 text

Fabricating the PCB Fabrication Assembly

Slide 74

Slide 74 text

Shematic Layout Gerbers BOM XYRS

Slide 75

Slide 75 text

OSH Park CircuitHub MacroFab Fabrication Assembly

Slide 76

Slide 76 text

Hands Soldering for novices

Slide 77

Slide 77 text

• Circuit • Tweezers • Soldering Gun • Components • Soldering Station (Iron) What you need:

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

Evaluate, Debug, Repeat

Slide 80

Slide 80 text

Microcontroller Programming

Slide 81

Slide 81 text

Displays are Optional Consider Alternate UI

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

No content

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

Creating Android Things Project

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

dependencies { provided 'com.google.android.things:androidthings:...' } ... Home Activity

Slide 91

Slide 91 text

GPIO PWM I2C I2S SPI Peripheral I/O UART

Slide 92

Slide 92 text

// Open a peripheral connection PeripheralManagerService service = new PeripheralManagerService(); Gpio button = service.openGpio(GPIO_PIN_NAME); // Configure the peripheral button.setDirection(Gpio.DIRECTION_IN); button.setEdgeTriggerType(Gpio.EDGE_FALLING); // Attach callback for input events button.registerGpioCallback(new GpioCallback() { @Override public boolean onGpioEdge(Gpio gpio) { Log.i(TAG, "GPIO changed"); // Return true to continue listening to events return true; } }); Simple Peripheral I/O

Slide 93

Slide 93 text

GPIO PWM I2C I2S SPI Audio Input Sensors Peripheral I/O User Drivers GPS UART

Slide 94

Slide 94 text

private GpioCallback callback = new GpioCallback() { @Override public boolean onGpioEdge(Gpio gpio) { int keyAction = gpio.getValue() ? KeyEvent.ACTION_DOWN : KeyEvent.ACTION_UP; inputDriver.emit(new KeyEvent[]{ new KeyEvent(keyAction, KeyEvent.KEYCODE_SPACE)}); return true; } }; Button User Driver InputDriver driver = new InputDriver.Builder(InputDevice.SOURCE_CLASS_BUTTON) .setName(DRIVER_NAME) .setVersion(DRIVER_VERSION) .setKeys(new int[]{KeyEvent.KEYCODE_SPACE}) .build(); UserDriverManager.getManager().registerInputDriver(driver);

Slide 95

Slide 95 text

GPIO PWM I2C I2S SPI Audio Input Sensors Peripheral Driver Library Peripheral I/O User Drivers GPS UART

Slide 96

Slide 96 text

dependencies { compile 'com.google.android.things.contrib:driver-button:...' } ButtonInputDriver inputDriver = new ButtonInputDriver( GPIO_PIN_NAME, Button.LogicState.PRESSED_WHEN_LOW , KeyEvent.KEYCODE_SPACE ); inputDriver.register(); Button Library Driver

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

More Examples On GitHub

Slide 99

Slide 99 text

Encloseure Developemt

Slide 100

Slide 100 text

Jony Ive Senior Vice President Design, Apple

Slide 101

Slide 101 text

Updates DP4 DP5 (July) Later this year Based on O PIO Pin Muxin Developer Console with OTA support And more… Audio User Driver Native I2S iMX7D Assistant SDK Sample GMSCore for IoT Smart setup NFC support Additional SoMs And more…

Slide 102

Slide 102 text

The Power of Android Automatic and Secure Managed by Google Why Android Things?

Slide 103

Slide 103 text

Google's IoT Developers Community https://g.co/iotdev Android Things SDK https://developer.android.com/things Hackster.io Community https://hackster.io/google What’s Next? Ngesa N. Marvin IoT Champion for GDGs, SSA +Ngesa Marvin @Ngesa254