Giter Site home page Giter Site logo

web-sockets_8puj's Introduction

The following documents the usage of this datalogger, and how it can be replicated. It includes all relevant hardware and software components in use.

OVERVIEW: This datalogger is based on a Raspberry Pi, running on Ubuntu Server. It runs an access point using hostAPD, DNS and DHCP servers using dnsmasq, and a node JS server that hosts the web socket server. Nginx proxies the web socket on 192.168.1.10/ws and serves the html index page on 192.168.1.10.

The following will explain how each library and server is set up, as well as the Raspberry Pi setup.

SETUP:

Raspberry Pi:

You will need to use an SD card at least 16GB in volume.

Download the Raspberry Pi imager software from https://www.raspberrypi.com/software/. Run the imager on the SD card, selecting "other general purpose OS", "Ubuntu", and "Ubuntu server". Select the SD card, and select write to start the imaging.

It will run and create the iamge of ubuntu, and verify its installation. Move the SD card to the Raspberry Pi, and connect an HDMI cable, keyboard, and power the Pi over micro USB.

Configure Static IP:

HostAPD:

edit /etc/dhclient.conf or something like that to lower the timeout to only 10.

dnsmasq:

ssh:

Nginx:

Node JS:

web-sockets_8puj's People

Contributors

jitb0824 avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.