from rgb led laboratory to servomotor control with websockets and iot as educational tool (rev 2015)

17
From RGB led laboratory to servomotor control with websockets and IoT as educational tool German Carro Fernandez, Elio Sancristobal Ruiz, Manuel Castro Gil*, Francisco Mur Perez Electrical and Computer Engineering Department Spanish University for Distance Education (UNED) Madrid, Spain http://www.ieec.uned.es/ Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Upload: german-carro-fernandez

Post on 27-Jul-2015

53 views

Category:

Engineering


2 download

TRANSCRIPT

From RGB led laboratory to servomotor control with websockets

and IoT as educational toolGerman Carro Fernandez, Elio Sancristobal Ruiz, Manuel

Castro Gil*, Francisco Mur Perez

Electrical and Computer Engineering Department Spanish University for Distance Education (UNED)

Madrid, Spain

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Introduction- UNED are working long time ago on useful eLearning

- Technology of today let increase the develop of reusable remote laboratories on engineering

- This study was born from the idea to bring robotics and electronics to the students to close them to technology using IoT tools

OR

knowledge is the key!Let’s go to see how!

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

First there was light

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

New hardware added: Raspberry Pi

New software used:

Javascript

New protocols used:

Websockets

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Then was the wheel

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Two possible options were considered:

Javascript and Node.js

Tornado and Python

First was chosen because counts with Socket.io library, very useful for our interests.

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Control your device using IoT capabilities

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Objective: Control remotely

devices, information and events using IoT

How?: Server hosted on the

Raspberry Pi has direct communication with the Arduino UNO via USB.

Client side receives and manage settings using REST protocol

German Carro Fernandez [email protected]

Control your device using IoT capabilities

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Previous test using the system:https://www.youtube.com/embed/bfNULdKcQFk

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Finally was the robotic arm

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Move the system to a robotic arm laboratory:

Increasing the number of websockets channels (one for each service)

Adaptating of Arduino source code to manage the 6 services available (led, clip, wrist, elbow, shoulder and base).

Modificating REST system customizing JSON’s content (embeded all information individually by service)

German Carro Fernandez [email protected]

Finally was the robotic arm

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Develop, and display it into, an Inquiry Learning Space (ILS) to use for educational environments.

In this case even with a virtual laboratory to compare the results.

Golab Project environment ILS link: http://graasp.eu/ils/54d49bcd479265d7425bfa95?lang=en

German Carro Fernandez [email protected]

Index• Introduction

• First there was light

• Then was the wheel

• Control your device using IoT capabilities

• Finally was the robotic arm

• Conclusions

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Conclusions

New technologies greatly facilitate the deployment of information, data and services using the Internet

The philosophy of IoT allows to display different remote laboratories on the Internet and convert them into useful tools for the educational environment

Teachers have seen how technology can help them teaching on their sessions with new ILS, and the students are a little more motivated to learn due to the novelty of using a robotic (or electronic) tool remotely.

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

German Carro Fernandez [email protected]

Conclusions

Other laboratories are coming using this technology and philosophy

Laboratorios desarrollados: Go-Lab (LedRGB, Brazo robotizado) y robots

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/

Electromagnetic Crane laboratory Led Cube laboratory

More…

Thank you for your attention! If you have any question, please do not hesitate to send it me at:

[email protected] [email protected]

German Carro Fernandez, Elio Sancristobal Ruiz, Manuel Castro Gil*, Francisco Mur Perez

Electrical and Computer Engineering Department Spanish University for Distance Education (UNED)

Madrid, Spain

http://www.ieec.uned.es/Research on Technologies for Engineering Education http://ohm.ieec.uned.es/portal/