Difference between revisions of "Websockets"

From ESE205 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Helpful Links ==
+
=== Overview ===
[https://websockets.readthedocs.io/en/stable/intro.html Basic Intro]
+
This tutorial explains how to create a basic websocket, opening communication between a server on a raspberry pi and a client.
 +
 
 +
=== Materials/Prerequisites ===
 +
* Raspberry Pi
 +
* 2 LEDs
 +
* Female-Male Wires
 +
* Breadboard
 +
* Resistors
 +
* An AWS account
 +
 
 +
=== Process ===
 +
Set up a [https://classes.engineering.wustl.edu/ese205/core/index.php?title=AWS_Lightsail Lightsail] or EC2 instance.
 +
 
 +
 
 +
 
 +
 
 +
=== Authors ===
 +
Amanda Hua, Tricia Brown, TA: Keith Kamons
 +
Spring 2019
 +
 
 +
=== Group Link ===
 +
[https://classes.engineering.wustl.edu/ese205/core/index.php?title=Nest_Model Our Project Page]<br>
 +
[https://classes.engineering.wustl.edu/ese205/core/index.php?title=Nest_Model_Log Our Weekly Log]
 +
 
 +
=== External References ===
 +
[https://websockets.readthedocs.io/en/stable/intro.html Basic Intro]<br>
 +
[https://lowpowerlab.com/2013/01/17/raspberrypi-websockets-with-python-tornado/ String Communication]<br>
 +
[https://www.hackster.io/dataplicity/control-raspberry-pi-gpios-with-websockets-af3d0c LED Communication]

Revision as of 15:06, 14 April 2019

Overview

This tutorial explains how to create a basic websocket, opening communication between a server on a raspberry pi and a client.

Materials/Prerequisites

  • Raspberry Pi
  • 2 LEDs
  • Female-Male Wires
  • Breadboard
  • Resistors
  • An AWS account

Process

Set up a Lightsail or EC2 instance.



Authors

Amanda Hua, Tricia Brown, TA: Keith Kamons Spring 2019

Group Link

Our Project Page
Our Weekly Log

External References

Basic Intro
String Communication
LED Communication