Skip to content

Collecting and processing real time IMU data from M5StickC over websockets for use in creative visualisation and audio

Notifications You must be signed in to change notification settings

catterys/RealtimeM5data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RealtimeM5data

Collecting and processing real time IMU data from M5StickC over websockets for use in creative visualisation and audio

There are four components for this project.

  • A known wifi network with fixed/reserved IP address for the server
  • A device running node as the server/host on a fixed IP address, running webSocketServer\index.js
  • A device running a browser (can be the same as the server, or not), running a webpage with a websocket connection to the server. Test with websocketP5test. This code assumes the websocket server is on a hard coded fixed IP.
  • One or more M5StickC running the code in the M5StickIMUWebsockets.IMO

The M5 has the wifi SSID, passcode and IPaddress of the websocket host hard coded.

Start the router.

Connect the server device to the wifi and run the Node server.

power on the M5stciks running the M5StickIMUWebsockets code.

You should see data in the console where you ran the node server.

Connect the web client device to wifi and run the test or whatever client code.

Visualisations

Added Visualisations folder SC_IMUwebsocketsP5dataMover is a test visual to show relationship between IMU data and integrated motion SC_IMUPlasmaBall is the first creative visualisation

About

Collecting and processing real time IMU data from M5StickC over websockets for use in creative visualisation and audio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%