SlideShare una empresa de Scribd logo
1 de 23
Implementation of an
Arduino Remote Laboratory
with Raspberry Pi
MANUEL CASTRO
MCASTRO@IEEC.UNED.ES
https://es.slideshare.net/mmmcastro
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
The importance of remote labs in the current environment
How to use this labs
Show lab architecture of Arduino base on Raspberry PI
Use case and example about Arduino in IoT
Why is necessary a remote lab?
Lab Architecture
Type of experiments
Arduino in IoT
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Be able to get an experimentation environment accessible from anywhere
• Create unattended labs and students can be auto-sufficient
• There are three goals:
 Increase student autonomy
 Better performance of the infrastructure deployment
 Cut down operation exposure
• Deploy labs with wide functionality and low cost
Why is necessary a remote lab?
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
Lab architecture - Diagram
WebCam
Wireless
Rainbow
Raspberry
Arduino Mega 2560
Crane
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Raspberry PI is a low cost simple board computer (SBC) which has been
developed in by Foundation Raspberry PI
• Be born with the objectives of learning computer science of schools.
• Main characteristics of Raspberry Pi 2 Model B
 Processor: Quad-Core Cortex A7 to 900 MHz
 RAM: 1 GB
 Ports: 4 x USB 2.0. 1 x 40 GPIO pin. 1 X HDMI. 1 x Ethernet. 1 x Mix
audio/mic. 1 x Camera interface (CSI) 1 X Display interface (DSI) 1 x
Micro SD. 1 x Graphic core 3D
Lab architecture – Elements – Raspberry Pi
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• It was born in 2005 as a students project in the Institute INVRE in Invre
(Italy)
• The born reason was high cost, over 100 €, of BASIC Stamp board
• Once and for all platform was done (hardware and software),
researchers worked in getting more economical, lighter and available for
open source community (open hardware and source code)
• The first release had a cost less 30 € and worked in all platforms (Linux,
Windows and MacOSX)
Lab architecture – Elements – Arduino (1/3)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Easy use of IDE.
• Programming language very similar to C. This fact helps that learning
curve for users who know this language is very high.
• There is a ecosystem belong producer, development and consumer all of
them generate great synergies
• Digital and analogical outputs and interruptions management which offer
a wide variety of connection possibility
• Be able to connect all type of sensors:
 Movement
 Light
 Distance
 etc.
Lab architecture – Elements – Arduino (2/3)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Characteristics of Arduino Mega 2560:
 Microcontroller ATmega2560
 Input voltage – 7-12V
 54 digital pines of Input/Out (14 of them are output PWM)
 16 analog input
 256 k flash memory
Lab architecture – Elements – Arduino (3/3)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Rainbow Cube is a cube 3D with LEDs of three colors: red, green and
blue (RGB) in order to create colors design
• 3D cube is made up of 64 LED of 8 mm. The layout is tridimensional
4x4x4
• Cube is built for operate with 3.3 V/AAMP LDO very useful to operate
independent way
• Compatible with Xbee socket which can be connected with PC or
Arduino without wires
Lab architecture – Elements – Rainbow
Cube
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Be able to do remote compilations with Arduino code
• Load binary file to Arduino board or Rainbow Cube
• Watch experiment through to web cam
• Possible to connect Raspberry board some Arduinos and students can
choose in execution time the board which would like to compile and load
the binary file
Type to experiments to do
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
First step, the student must choose source file which he
would compile and he chooses the device where he
would load binary file
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
Second step, the system transforms the source file with
InoToSource Java tool and copies in the work directory
with another Java utility, DirectoryDump
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
In this second step, compile, link and creation of
executable file are done
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
In the last step, the binary file is loaded in the device,
the system is blocked during three minutes in order to
the student can check the result of the experiment
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• Arduino MKR1000 are compounding with three main blocks:
 SAMD21 Cortex-M0+ 32 bit low power ARM MCU
 WINC1500 low power 2,4 GHz IEEE® 802.11 b/g/n Wi-Fi
 ECC508 CryptoAuthentication
• Price 30,99 € (IVA included)
Arduino – IoT: Connecting Arduino to
Web (1/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• For staring, it is necessary to install the WIFI101 library
• In the source code, you should do the next step:
 Include the library
Arduino – IoT: Connecting Arduino to
Web (2/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
 Declare variable for connection configuration
 In the setup() function does the connection:
Arduino – IoT: Connecting Arduino to
Web (3/7)
WL_CONNECT_FAILED
WL_CONNECTED
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
 Examples
Arduino – IoT: Connecting Arduino to
Web (4/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
 So that Arduino can become an IoT element, it must be able to send
information to cloud. How does it do?
 Define server
 Time interval to send information to server
Arduino – IoT: Connecting Arduino to
Web (5/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
 Reading sensors data in the loop function
Arduino – IoT: Connecting Arduino to
Web (6/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
 Example of send information in a function
Arduino – IoT: Connecting Arduino to
Web (7/7)
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
• There are platforms such as Temboo o IFTTT which allow publishing
information of:
 Twitter
 Facebook
 Google Drive
 Send push notifications
Arduino – IoT: Interacting with web services
Implementation of an Arduino
Remote Laboratory with Raspberry Pi
Implementation of an
Arduino Remote Laboratory
with Raspberry Pi
MANUEL CASTRO
MCASTRO@IEEC.UNED.ES
https://es.slideshare.net/mmmcastro
QUESTIONS?

Más contenido relacionado

La actualidad más candente

Arduino i rremote 1112
Arduino i rremote 1112Arduino i rremote 1112
Arduino i rremote 1112馬 萬圳
 
Raspberry Pi e-Course for Beginners
Raspberry Pi e-Course for BeginnersRaspberry Pi e-Course for Beginners
Raspberry Pi e-Course for BeginnersMadhu Honey
 
Embedded Web Server based Home Automation using Raspberry PI
Embedded Web Server based Home Automation using Raspberry PIEmbedded Web Server based Home Automation using Raspberry PI
Embedded Web Server based Home Automation using Raspberry PIEditor IJMTER
 
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?Koan-Sin Tan
 

La actualidad más candente (7)

Arduino i rremote 1112
Arduino i rremote 1112Arduino i rremote 1112
Arduino i rremote 1112
 
Arduino1.0 RC
Arduino1.0 RCArduino1.0 RC
Arduino1.0 RC
 
Raspberry Pi e-Course for Beginners
Raspberry Pi e-Course for BeginnersRaspberry Pi e-Course for Beginners
Raspberry Pi e-Course for Beginners
 
Embedded Web Server based Home Automation using Raspberry PI
Embedded Web Server based Home Automation using Raspberry PIEmbedded Web Server based Home Automation using Raspberry PI
Embedded Web Server based Home Automation using Raspberry PI
 
Arduino vs Raspberry Pi
Arduino vs Raspberry PiArduino vs Raspberry Pi
Arduino vs Raspberry Pi
 
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?
Why You Cannot Use Neural Engine to Run Your NN Models on A11 Devices?
 
IoT with Arduino
IoT with ArduinoIoT with Arduino
IoT with Arduino
 

Similar a Implementation of an Arduino Remote Laboratory with Raspberry Pi

Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywheressuser06ea42
 
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT WorkshopRepublic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT WorkshopAlwin Arrasyid
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura
 
Academic Modular Seminar
Academic Modular SeminarAcademic Modular Seminar
Academic Modular SeminarJason Reid
 
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...Eclipse IoT
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshopNitesh Malviya
 
Talk at the Landelijk Architecure Congress (NL)
Talk at the Landelijk Architecure Congress (NL)Talk at the Landelijk Architecure Congress (NL)
Talk at the Landelijk Architecure Congress (NL)Jonathan Carter
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptxUnit 6 - PART2.pptx
Unit 6 - PART2.pptxBLACKSPAROW
 
Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)Justin Mclean
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitIntel® Software
 
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.Luciano Resende
 
ISI_Report_(Repaired) (4) (1)
ISI_Report_(Repaired) (4) (1)ISI_Report_(Repaired) (4) (1)
ISI_Report_(Repaired) (4) (1)Indranil Roy
 
Raspberry pi overview
Raspberry pi overview Raspberry pi overview
Raspberry pi overview Matthew Karas
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot surveyMatt Haines
 

Similar a Implementation of an Arduino Remote Laboratory with Raspberry Pi (20)

Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywhere
 
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT WorkshopRepublic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
 
Academic Modular Seminar
Academic Modular SeminarAcademic Modular Seminar
Academic Modular Seminar
 
ON.LAB Mininet
ON.LAB MininetON.LAB Mininet
ON.LAB Mininet
 
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
 
IoT Session Thomas More
IoT Session Thomas MoreIoT Session Thomas More
IoT Session Thomas More
 
Cc internet of things @ Thomas More
Cc internet of things @ Thomas MoreCc internet of things @ Thomas More
Cc internet of things @ Thomas More
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshop
 
IoT Workshop in Macao
IoT Workshop in MacaoIoT Workshop in Macao
IoT Workshop in Macao
 
IoT Workshop in Macao
IoT Workshop in MacaoIoT Workshop in Macao
IoT Workshop in Macao
 
Talk at the Landelijk Architecure Congress (NL)
Talk at the Landelijk Architecure Congress (NL)Talk at the Landelijk Architecure Congress (NL)
Talk at the Landelijk Architecure Congress (NL)
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptxUnit 6 - PART2.pptx
Unit 6 - PART2.pptx
 
Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer Kit
 
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
 
ISI_Report_(Repaired) (4) (1)
ISI_Report_(Repaired) (4) (1)ISI_Report_(Repaired) (4) (1)
ISI_Report_(Repaired) (4) (1)
 
Raspberry pi overview
Raspberry pi overview Raspberry pi overview
Raspberry pi overview
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot survey
 

Más de Manuel Castro

Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...
Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...
Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...Manuel Castro
 
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...Manuel Castro
 
AICTC 2024 keynote MCastro 2024 02 final.pptx
AICTC 2024 keynote MCastro 2024 02 final.pptxAICTC 2024 keynote MCastro 2024 02 final.pptx
AICTC 2024 keynote MCastro 2024 02 final.pptxManuel Castro
 
ECoVEM European VET project courses presentation
ECoVEM European VET project courses presentationECoVEM European VET project courses presentation
ECoVEM European VET project courses presentationManuel Castro
 
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...Manuel Castro
 
Work in progress: ChatGPT as an Assistant in Paper Writing
Work in progress: ChatGPT as an Assistant in Paper WritingWork in progress: ChatGPT as an Assistant in Paper Writing
Work in progress: ChatGPT as an Assistant in Paper WritingManuel Castro
 
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...Observations of Cheating Behaviours in Online Examinations and Tools for Miti...
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...Manuel Castro
 
ECoVEM IEEE LWMOOCS 2023 10
ECoVEM IEEE LWMOOCS 2023 10ECoVEM IEEE LWMOOCS 2023 10
ECoVEM IEEE LWMOOCS 2023 10Manuel Castro
 
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, Greece
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, GreeceIEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, Greece
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, GreeceManuel Castro
 
Educating online/remote Future Engineering Leaders with Practical Competences...
Educating online/remote Future Engineering Leaders with Practical Competences...Educating online/remote Future Engineering Leaders with Practical Competences...
Educating online/remote Future Engineering Leaders with Practical Competences...Manuel Castro
 
ieee edsoc tunisia DL MCastro 2022 07 final.pptx
ieee edsoc tunisia DL MCastro 2022 07 final.pptxieee edsoc tunisia DL MCastro 2022 07 final.pptx
ieee edsoc tunisia DL MCastro 2022 07 final.pptxManuel Castro
 
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptx
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptxieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptx
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptxManuel Castro
 
2021 IEEE EdSoc Overview 2022 07 final.pptx
2021 IEEE EdSoc Overview 2022 07 final.pptx2021 IEEE EdSoc Overview 2022 07 final.pptx
2021 IEEE EdSoc Overview 2022 07 final.pptxManuel Castro
 
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptx
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptxECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptx
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptxManuel Castro
 
ECoVEM cursos UNED TM BCN 2022 06.pptx
ECoVEM cursos UNED TM BCN 2022 06.pptxECoVEM cursos UNED TM BCN 2022 06.pptx
ECoVEM cursos UNED TM BCN 2022 06.pptxManuel Castro
 
WEEF GEDC IFEES 2021 Madrid
WEEF GEDC IFEES 2021 MadridWEEF GEDC IFEES 2021 Madrid
WEEF GEDC IFEES 2021 MadridManuel Castro
 
IEEE LWMOOCS 2021 Guatemala
IEEE LWMOOCS 2021 GuatemalaIEEE LWMOOCS 2021 Guatemala
IEEE LWMOOCS 2021 GuatemalaManuel Castro
 
E-lives project presentation
E-lives project presentationE-lives project presentation
E-lives project presentationManuel Castro
 
E-lives Good Practies Summary
E-lives Good Practies Summary  E-lives Good Practies Summary
E-lives Good Practies Summary Manuel Castro
 
I4EU project presentacion esp 2021 03
I4EU project presentacion esp  2021 03I4EU project presentacion esp  2021 03
I4EU project presentacion esp 2021 03Manuel Castro
 

Más de Manuel Castro (20)

Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...
Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...
Cursos y actividades del proyecto ECoVEM, "European Centre of Vocational Exce...
 
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...
Definición y Fuentes de Energía Renovables – Ventajas e Inconvenientes de las...
 
AICTC 2024 keynote MCastro 2024 02 final.pptx
AICTC 2024 keynote MCastro 2024 02 final.pptxAICTC 2024 keynote MCastro 2024 02 final.pptx
AICTC 2024 keynote MCastro 2024 02 final.pptx
 
ECoVEM European VET project courses presentation
ECoVEM European VET project courses presentationECoVEM European VET project courses presentation
ECoVEM European VET project courses presentation
 
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...
TALE 2023 Transforming Traditional Universities into Entrepreneurial Universi...
 
Work in progress: ChatGPT as an Assistant in Paper Writing
Work in progress: ChatGPT as an Assistant in Paper WritingWork in progress: ChatGPT as an Assistant in Paper Writing
Work in progress: ChatGPT as an Assistant in Paper Writing
 
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...Observations of Cheating Behaviours in Online Examinations and Tools for Miti...
Observations of Cheating Behaviours in Online Examinations and Tools for Miti...
 
ECoVEM IEEE LWMOOCS 2023 10
ECoVEM IEEE LWMOOCS 2023 10ECoVEM IEEE LWMOOCS 2023 10
ECoVEM IEEE LWMOOCS 2023 10
 
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, Greece
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, GreeceIEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, Greece
IEEE EDUCON 2024 - 8-11 May, 2024, in Kos Island, Greece
 
Educating online/remote Future Engineering Leaders with Practical Competences...
Educating online/remote Future Engineering Leaders with Practical Competences...Educating online/remote Future Engineering Leaders with Practical Competences...
Educating online/remote Future Engineering Leaders with Practical Competences...
 
ieee edsoc tunisia DL MCastro 2022 07 final.pptx
ieee edsoc tunisia DL MCastro 2022 07 final.pptxieee edsoc tunisia DL MCastro 2022 07 final.pptx
ieee edsoc tunisia DL MCastro 2022 07 final.pptx
 
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptx
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptxieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptx
ieee edsoc tunisia CIIP KS MCastro 2022 07 final.pptx
 
2021 IEEE EdSoc Overview 2022 07 final.pptx
2021 IEEE EdSoc Overview 2022 07 final.pptx2021 IEEE EdSoc Overview 2022 07 final.pptx
2021 IEEE EdSoc Overview 2022 07 final.pptx
 
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptx
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptxECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptx
ECoVEM DL IEEE EdSoc Tunis UNED 2022 07 final.pptx
 
ECoVEM cursos UNED TM BCN 2022 06.pptx
ECoVEM cursos UNED TM BCN 2022 06.pptxECoVEM cursos UNED TM BCN 2022 06.pptx
ECoVEM cursos UNED TM BCN 2022 06.pptx
 
WEEF GEDC IFEES 2021 Madrid
WEEF GEDC IFEES 2021 MadridWEEF GEDC IFEES 2021 Madrid
WEEF GEDC IFEES 2021 Madrid
 
IEEE LWMOOCS 2021 Guatemala
IEEE LWMOOCS 2021 GuatemalaIEEE LWMOOCS 2021 Guatemala
IEEE LWMOOCS 2021 Guatemala
 
E-lives project presentation
E-lives project presentationE-lives project presentation
E-lives project presentation
 
E-lives Good Practies Summary
E-lives Good Practies Summary  E-lives Good Practies Summary
E-lives Good Practies Summary
 
I4EU project presentacion esp 2021 03
I4EU project presentacion esp  2021 03I4EU project presentacion esp  2021 03
I4EU project presentacion esp 2021 03
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Último (20)

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Implementation of an Arduino Remote Laboratory with Raspberry Pi

  • 1. Implementation of an Arduino Remote Laboratory with Raspberry Pi MANUEL CASTRO MCASTRO@IEEC.UNED.ES https://es.slideshare.net/mmmcastro
  • 2. Implementation of an Arduino Remote Laboratory with Raspberry Pi The importance of remote labs in the current environment How to use this labs Show lab architecture of Arduino base on Raspberry PI Use case and example about Arduino in IoT Why is necessary a remote lab? Lab Architecture Type of experiments Arduino in IoT
  • 3. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Be able to get an experimentation environment accessible from anywhere • Create unattended labs and students can be auto-sufficient • There are three goals:  Increase student autonomy  Better performance of the infrastructure deployment  Cut down operation exposure • Deploy labs with wide functionality and low cost Why is necessary a remote lab?
  • 4. Implementation of an Arduino Remote Laboratory with Raspberry Pi Lab architecture - Diagram WebCam Wireless Rainbow Raspberry Arduino Mega 2560 Crane
  • 5. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Raspberry PI is a low cost simple board computer (SBC) which has been developed in by Foundation Raspberry PI • Be born with the objectives of learning computer science of schools. • Main characteristics of Raspberry Pi 2 Model B  Processor: Quad-Core Cortex A7 to 900 MHz  RAM: 1 GB  Ports: 4 x USB 2.0. 1 x 40 GPIO pin. 1 X HDMI. 1 x Ethernet. 1 x Mix audio/mic. 1 x Camera interface (CSI) 1 X Display interface (DSI) 1 x Micro SD. 1 x Graphic core 3D Lab architecture – Elements – Raspberry Pi
  • 6. Implementation of an Arduino Remote Laboratory with Raspberry Pi • It was born in 2005 as a students project in the Institute INVRE in Invre (Italy) • The born reason was high cost, over 100 €, of BASIC Stamp board • Once and for all platform was done (hardware and software), researchers worked in getting more economical, lighter and available for open source community (open hardware and source code) • The first release had a cost less 30 € and worked in all platforms (Linux, Windows and MacOSX) Lab architecture – Elements – Arduino (1/3)
  • 7. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Easy use of IDE. • Programming language very similar to C. This fact helps that learning curve for users who know this language is very high. • There is a ecosystem belong producer, development and consumer all of them generate great synergies • Digital and analogical outputs and interruptions management which offer a wide variety of connection possibility • Be able to connect all type of sensors:  Movement  Light  Distance  etc. Lab architecture – Elements – Arduino (2/3)
  • 8. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Characteristics of Arduino Mega 2560:  Microcontroller ATmega2560  Input voltage – 7-12V  54 digital pines of Input/Out (14 of them are output PWM)  16 analog input  256 k flash memory Lab architecture – Elements – Arduino (3/3)
  • 9. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Rainbow Cube is a cube 3D with LEDs of three colors: red, green and blue (RGB) in order to create colors design • 3D cube is made up of 64 LED of 8 mm. The layout is tridimensional 4x4x4 • Cube is built for operate with 3.3 V/AAMP LDO very useful to operate independent way • Compatible with Xbee socket which can be connected with PC or Arduino without wires Lab architecture – Elements – Rainbow Cube
  • 10. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Be able to do remote compilations with Arduino code • Load binary file to Arduino board or Rainbow Cube • Watch experiment through to web cam • Possible to connect Raspberry board some Arduinos and students can choose in execution time the board which would like to compile and load the binary file Type to experiments to do
  • 11. Implementation of an Arduino Remote Laboratory with Raspberry Pi First step, the student must choose source file which he would compile and he chooses the device where he would load binary file
  • 12. Implementation of an Arduino Remote Laboratory with Raspberry Pi Second step, the system transforms the source file with InoToSource Java tool and copies in the work directory with another Java utility, DirectoryDump
  • 13. Implementation of an Arduino Remote Laboratory with Raspberry Pi In this second step, compile, link and creation of executable file are done
  • 14. Implementation of an Arduino Remote Laboratory with Raspberry Pi In the last step, the binary file is loaded in the device, the system is blocked during three minutes in order to the student can check the result of the experiment
  • 15. Implementation of an Arduino Remote Laboratory with Raspberry Pi • Arduino MKR1000 are compounding with three main blocks:  SAMD21 Cortex-M0+ 32 bit low power ARM MCU  WINC1500 low power 2,4 GHz IEEE® 802.11 b/g/n Wi-Fi  ECC508 CryptoAuthentication • Price 30,99 € (IVA included) Arduino – IoT: Connecting Arduino to Web (1/7)
  • 16. Implementation of an Arduino Remote Laboratory with Raspberry Pi • For staring, it is necessary to install the WIFI101 library • In the source code, you should do the next step:  Include the library Arduino – IoT: Connecting Arduino to Web (2/7)
  • 17. Implementation of an Arduino Remote Laboratory with Raspberry Pi  Declare variable for connection configuration  In the setup() function does the connection: Arduino – IoT: Connecting Arduino to Web (3/7) WL_CONNECT_FAILED WL_CONNECTED
  • 18. Implementation of an Arduino Remote Laboratory with Raspberry Pi  Examples Arduino – IoT: Connecting Arduino to Web (4/7)
  • 19. Implementation of an Arduino Remote Laboratory with Raspberry Pi  So that Arduino can become an IoT element, it must be able to send information to cloud. How does it do?  Define server  Time interval to send information to server Arduino – IoT: Connecting Arduino to Web (5/7)
  • 20. Implementation of an Arduino Remote Laboratory with Raspberry Pi  Reading sensors data in the loop function Arduino – IoT: Connecting Arduino to Web (6/7)
  • 21. Implementation of an Arduino Remote Laboratory with Raspberry Pi  Example of send information in a function Arduino – IoT: Connecting Arduino to Web (7/7)
  • 22. Implementation of an Arduino Remote Laboratory with Raspberry Pi • There are platforms such as Temboo o IFTTT which allow publishing information of:  Twitter  Facebook  Google Drive  Send push notifications Arduino – IoT: Interacting with web services
  • 23. Implementation of an Arduino Remote Laboratory with Raspberry Pi Implementation of an Arduino Remote Laboratory with Raspberry Pi MANUEL CASTRO MCASTRO@IEEC.UNED.ES https://es.slideshare.net/mmmcastro QUESTIONS?