SlideShare a Scribd company logo
Making Open Source Hardware IoT
with Raspberry Pi
Leon Anavi
Konsulko Group
leon.anavi@konsulko.com
OpenIoT Summit
21-23 February, Portland, Oregon
Agenda
 Raspberry Pi add-on boards for IoT
 Raspberry Pi HAT
 Raspberry Pi pHAT
 Designing an open source hardware
 Software support
What is Open Source Hardware?
 Design of physical objects that is publicly
available so that anyone can study, modify,
distribute, make, and sell the design or
hardware based on that design
Open Source Hardware Licenses
 GNU General Public License (GPL)
 Creative Commons Attribution-ShareAlike
 CERN Open Hardware License (OHL)
 TAPR Open Hardware License (OHL)
 FreeBSD
 MIT
 Other
Why Raspberry Pi?
 Low cost credit-card-sized computer
 Good software support
 Huge community
 NOT open source hardware!
Raspberry Pi
 2009 - Raspberry Pi Foundation
 2012 – The 1st
Raspberry Pi
 2014 – Raspberry Pi B+
 2016 – Raspberry Pi Zero
Raspberry Pi Flavors
Many add-on boards
Important Change in B+
40
pins
26
pins
Raspberry Pi B+
(2014)
Raspberry Pi B
(2011)
Raspberry Pi Flavors
40 Pin Header
Raspberry Pi HAT
Since 31st
July 2014
Raspberry Pi HAT
!=
Hat HAT
(Hardware Attached on Top)
HAT Requirements
 Form factor and dimensions (65x56mm)
 40 pin header compatible with Raspberry Pi
B+ and the newer models
 EEPROM with device tree fragment
 Details:
https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/
https://github.com/raspberrypi/hats
pHAT
 Form factor suitable for Raspberry Pi Zero
with 4 mount holes and dimensions
65x30mm
 40 pin through-hole header
 EEPROM not mandatory
* Not an official standard of the Raspberry Pi Foundation
Sense HAT
 Official product of the Raspberry Pi
Foundation
 Sensors for temperature, humidity,
barometric pressure, gyroscope,
accelerometer, magnetometer
 8x8 RGB LED matrix
 Five-button joystick
More...
Making Your 1st
HAT
Requirements:
 Idea (for example: a blinking
LED)
 Soldering equipment
 Adafruit Perma-Proto HAT
 Additional hardware resources
(depending on the idea)
Device Tree Fragment
 Data structure with hardware description of
the Raspberry Pi HAT stored on EEPROM
 8 pin DIP I2C EEPROM
 Recommended EEPROM CAT24C32
Flashing the EEPROM
 Download and build eepromutils
https://github.com/raspberrypi/hats
 Create a text file with description of your HAT
using eeprom_settings.txt for example
 Generate .epp file using eepmake
 Flash the binary file to the EEPROM using
eepflash.sh
EEPROM Wiring
 Flashing the EEPROM: pin 2 and 3
 Reading from the EEPROM: pin 27 and 28
device-tree/hat
 Directory /proc/device-tree/hat
 Information about product name, version,
vendor and UUID
Designing PCB
Electronics Design Automation Suites:
 KiCAD (free & open source software)
 Eagle (free for small 2 Layer PCB)
 Other
KiCAD Advantages
 Free & open source software (GPLv3+)
 Cross platform (works on GNU/Linux
distributions, MS Windows and Mac OS X)
 Integrated 3D viewer
 Contributions from CERN developers
 Used by Olimex for the design of their new
open source hardware boards
HAT Templates
 KiCAD
https://github.com/xesscorp/RPi_Hat_Template
http://gitlab.openfet.com/julien/pihat-template
 Eagle
http://www.flyfish-tech.com/pub/RasPi-BplusHAT.zip
My OSHW HAT & pHAT
Anavi Flex HAT
https://github.com/AnaviTech/anavi-flex
Anavi Infrared pHAT
https://github.com/AnaviTech/anavi-infrared
KiCAD Pcbnew
Recommendations
 Comply with the minimum requirements of the
PCB manufacturer for trace spaces, drills and
angular rings
 Keep in mind the complexity of the assembly
process while designing the PCB
 Consider the location of Raspberry Pi
components while placing components on
your HAT and avoid any potential negative
impact
Prototypes
PCB printing services from:
 OSHPark (Made in the USA)
 China
 Local
Software
 Python is popular programming language
among Raspberry Pi makers
 WiringPi library for C/C++
 WiringPi language bindings: Java, JavaScript
(Node.js), PHP, Perl, Go, Rust, etc.
 Other FOSS (LIRC, OpenCV, etc.)
… and one more thing
Share your hardware and
software under open
source licenses :)
Thank You!
Useful links:
 https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/
 https://www.raspberrypi.org/magpi/make-your-own-hat/
 http://pinout.xyz/
 https://github.com/raspberrypi/hats
 https://github.com/AnaviTech
 http://wiringpi.com/
 http://kicad-pcb.org
 https://oshpark.com/
 http://www.slideshare.net/leonanavi/making-open-source-hardware-iot-with-raspberry-pi

More Related Content

What's hot (16)

Introduction to Node-RED
Introduction to Node-RED
nodered_ug_jp
 
Raspberry Pi Using Python
Raspberry Pi Using Python
Seggy Segaran
 
Python in raspberry pi
Python in raspberry pi
Sudar Muthu
 
Pi Is For Python
Pi Is For Python
Brad Fortner
 
Internet Technology for the Commodore 64
Internet Technology for the Commodore 64
Leif Bloomquist
 
Raspberry Pi - Overview
Raspberry Pi - Overview
Emertxe Information Technologies Pvt Ltd
 
CI For Embedded Software - Lucas Jenss & Folker Bernitt
CI For Embedded Software - Lucas Jenss & Folker Bernitt
Thoughtworks
 
Embedded recipes 2018 - End-to-end software production for embedded - Guy Lun...
Embedded recipes 2018 - End-to-end software production for embedded - Guy Lun...
Anne Nicolas
 
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
Hiro Yoshioka
 
Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64
Scala Italy
 
S5429_LanceBrown
S5429_LanceBrown
Lance Brown
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
Leif Bloomquist
 
Python: the secret weapon of Fedora - FLISoL 2015
Python: the secret weapon of Fedora - FLISoL 2015
Bruno R. Zanuzzo
 
Contributing to gnome music
Contributing to gnome music
Jackson Isaac
 
Node-RED
Node-RED
DavidGhedalia
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
Chad Mairn
 
Introduction to Node-RED
Introduction to Node-RED
nodered_ug_jp
 
Raspberry Pi Using Python
Raspberry Pi Using Python
Seggy Segaran
 
Python in raspberry pi
Python in raspberry pi
Sudar Muthu
 
Internet Technology for the Commodore 64
Internet Technology for the Commodore 64
Leif Bloomquist
 
CI For Embedded Software - Lucas Jenss & Folker Bernitt
CI For Embedded Software - Lucas Jenss & Folker Bernitt
Thoughtworks
 
Embedded recipes 2018 - End-to-end software production for embedded - Guy Lun...
Embedded recipes 2018 - End-to-end software production for embedded - Guy Lun...
Anne Nicolas
 
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
Hiro Yoshioka
 
Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64
Scala Italy
 
S5429_LanceBrown
S5429_LanceBrown
Lance Brown
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
Leif Bloomquist
 
Python: the secret weapon of Fedora - FLISoL 2015
Python: the secret weapon of Fedora - FLISoL 2015
Bruno R. Zanuzzo
 
Contributing to gnome music
Contributing to gnome music
Jackson Isaac
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
Chad Mairn
 

Viewers also liked (20)

Trabajo final de tecnología
Trabajo final de tecnología
Leudis Castillo González
 
Meduim transmisyjne-potapski-andrzej
Meduim transmisyjne-potapski-andrzej
andrzej do gry
 
essay
essay
Roshay Terry
 
Sanriya Brochure FP
Sanriya Brochure FP
Sanriya Engineering Private Limited
 
Pcd pharma companies in chandigarh
Pcd pharma companies in chandigarh
Pace Biotech
 
Presentacion nntt
Presentacion nntt
Mario Ruiz
 
Constantinopol
Constantinopol
Cristina Tugurlan
 
ARDUINOLIKE BOARDS: A SHORT HARDWARE REFERENCE GUIDE FOR MAKERS
ARDUINOLIKE BOARDS: A SHORT HARDWARE REFERENCE GUIDE FOR MAKERS
Leandro Agro'
 
La théorie d'herzberg sur la motivation au travail
La théorie d'herzberg sur la motivation au travail
Antonin GAUNAND
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
Alex Danvy
 
What is Web-Scale IT ?
What is Web-Scale IT ?
Ahmed Banafa
 
How to bootstrap your IoT project
How to bootstrap your IoT project
Eurotech
 
Building your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry Pi
Jeff Prestes
 
Raspbeery PI IoT
Raspbeery PI IoT
Tony Gerdjikov
 
An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)
Julien SIMON
 
Internet of things
Internet of things
Magesh Parthasarathy
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 
Internet of things
Internet of things
Magesh Parthasarathy
 
SwiftyGPIO
SwiftyGPIO
CocoaHeads France
 
Meduim transmisyjne-potapski-andrzej
Meduim transmisyjne-potapski-andrzej
andrzej do gry
 
Pcd pharma companies in chandigarh
Pcd pharma companies in chandigarh
Pace Biotech
 
Presentacion nntt
Presentacion nntt
Mario Ruiz
 
ARDUINOLIKE BOARDS: A SHORT HARDWARE REFERENCE GUIDE FOR MAKERS
ARDUINOLIKE BOARDS: A SHORT HARDWARE REFERENCE GUIDE FOR MAKERS
Leandro Agro'
 
La théorie d'herzberg sur la motivation au travail
La théorie d'herzberg sur la motivation au travail
Antonin GAUNAND
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
Alex Danvy
 
What is Web-Scale IT ?
What is Web-Scale IT ?
Ahmed Banafa
 
How to bootstrap your IoT project
How to bootstrap your IoT project
Eurotech
 
Building your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry Pi
Jeff Prestes
 
An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)
Julien SIMON
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 
Ad

Similar to Making Open Source Hardware IoT with Raspberry Pi (20)

FOSDEM 2017: Making Your Own Open Source Raspberry Pi HAT
FOSDEM 2017: Making Your Own Open Source Raspberry Pi HAT
Leon Anavi
 
Internet of things aktu lab file
Internet of things aktu lab file
Nitesh Dubey
 
Rasberry pie--- power point presentation
Rasberry pie--- power point presentation
trangasaivarun
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
Daniel Eichhorn
 
IOT RASPBERRY PI HARDWARE.pptx
IOT RASPBERRY PI HARDWARE.pptx
markcaspillo1
 
Coffee & Pi - intro to Pi Workshop
Coffee & Pi - intro to Pi Workshop
Brad ☼ Derstine
 
Coffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi Workshop
Brad ☼ Derstine
 
Iot lab manual new
Iot lab manual new
Dr. Radhey Shyam
 
Raspberry pi
Raspberry pi
VipulKumar300
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use case
Masafumi Ohta
 
Tours of Raspberry Pi, Arduino, and IoT
Tours of Raspberry Pi, Arduino, and IoT
KnowledgeMavens
 
Abstract of raspberry pi
Abstract of raspberry pi
meghaagarwal1994
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptx
BLACKSPAROW
 
IoT Unit-gsgsgsgasgGwaczxvxbxbbhhhh2.pptx
IoT Unit-gsgsgsgasgGwaczxvxbxbbhhhh2.pptx
rajukolluri
 
Projects list raspberry pi projects-1230 - projects
Projects list raspberry pi projects-1230 - projects
Ashraf11111
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptx
MadhurimaDas52
 
Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!
Masafumi Ohta
 
IoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of Things
Abiro AB
 
IoT Heaps 5
IoT Heaps 5
SushrutaMishra1
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movement
srmonk
 
FOSDEM 2017: Making Your Own Open Source Raspberry Pi HAT
FOSDEM 2017: Making Your Own Open Source Raspberry Pi HAT
Leon Anavi
 
Internet of things aktu lab file
Internet of things aktu lab file
Nitesh Dubey
 
Rasberry pie--- power point presentation
Rasberry pie--- power point presentation
trangasaivarun
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
Daniel Eichhorn
 
IOT RASPBERRY PI HARDWARE.pptx
IOT RASPBERRY PI HARDWARE.pptx
markcaspillo1
 
Coffee & Pi - intro to Pi Workshop
Coffee & Pi - intro to Pi Workshop
Brad ☼ Derstine
 
Coffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi Workshop
Brad ☼ Derstine
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use case
Masafumi Ohta
 
Tours of Raspberry Pi, Arduino, and IoT
Tours of Raspberry Pi, Arduino, and IoT
KnowledgeMavens
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptx
BLACKSPAROW
 
IoT Unit-gsgsgsgasgGwaczxvxbxbbhhhh2.pptx
IoT Unit-gsgsgsgasgGwaczxvxbxbbhhhh2.pptx
rajukolluri
 
Projects list raspberry pi projects-1230 - projects
Projects list raspberry pi projects-1230 - projects
Ashraf11111
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptx
MadhurimaDas52
 
Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!
Masafumi Ohta
 
IoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of Things
Abiro AB
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movement
srmonk
 
Ad

More from Leon Anavi (20)

Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Leon Anavi
 
Exploring Open Source Dual A/B Update Solutions for Embedded Linux
Exploring Open Source Dual A/B Update Solutions for Embedded Linux
Leon Anavi
 
What Makes the Raspberry Pi 5 So Special?
What Makes the Raspberry Pi 5 So Special?
Leon Anavi
 
Side by Side Comparison of Dual A/B Update Solutions with the Yocto Project
Side by Side Comparison of Dual A/B Update Solutions with the Yocto Project
Leon Anavi
 
Screen Sharing on Raspberry Pi 5 Using VNC in Weston and Wayland with the Yoc...
Screen Sharing on Raspberry Pi 5 Using VNC in Weston and Wayland with the Yoc...
Leon Anavi
 
Как да играем компютърни игри с Nintendo Wii Nunchuk чрез Raspberry Pi RP2040...
Как да играем компютърни игри с Nintendo Wii Nunchuk чрез Raspberry Pi RP2040...
Leon Anavi
 
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Leon Anavi
 
Как да убием и последната дискета с Open Source технологии?
Как да убием и последната дискета с Open Source технологии?
Leon Anavi
 
Linux обновления с RAUC и Docker
Linux обновления с RAUC и Docker
Leon Anavi
 
How to Choose a Software Update Mechanism for Embedded Linux Devices
How to Choose a Software Update Mechanism for Embedded Linux Devices
Leon Anavi
 
Open Hardware Makers
Open Hardware Makers
Leon Anavi
 
Open Source Tools for Making Open Source Hardware
Open Source Tools for Making Open Source Hardware
Leon Anavi
 
A/B Linux updates with RAUC and meta-rauc-community: now & in the future
A/B Linux updates with RAUC and meta-rauc-community: now & in the future
Leon Anavi
 
Surfing on an Interactive Kiosk
Surfing on an Interactive Kiosk
Leon Anavi
 
Linux дистрибуции и софтуерни обновления за вградени устройства
Linux дистрибуции и софтуерни обновления за вградени устройства
Leon Anavi
 
Getting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry Pi
Leon Anavi
 
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Leon Anavi
 
Comparison of Open Source Software Home Automation Tools
Comparison of Open Source Software Home Automation Tools
Leon Anavi
 
Практични примери за device tree overlays на Raspberry Pi
Практични примери за device tree overlays на Raspberry Pi
Leon Anavi
 
The Software Developer’s Guide to Open Source Hardware
The Software Developer’s Guide to Open Source Hardware
Leon Anavi
 
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Leon Anavi
 
Exploring Open Source Dual A/B Update Solutions for Embedded Linux
Exploring Open Source Dual A/B Update Solutions for Embedded Linux
Leon Anavi
 
What Makes the Raspberry Pi 5 So Special?
What Makes the Raspberry Pi 5 So Special?
Leon Anavi
 
Side by Side Comparison of Dual A/B Update Solutions with the Yocto Project
Side by Side Comparison of Dual A/B Update Solutions with the Yocto Project
Leon Anavi
 
Screen Sharing on Raspberry Pi 5 Using VNC in Weston and Wayland with the Yoc...
Screen Sharing on Raspberry Pi 5 Using VNC in Weston and Wayland with the Yoc...
Leon Anavi
 
Как да играем компютърни игри с Nintendo Wii Nunchuk чрез Raspberry Pi RP2040...
Как да играем компютърни игри с Nintendo Wii Nunchuk чрез Raspberry Pi RP2040...
Leon Anavi
 
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Leon Anavi
 
Как да убием и последната дискета с Open Source технологии?
Как да убием и последната дискета с Open Source технологии?
Leon Anavi
 
Linux обновления с RAUC и Docker
Linux обновления с RAUC и Docker
Leon Anavi
 
How to Choose a Software Update Mechanism for Embedded Linux Devices
How to Choose a Software Update Mechanism for Embedded Linux Devices
Leon Anavi
 
Open Hardware Makers
Open Hardware Makers
Leon Anavi
 
Open Source Tools for Making Open Source Hardware
Open Source Tools for Making Open Source Hardware
Leon Anavi
 
A/B Linux updates with RAUC and meta-rauc-community: now & in the future
A/B Linux updates with RAUC and meta-rauc-community: now & in the future
Leon Anavi
 
Surfing on an Interactive Kiosk
Surfing on an Interactive Kiosk
Leon Anavi
 
Linux дистрибуции и софтуерни обновления за вградени устройства
Linux дистрибуции и софтуерни обновления за вградени устройства
Leon Anavi
 
Getting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry Pi
Leon Anavi
 
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Leon Anavi
 
Comparison of Open Source Software Home Automation Tools
Comparison of Open Source Software Home Automation Tools
Leon Anavi
 
Практични примери за device tree overlays на Raspberry Pi
Практични примери за device tree overlays на Raspberry Pi
Leon Anavi
 
The Software Developer’s Guide to Open Source Hardware
The Software Developer’s Guide to Open Source Hardware
Leon Anavi
 

Recently uploaded (20)

Analysis of the changes in the attitude of the news comments caused by knowin...
Analysis of the changes in the attitude of the news comments caused by knowin...
Matsushita Laboratory
 
AudGram Review: Build Visually Appealing, AI-Enhanced Audiograms to Engage Yo...
AudGram Review: Build Visually Appealing, AI-Enhanced Audiograms to Engage Yo...
SOFTTECHHUB
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
Bridging the divide: A conversation on tariffs today in the book industry - T...
Bridging the divide: A conversation on tariffs today in the book industry - T...
BookNet Canada
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
Introduction to Typescript - GDG On Campus EUE
Introduction to Typescript - GDG On Campus EUE
Google Developer Group On Campus European Universities in Egypt
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
Analysis of the changes in the attitude of the news comments caused by knowin...
Analysis of the changes in the attitude of the news comments caused by knowin...
Matsushita Laboratory
 
AudGram Review: Build Visually Appealing, AI-Enhanced Audiograms to Engage Yo...
AudGram Review: Build Visually Appealing, AI-Enhanced Audiograms to Engage Yo...
SOFTTECHHUB
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
Bridging the divide: A conversation on tariffs today in the book industry - T...
Bridging the divide: A conversation on tariffs today in the book industry - T...
BookNet Canada
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 

Making Open Source Hardware IoT with Raspberry Pi

  • 1. Making Open Source Hardware IoT with Raspberry Pi Leon Anavi Konsulko Group [email protected] OpenIoT Summit 21-23 February, Portland, Oregon
  • 2. Agenda  Raspberry Pi add-on boards for IoT  Raspberry Pi HAT  Raspberry Pi pHAT  Designing an open source hardware  Software support
  • 3. What is Open Source Hardware?  Design of physical objects that is publicly available so that anyone can study, modify, distribute, make, and sell the design or hardware based on that design
  • 4. Open Source Hardware Licenses  GNU General Public License (GPL)  Creative Commons Attribution-ShareAlike  CERN Open Hardware License (OHL)  TAPR Open Hardware License (OHL)  FreeBSD  MIT  Other
  • 5. Why Raspberry Pi?  Low cost credit-card-sized computer  Good software support  Huge community  NOT open source hardware!
  • 6. Raspberry Pi  2009 - Raspberry Pi Foundation  2012 – The 1st Raspberry Pi  2014 – Raspberry Pi B+  2016 – Raspberry Pi Zero
  • 9. Important Change in B+ 40 pins 26 pins Raspberry Pi B+ (2014) Raspberry Pi B (2011)
  • 12. Raspberry Pi HAT Since 31st July 2014
  • 13. Raspberry Pi HAT != Hat HAT (Hardware Attached on Top)
  • 14. HAT Requirements  Form factor and dimensions (65x56mm)  40 pin header compatible with Raspberry Pi B+ and the newer models  EEPROM with device tree fragment  Details: https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/ https://github.com/raspberrypi/hats
  • 15. pHAT  Form factor suitable for Raspberry Pi Zero with 4 mount holes and dimensions 65x30mm  40 pin through-hole header  EEPROM not mandatory * Not an official standard of the Raspberry Pi Foundation
  • 16. Sense HAT  Official product of the Raspberry Pi Foundation  Sensors for temperature, humidity, barometric pressure, gyroscope, accelerometer, magnetometer  8x8 RGB LED matrix  Five-button joystick
  • 18. Making Your 1st HAT Requirements:  Idea (for example: a blinking LED)  Soldering equipment  Adafruit Perma-Proto HAT  Additional hardware resources (depending on the idea)
  • 19. Device Tree Fragment  Data structure with hardware description of the Raspberry Pi HAT stored on EEPROM  8 pin DIP I2C EEPROM  Recommended EEPROM CAT24C32
  • 20. Flashing the EEPROM  Download and build eepromutils https://github.com/raspberrypi/hats  Create a text file with description of your HAT using eeprom_settings.txt for example  Generate .epp file using eepmake  Flash the binary file to the EEPROM using eepflash.sh
  • 21. EEPROM Wiring  Flashing the EEPROM: pin 2 and 3  Reading from the EEPROM: pin 27 and 28
  • 22. device-tree/hat  Directory /proc/device-tree/hat  Information about product name, version, vendor and UUID
  • 23. Designing PCB Electronics Design Automation Suites:  KiCAD (free & open source software)  Eagle (free for small 2 Layer PCB)  Other
  • 24. KiCAD Advantages  Free & open source software (GPLv3+)  Cross platform (works on GNU/Linux distributions, MS Windows and Mac OS X)  Integrated 3D viewer  Contributions from CERN developers  Used by Olimex for the design of their new open source hardware boards
  • 26. My OSHW HAT & pHAT Anavi Flex HAT https://github.com/AnaviTech/anavi-flex Anavi Infrared pHAT https://github.com/AnaviTech/anavi-infrared
  • 28. Recommendations  Comply with the minimum requirements of the PCB manufacturer for trace spaces, drills and angular rings  Keep in mind the complexity of the assembly process while designing the PCB  Consider the location of Raspberry Pi components while placing components on your HAT and avoid any potential negative impact
  • 29. Prototypes PCB printing services from:  OSHPark (Made in the USA)  China  Local
  • 30. Software  Python is popular programming language among Raspberry Pi makers  WiringPi library for C/C++  WiringPi language bindings: Java, JavaScript (Node.js), PHP, Perl, Go, Rust, etc.  Other FOSS (LIRC, OpenCV, etc.)
  • 31. … and one more thing Share your hardware and software under open source licenses :)
  • 32. Thank You! Useful links:  https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/  https://www.raspberrypi.org/magpi/make-your-own-hat/  http://pinout.xyz/  https://github.com/raspberrypi/hats  https://github.com/AnaviTech  http://wiringpi.com/  http://kicad-pcb.org  https://oshpark.com/  http://www.slideshare.net/leonanavi/making-open-source-hardware-iot-with-raspberry-pi