SlideShare a Scribd company logo
1 of 45
Download to read offline
Introduction to Sensors
JADS Course: Data-Driven Food Value Chain
Lecture 3 – Robin van Emden, JADS | robin@pwy.nl
22
https://github.com/robinvanemden/sensors
Introduction to Sensors: Data and code repository
About Me
Robin van Emden
Research at JADS
Academic background
- Cognitive neuroscience
- Computer science
Research at JADS at prof M. Kaptein’s
Computational Personalization Lab
3
About Me
Robin van Emden
30+ years R&D
For example…
Tear Detection
With: Tilburg and Rijeka Uni
Problem: Tears nearly invisible
Sensor: Thermal sensor array
4
About Me
Robin van Emden
30+ years R&D
For example…
Tear Detection
With: Tilburg and Rijeka Uni
Problem: Tears nearly invisible
Sensor: Thermal sensor array
5
6
Usual data science perspective…
As a neuroscientist: we’re not a brain in a vat…
7
Brain in a vat Nervous system
Shapiro, L. (2019). Embodied cognition. Routledge.
Embodied cognition as inspiration for new generation robots
8
Pfeifer, R., Lungarella, M., & Iida, F. (2007). Self-organization,
embodiment, and biologically inspired robotics. science,
318(5853), 1088-1093.
Pfeifer, R., Lungarella, M., & Iida, F. (2007).
Self-organization, embodiment, and biologically inspired robotics. science, 318(5853), 1088-1093.
Ever since robots took a more embodied approach…
9
Honda Asimo Boston Dynamics
10
So.. let’s invert the perspective for today!
10
Sensor related projects involve the following area’s:
Sensors
Generally, the most
electronics focused part.
A lot of uncharted area’s
here!
Microprocessors
The signal from the
sensor needs to be
converted into digital,
most often by an MCU.
Communication
protocols
The data needs to be
transported from the
MCU(s) to a data store.
Data storage
The data needs to be
aggregated or stored.
Data analysis,
Data visualization
The data has to be shown
to others.
11
From sensor to data Sensor data analysis
• We will be doing data analysis on live data
from a greenhouse at 30Mhz, a Dutch
company that builds a data platform for
horticulture.
12
• We will be using a simple plant measurement
device to go over some basic sensor principles
and to show how to get your data from an
electronic sensor on an MCU to a database.
From sensor to data: What is a sensor?
13
• American National Standards Institute (ANSI) Definition:
“A device which provides a usable output in response to a specified measurand”
• General definition:
A sensor acquires a physical parameter and converts it into a signal suitable
for processing (e.g. optical, electrical, mechanical)
Sensor
Input Signal Output Signal
From sensor to data: Measurement systems
A sensor is generally part of a measurement system.
14
1515
From sensor to data: Careful! Premature filtering…
1616
From sensor to data: …can be a bad thing.
What they got: Average Beats Per Minute
What they where looking for: raw data
From sensor to data: Measurement systems
A sensor is generally part of a measurement system.
17
From sensor to data: DSP1 - Analog to Digital Converter
From sensor to data: DSP2 - Signal filtering
20
From sensor to data: DSP3 - sensor fusion (Kalman Filter)
https://junshengfu.github.io/tracking-with-Extended-Kalman-Filter/
From sensor to data: Digital Signal Processing (DSP)
From sensor to data: Digital Signal Processing (DSP)
https://www.amazon.
com/Scientist-
Engineers-Digital-
Signal-
Processing/dp/09660
17633/ref=sr_1_2?dc
hild=1&keywords=dig
ital+signal+processing
+book&qid=1600529
672&sr=8-2
https://scipy-
cookbook.readthedocs.i
o/items/idx_signal_proc
essing.html
From sensor to data: Measurement systems
A sensor is generally part of a measurement system.
23
From sensor to data: Measurement systems
From hardwired to microprocessor-based measurement systems
24
25
From sensor to data: What is a microcontroller
From sensor to data: Microcontroller vs Microprocessor
• CPU, RAM, ROM, I/O and Timer all
on a single chip
• Fixed amount of on-chip RAM,
ROM, IO ports
• For applications in which cost,
power, and space are critical
• Single purpose
• Relatively slow, fewer resources
26
MCU MPU
• CPU is standalone - RAM, ROM, I/O
and timer are separate
• Designer can decide on amount of
RAM, ROM, IO ports
• Versatile
• General purpose
• More expensive
• Faster, more resources
27
Choice
is yours:
Arduino or RTOS,
ESP32 or STM32 …
28
From sensor to data: MicroPython
29
https://micropython.org/unicorn/
From Sensor to data Sensor data analysis
• We will be doing data analysis on live data
from a greenhouse at 30Mhz, a Dutch
company that builds a data platform for
horticulture.
30
• We will be using a simple plant measurement
device to go over some basic sensor principles
and to show how to get your data from an
electronic sensor on an MCU to a database.
From data to analysis: From measurement system to analysis
31
Data analysis Data storage
(database,
temporary local data, etc)
From sensor to data:Wireless protocols
From data to analysis: Network protocol
33
Data analysis Data storage
(database,
temporary local data, etc)
https://mqtt.org/
From data to analysis: MQTT Publish/Subscribe
34https://www.ev3dev.org/docs/tutorials/sending-and-receiving-messages-with-mqtt/
https://pypi.org/project/paho-mqtt/
From data to analysis: Network protocol
35
Data analysis Data storage
(database,
temporary local data, etc)
36
From data to analysis: Timeseries databases
https://www.timescale.com/ https://www.influxdata.com/
37
From data to analysis: Timeseries analysis
38
From sensor to data TTGO HiGrow
https://docs.google.com/forms/d/e/1FAIpQLSfceR17DqjP0DpjnG46QbSU0IGBpZmOJrJCPBP1OFRGTNkaTg/viewform
From Sensor to data
Instant Communication
Lorem ipsum dolor sit
amet, consectetuer
adipiscing elit
Networked API
Lorem ipsum dolor sit
amet, consectetuer
adipiscing elit
39
LilyGo TTGO T-Higrow
TinyTronics.nl
Sensors:
• Photometric
• Temperature
• Air humidity
• Soil humidity
• Electrolyte sensor
Microprocessor:
• ESP32
40
From data to analysis: Cayenne Dashboard
https://cayenne.mydevices.com/shared/5f5d15c82130755bb2a55562/project/
e9af04f1-b554-4317-b4fb-5e5d4d831b7d
Or build your own…
Instant Communication
Lorem ipsum dolor sit
amet, consectetuer
adipiscing elit
Networked API
Lorem ipsum dolor sit
amet, consectetuer
adipiscing elit
41
Start with:
Make: Sensors: A Hands-On Primer
for Monitoring the Real World with
Arduino and Raspberry Pi
by Karvinen & Valtokari
…don’t optimize early (left Bob Pease famous LM131 design)
42
43
From data to analysis: Edge Computing
44
From data to analysis: Edge Computing with Scailable
ThankYou
Robin van Emden
R.A.vanEmden@tilburguniversity.edu
www.jads.nl

More Related Content

What's hot

Cse318,lab report
Cse318,lab reportCse318,lab report
Cse318,lab reportFarhadHimel
 
Formatted Paper_References added
Formatted Paper_References addedFormatted Paper_References added
Formatted Paper_References addedMark Kurtz
 
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
 Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory SystemRatul Alahy
 
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...IRJET Journal
 
wireless sensor networks & application :forest fire detection
 wireless sensor networks  & application :forest fire detection wireless sensor networks  & application :forest fire detection
wireless sensor networks & application :forest fire detectionMueenudheen Shafaquath V P
 
Critical analysis of radar data signal de noising by implementation of haar w...
Critical analysis of radar data signal de noising by implementation of haar w...Critical analysis of radar data signal de noising by implementation of haar w...
Critical analysis of radar data signal de noising by implementation of haar w...eSAT Journals
 
Wireless sensor network and tree topology network using BLE
Wireless sensor network and tree topology network using BLE Wireless sensor network and tree topology network using BLE
Wireless sensor network and tree topology network using BLE Prashant Bastapure
 
FOREST FIRE DETECTION WIRELESS SENSOR NETWORK
FOREST FIRE DETECTION WIRELESS SENSOR NETWORKFOREST FIRE DETECTION WIRELESS SENSOR NETWORK
FOREST FIRE DETECTION WIRELESS SENSOR NETWORKAbhilash Krishnan
 

What's hot (9)

Cse318,lab report
Cse318,lab reportCse318,lab report
Cse318,lab report
 
Formatted Paper_References added
Formatted Paper_References addedFormatted Paper_References added
Formatted Paper_References added
 
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
 Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
 
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...
IRJET- An IoT Based Forest Fire Detection and Prevention System using Raspber...
 
wireless sensor networks & application :forest fire detection
 wireless sensor networks  & application :forest fire detection wireless sensor networks  & application :forest fire detection
wireless sensor networks & application :forest fire detection
 
national
nationalnational
national
 
Critical analysis of radar data signal de noising by implementation of haar w...
Critical analysis of radar data signal de noising by implementation of haar w...Critical analysis of radar data signal de noising by implementation of haar w...
Critical analysis of radar data signal de noising by implementation of haar w...
 
Wireless sensor network and tree topology network using BLE
Wireless sensor network and tree topology network using BLE Wireless sensor network and tree topology network using BLE
Wireless sensor network and tree topology network using BLE
 
FOREST FIRE DETECTION WIRELESS SENSOR NETWORK
FOREST FIRE DETECTION WIRELESS SENSOR NETWORKFOREST FIRE DETECTION WIRELESS SENSOR NETWORK
FOREST FIRE DETECTION WIRELESS SENSOR NETWORK
 

Similar to From Sensors to Servers

Iit kgp workshop
Iit kgp workshopIit kgp workshop
Iit kgp workshopArpan Pal
 
first review ppt.pptx
first review ppt.pptxfirst review ppt.pptx
first review ppt.pptxDineshU11
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networksDilum Bandara
 
Icdcn healthcare ws_arpanpal
Icdcn healthcare ws_arpanpalIcdcn healthcare ws_arpanpal
Icdcn healthcare ws_arpanpalArpan Pal
 
Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study Jeroen Doggen
 
Ingredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksIngredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksOscar Corcho
 
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3IRJET Journal
 
Jprofessionals co create the future of your city
Jprofessionals co create the future of your cityJprofessionals co create the future of your city
Jprofessionals co create the future of your cityPance Cavkovski
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptxVishalLabde
 
PPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptxPPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptxRizwan408930
 
Semantics in Sensor Networks
Semantics in Sensor NetworksSemantics in Sensor Networks
Semantics in Sensor NetworksOscar Corcho
 
Bcs ii revised syllabus 2022 modified
Bcs ii revised syllabus 2022 modifiedBcs ii revised syllabus 2022 modified
Bcs ii revised syllabus 2022 modifiedmilind82
 
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS TechnologyBioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS TechnologyShivaprasad Tilekar
 
Personalizing medical treatments based on ambient information: towards intero...
Personalizing medical treatments based on ambient information: towards intero...Personalizing medical treatments based on ambient information: towards intero...
Personalizing medical treatments based on ambient information: towards intero...Rémi Bastide
 
Privacy-preserving Information Sharing: Tools and Applications
Privacy-preserving Information Sharing: Tools and ApplicationsPrivacy-preserving Information Sharing: Tools and Applications
Privacy-preserving Information Sharing: Tools and ApplicationsEmiliano De Cristofaro
 
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...Jonas Traub
 
SMART FARMING.pptx
SMART FARMING.pptxSMART FARMING.pptx
SMART FARMING.pptxadit702133
 
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...Valerio Bocci
 

Similar to From Sensors to Servers (20)

Iit kgp workshop
Iit kgp workshopIit kgp workshop
Iit kgp workshop
 
first review ppt.pptx
first review ppt.pptxfirst review ppt.pptx
first review ppt.pptx
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networks
 
Icdcn healthcare ws_arpanpal
Icdcn healthcare ws_arpanpalIcdcn healthcare ws_arpanpal
Icdcn healthcare ws_arpanpal
 
Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study
 
Ingredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksIngredients for Semantic Sensor Networks
Ingredients for Semantic Sensor Networks
 
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3
IRJET- IoT based Patient Health Monitoring System using Raspberry Pi-3
 
Jprofessionals co create the future of your city
Jprofessionals co create the future of your cityJprofessionals co create the future of your city
Jprofessionals co create the future of your city
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptx
 
PPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptxPPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptx
 
L16 Internet of Things
L16 Internet of ThingsL16 Internet of Things
L16 Internet of Things
 
Semantics in Sensor Networks
Semantics in Sensor NetworksSemantics in Sensor Networks
Semantics in Sensor Networks
 
Bcs ii revised syllabus 2022 modified
Bcs ii revised syllabus 2022 modifiedBcs ii revised syllabus 2022 modified
Bcs ii revised syllabus 2022 modified
 
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS TechnologyBioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
 
Personalizing medical treatments based on ambient information: towards intero...
Personalizing medical treatments based on ambient information: towards intero...Personalizing medical treatments based on ambient information: towards intero...
Personalizing medical treatments based on ambient information: towards intero...
 
L16 Internet of Things
L16 Internet of ThingsL16 Internet of Things
L16 Internet of Things
 
Privacy-preserving Information Sharing: Tools and Applications
Privacy-preserving Information Sharing: Tools and ApplicationsPrivacy-preserving Information Sharing: Tools and Applications
Privacy-preserving Information Sharing: Tools and Applications
 
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...
JT@UCSB - On-Demand Data Streaming from Sensor Nodes and A quick overview of ...
 
SMART FARMING.pptx
SMART FARMING.pptxSMART FARMING.pptx
SMART FARMING.pptx
 
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...
ArduSiPM a particle detector for nuclear radiation and cosmic ray Lecce 17 ma...
 

Recently uploaded

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

From Sensors to Servers

  • 1. Introduction to Sensors JADS Course: Data-Driven Food Value Chain Lecture 3 – Robin van Emden, JADS | robin@pwy.nl
  • 3. About Me Robin van Emden Research at JADS Academic background - Cognitive neuroscience - Computer science Research at JADS at prof M. Kaptein’s Computational Personalization Lab 3
  • 4. About Me Robin van Emden 30+ years R&D For example… Tear Detection With: Tilburg and Rijeka Uni Problem: Tears nearly invisible Sensor: Thermal sensor array 4
  • 5. About Me Robin van Emden 30+ years R&D For example… Tear Detection With: Tilburg and Rijeka Uni Problem: Tears nearly invisible Sensor: Thermal sensor array 5
  • 6. 6 Usual data science perspective…
  • 7. As a neuroscientist: we’re not a brain in a vat… 7 Brain in a vat Nervous system Shapiro, L. (2019). Embodied cognition. Routledge.
  • 8. Embodied cognition as inspiration for new generation robots 8 Pfeifer, R., Lungarella, M., & Iida, F. (2007). Self-organization, embodiment, and biologically inspired robotics. science, 318(5853), 1088-1093. Pfeifer, R., Lungarella, M., & Iida, F. (2007). Self-organization, embodiment, and biologically inspired robotics. science, 318(5853), 1088-1093.
  • 9. Ever since robots took a more embodied approach… 9 Honda Asimo Boston Dynamics
  • 10. 10 So.. let’s invert the perspective for today! 10
  • 11. Sensor related projects involve the following area’s: Sensors Generally, the most electronics focused part. A lot of uncharted area’s here! Microprocessors The signal from the sensor needs to be converted into digital, most often by an MCU. Communication protocols The data needs to be transported from the MCU(s) to a data store. Data storage The data needs to be aggregated or stored. Data analysis, Data visualization The data has to be shown to others. 11
  • 12. From sensor to data Sensor data analysis • We will be doing data analysis on live data from a greenhouse at 30Mhz, a Dutch company that builds a data platform for horticulture. 12 • We will be using a simple plant measurement device to go over some basic sensor principles and to show how to get your data from an electronic sensor on an MCU to a database.
  • 13. From sensor to data: What is a sensor? 13 • American National Standards Institute (ANSI) Definition: “A device which provides a usable output in response to a specified measurand” • General definition: A sensor acquires a physical parameter and converts it into a signal suitable for processing (e.g. optical, electrical, mechanical) Sensor Input Signal Output Signal
  • 14. From sensor to data: Measurement systems A sensor is generally part of a measurement system. 14
  • 15. 1515 From sensor to data: Careful! Premature filtering…
  • 16. 1616 From sensor to data: …can be a bad thing. What they got: Average Beats Per Minute What they where looking for: raw data
  • 17. From sensor to data: Measurement systems A sensor is generally part of a measurement system. 17
  • 18. From sensor to data: DSP1 - Analog to Digital Converter
  • 19. From sensor to data: DSP2 - Signal filtering
  • 20. 20 From sensor to data: DSP3 - sensor fusion (Kalman Filter) https://junshengfu.github.io/tracking-with-Extended-Kalman-Filter/
  • 21. From sensor to data: Digital Signal Processing (DSP)
  • 22. From sensor to data: Digital Signal Processing (DSP) https://www.amazon. com/Scientist- Engineers-Digital- Signal- Processing/dp/09660 17633/ref=sr_1_2?dc hild=1&keywords=dig ital+signal+processing +book&qid=1600529 672&sr=8-2 https://scipy- cookbook.readthedocs.i o/items/idx_signal_proc essing.html
  • 23. From sensor to data: Measurement systems A sensor is generally part of a measurement system. 23
  • 24. From sensor to data: Measurement systems From hardwired to microprocessor-based measurement systems 24
  • 25. 25 From sensor to data: What is a microcontroller
  • 26. From sensor to data: Microcontroller vs Microprocessor • CPU, RAM, ROM, I/O and Timer all on a single chip • Fixed amount of on-chip RAM, ROM, IO ports • For applications in which cost, power, and space are critical • Single purpose • Relatively slow, fewer resources 26 MCU MPU • CPU is standalone - RAM, ROM, I/O and timer are separate • Designer can decide on amount of RAM, ROM, IO ports • Versatile • General purpose • More expensive • Faster, more resources
  • 27. 27 Choice is yours: Arduino or RTOS, ESP32 or STM32 …
  • 28. 28 From sensor to data: MicroPython
  • 30. From Sensor to data Sensor data analysis • We will be doing data analysis on live data from a greenhouse at 30Mhz, a Dutch company that builds a data platform for horticulture. 30 • We will be using a simple plant measurement device to go over some basic sensor principles and to show how to get your data from an electronic sensor on an MCU to a database.
  • 31. From data to analysis: From measurement system to analysis 31 Data analysis Data storage (database, temporary local data, etc)
  • 32. From sensor to data:Wireless protocols
  • 33. From data to analysis: Network protocol 33 Data analysis Data storage (database, temporary local data, etc) https://mqtt.org/
  • 34. From data to analysis: MQTT Publish/Subscribe 34https://www.ev3dev.org/docs/tutorials/sending-and-receiving-messages-with-mqtt/ https://pypi.org/project/paho-mqtt/
  • 35. From data to analysis: Network protocol 35 Data analysis Data storage (database, temporary local data, etc)
  • 36. 36 From data to analysis: Timeseries databases https://www.timescale.com/ https://www.influxdata.com/
  • 37. 37 From data to analysis: Timeseries analysis
  • 38. 38 From sensor to data TTGO HiGrow https://docs.google.com/forms/d/e/1FAIpQLSfceR17DqjP0DpjnG46QbSU0IGBpZmOJrJCPBP1OFRGTNkaTg/viewform
  • 39. From Sensor to data Instant Communication Lorem ipsum dolor sit amet, consectetuer adipiscing elit Networked API Lorem ipsum dolor sit amet, consectetuer adipiscing elit 39 LilyGo TTGO T-Higrow TinyTronics.nl Sensors: • Photometric • Temperature • Air humidity • Soil humidity • Electrolyte sensor Microprocessor: • ESP32
  • 40. 40 From data to analysis: Cayenne Dashboard https://cayenne.mydevices.com/shared/5f5d15c82130755bb2a55562/project/ e9af04f1-b554-4317-b4fb-5e5d4d831b7d
  • 41. Or build your own… Instant Communication Lorem ipsum dolor sit amet, consectetuer adipiscing elit Networked API Lorem ipsum dolor sit amet, consectetuer adipiscing elit 41 Start with: Make: Sensors: A Hands-On Primer for Monitoring the Real World with Arduino and Raspberry Pi by Karvinen & Valtokari
  • 42. …don’t optimize early (left Bob Pease famous LM131 design) 42
  • 43. 43 From data to analysis: Edge Computing
  • 44. 44 From data to analysis: Edge Computing with Scailable