Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 2.96 KB

File metadata and controls

22 lines (18 loc) · 2.96 KB

Notes

This is kind of my project diary. I will keep thoughts and ideas in here as well as in my notebook. If you are reading this, please don't laugh on how I think to myself. I just write whatever it comes to my mind. Have Fun

Server

  • One of the problems that I will face for sure, is that i don't know how to keep the devices in "ImAlive" state in the server. These devices don't have a clock that I can check, and without a proper server to check the time when the Request are done this is not gonna work. Having them synchronized when the device starts it is a good idea, but yes, you always need them to be connected to the internet.
  • Once the time thing is done, I could start working on the real client.

Wifi

  • So, as far as I read you can only handle 5 device once the ESP8266 is in AP mode. This limitation could make that the design that I was thinking about connecting all of them to one is not viable.
  • Connecting all the devices to the same home wifi could be the same idea, but I'll have to think what is the best option in terms of the Midi interface that I have to build. If each device acts like a midi controller, this will be way more complicated to handle.
  • Connecting one to another, would that work? The second one connects to the network of the first one and builds its own network to share with the third one. It will also depends on how much devices I will be connecting.
  • In terms of WiFi configuration, another idea could be to just configure the password in one of them, that password will be sent to the firebase api, and the first one will create a network in order to make the others connect.
  • Wifi Server to set Password: At the beginning I can set a WiFi Server from the first one in order to set the password of the home wifi, and then connect to it. Maybe is the best idea to avoid any problems when it comes to the cubes not connected to any wifi.
  • Wifi loop: Setup a loop for the Wifi that checks at every time if the device is connected. Maybe show an input on that.
  • 27/03/2017 - 00:35 > Research about WifiMesh: A wifi mesh seems the only viable network structure to share information between a unlimited number of nodes, which will solve the problem that has the ESP with the max number of connections to the same AP. Gotta look deeper into this idea.

Midi

  • About midi there are so many options. I could work with the devices as Inputs to the Web Midi Api that will act realtime on the Client. This could open lots of possibilities to the project and make it even better than just having to set a fucking local network to control everything. IoT, please.
  • AppleMidi working right now, everything should be up and running soon. I will set up a WifiServer to send everything from the same Cube.

Accelerometer

  • No news on this. The addresses of the accelerometers in I2C don't appear, will try to see how other protocols work and if they are connected to other thing. Right now just sending random numbers to simulate the orientation of the cubes.