Our original idea was to query a ride sharing webservice (blablacar.com) for the first ten rides in the immediate area and display details about those rides on the oled. When we started implementing the code to do this though, we ran into a BIG problem.. The json file that we get from the blablacar api is about 30kb in size.. That's a bit rich for the 80kb ESP8266.
We ARE making the API requests on the device though, and if we can get the data we need from some other source we will make it work like we intended. We now have plans to set up a webservice (like an AWS lambda code or something like it) that fetches the blablacar json, filters out the bits that we need and gives us a much smaller set of data to work with on our limited device..
Other TODO's remaining:
- 3D printing the enclosure and mounting the electronics in it
- writing code for the 'Thumb Grid' network, where the thumb is put into WiFi AP mode with the latitude and longitude from the GPS in the SSID; Other thumbs (in wifi range) then will be able to 'see' where the thumb is and display the distance and course from it's current location
- writing code for the 'intergalactic' part of the thumb. We're thinking about hooking up a 433 Mhz transmitter so we can put out some useful signals. We'll design a protocol for it and test to see if we can attract some Vogons..
What's DONE:
- Prototype electronics, consisting of a NodeMCU ESP8266 microcontroller, a 128x64 0.96" Oled, a BMP180 pressure sensor and a gps module. We use a rotary encoder to get user input and have also included a button to reset the controller.
- 3D design for the enclosure
- coding of basic framework for the user interface, providing a menu structure and display for clock/temperature/pressure/gps data, some graphics like 'stars' shooting through the screen and drawing a compass rose or clock. Wifi setup works, and API calls are made
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.