eggfly / ReflectionsOS

Reflections is a hardware and software platform for building entertaining mobile experiences.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReflectionsOS

ESP32 and Arduino-based Internet-enabled watch project and reference architecture to make your own entertaining experiences

Reflections Mobile Experiences

Many times I imagine making a mobile application connected to the Internet. For example, a watch that shows videos of my children growing-up on my wrist. And the same project is re-used for creative makers to make their own entertaining experiences. Reflections is the architecture and the wrist watch is the first application.

Reflections integrates video displays, Bluetooth, Wifi, SD storage, sound, and a bunch of sensors (compass/magnetometer, gestures, accelerometer). It is battery powered, powered managed from software, and charges from USB. It is small in size (34 mm round) and powerful from an ESP32-S3 dual core processor. Reflections software, hardware, and cloud components are open-source (GPL v3) so anyone can use it and they must contribute improvements back to the project.

Reflections Mobile Experiences

Reflections goes beyond the wearable device to deliver server side architecture.

Reflections Server Side Architecture

I worked on Starling Watch steampunk art jewelry pocket watches with Disney Imagineer and Mupeteer Terri Hardin. We are working on a new experience powere by Reflections. Announcement coming soon.

I love working with a group of creative makers and the Arduino community. Please feel free to let me know your feedback and ideas.

IMAGE ALT TEXT HERE

Yertle is the latest version of the Reflections main board. Everything fits into a wrist watch case and I actually wear it on my wrist! Plus the software to drive experiences (codename ReflectionsOfFrank) is coming along nicely. See https://github.com/frankcohen/ReflectionsOS/tree/main/Experiments for experiments with the main board.

Yertle Gerber files and schematic are at: https://github.com/frankcohen/ReflectionsOS/tree/main/Devices/Yertle EasyEDA project for the previous main board project is at: https://oshwlab.com/fcohen/horton-main-board

Frank Cohen, https://github.com/frankcohen/ReflectionsOS, February 14, 2024

Articles

I publish articles on the technology needed to make Reflections.

Wrist Gesture Sensing on ESP32 and Accelerometer

Scalable Logger on ESP32 with Wifi and SD/NAND

Arduino and BLE on ESP32 as server and client combined, using NimBLE

JCUSB for JTAG debugging in Arduino IDE 2.1

ESP32-S3 + NAND SD Storage + USB MSCC = Arduino that shows up like a disk drive

JSON Procedural Scripting using ArduinoJSON and ESP32

Managing SSL Certificates for HTTPS with IoT devices, ESP32-nginx+node.js+OTA

Reference to Mastering ArduinoJSON

Create Using TAR files in ESP32 with SD applications for easy multiple file transfers to Arduino

I used the EleksTube IPS clock for experimentation. It is an ESP32 device featuring 6 TFT displays. See https://github.com/frankcohen/EleksTubeIPSHack

I made an air-guitar project to learn about streaming music over Bluetooth Clasic, and why it won't work yet on BLE: https://github.com/frankcohen/ReflectionsOS/tree/main/Experiments/AirGuitar

-Frank

Update as of March 19, 2024

Software work achieves success along the way to the ReflectionsOS operating environment. A gesture experiement using the accelerometer works. Watch a 5 minute briefing here:

5 minute video briefing on Wrist Gesture Sensing

Yertle arrived and looks fully functional.

Update as of February 14, 2024

Cat In Hat turned out to be a fools errand, the ESP32-S3 would not boot with the addition of the press-and-hold power on/off capability using U9. Yertle solves this by removing U9. Work on the software continues, should have a simple video player using wrist gestures done soon. Work on the case and strap is in progress. I am only wearing Yertle everyday now, no more traditional watches.

Update as of December 7, 2023

Work on the Cat In Hat main board is nearly complete. This solves a consistency problem with the NAND. And, adds press-and-hold power on/off capability to the Boot button. I depart tomorrow to China to find components and manufacturers for the case and strap.

Update as of October 6, 2023

Added Wifi-based Logger. Logs messages to server-side logger. Update board (codenamed Red Fish) to solve U4 LDO problem when battery is attached. Investigated active GPS antennas.

Cindy Lou board

Update as of August 6, 2023

Added Over The Air (OTA) update capabilitiy. Server downloads .bin firmware and a version identifier text file over HTTPS secure protocol. OTA system replaces the current firmware and restarts the host. Thanks to @lipun12ka4 on Espressif Forums for sharing his OTA code, a problem, and solution. config.h defines the code's version number, it is a simple integer value. Arduino IDE compiles the firmware. Use FTP to store it in /home/fcohen/files on cloudcity.starlingwatch.com.

Update as of August 5, 2023

Added WifiManager to enable easy connection to a Wifi network. Connect to Reflections board from your laptop or mobile device. The SSID is named CALLIOPE plus the last digits of the device mac address. For example, CALLIOPE-7A. Follow the instructions to log Reflections into your Wifi network. Passwords are sent to the device in the clear, and optionally stored on the device with no encryption. Someone could extract these if they got their hands on your device.

Update as of August 4, 2023

@dankeboy36 (on Github) published an Arduino stack trace decoding utility. When your sketch crashes a stack trace leading to the crash often appears in the Serial Monitor. Arduino IDE 2.1 does not yet support plug-ins and a decoder utility (available in Arduino IDE 1.8) is needed to explain the stack trace contents. @dankeboy36 created a decoder and it works great. It requires the nightly Arduino IDE build available at https://www.arduino.cc/en/software. The decoder is at at: https://github.com/dankeboy36/esp-exception-decoder. On a Mac use Command-Shift-P and type ESP Exception Decoder: Show Decoder Terminal.

Update as of July 18, 2023

A friend asked me: What can the Reflections board do? Consider these possibilities.

  • Haptic feedback - a buzzer in the case. Buzzes softly or energetically. Fades the buzzing up, or down, and make patterns. It even does morse code - buzz buzz buzz.

  • Long arm movement sensing - Recognizes the direction, speed, and acceleration of your wrist. Recognizes gestures made by moving your wrist in the air. Like sweeping left and right, slow pitching a ball.

  • Finger movement sensing - recognizes gestures made with fingers.

  • Range, Distance, Heading - when GPS is available, knows its position and direction/heading to other boards. When GPS is not available, such as being indoors, uses a compass and triangulation to detect movement towards or away from other boards using BLE.

  • Compass - knows North from South and between.

  • Location - when GPS is available, knows when it is in a location. For example, knows when it is at Disneyland and in line for the Matterhorn.

  • Bump - touch another board and exchange data.

  • USB flash memory - plug into your mobile phone or laptop to store and move files.

  • Grab and play - capture video and audio of anything playing on your laptop, displays on the screen.

  • Martians - yearn for each other, their hearts point to each other.

  • Speaker to play sound and music. However, the speaker volume is very low. A future version needs an audio amplifier.

  • Dance movements like pirouette

  • Red light green light

  • Head and shoulders, knees and toes

I'm glad to update this list with your ideas. Thanks.

Update as of June 26, 2023:

CindyLou is the latest version of the main board. CindyLou lets me put everything into a wrist watch case and actually wear it on my wrist! Plus the software to drive experiences (codename CalliopeOpensEyes) is coming along nicely. See https://github.com/frankcohen/ReflectionsOS/tree/main/Experiments for experiments with the main board.

CindyLou version of the main board

Daughterboard for gesture sensing

CindyLou Gerber files and schematic are at: https://github.com/frankcohen/ReflectionsOS/tree/main/Devices/CindyLou EasyEDA project for the previous main board project is at: https://oshwlab.com/fcohen/horton-main-board

Update as of April 1, 2023:

I call this a Breadcard, it's not a breadboard but getting close to a wearable prototype, codenamed Horton

Update as of March 16, 2023:

Horton board is in from assembly and it works great! Next up, our first wearable prototype. Expect many updates to the source code repository over the coming weeks and months.

Update as of January 25, 2023:

All of the main board components are working. One more revision of the board is needed to incorporate the reworks we made to the ThingTwo board. We're calling the new revision Horton. It should be complete and go to manufacture and assembly in early February 2023.

The project team attention next goes to producing the first wearable prototype. This will strap to one's wrist, run on battery, and have a prototype display. We are also considering our first crowd funding campaign featuring the prototype. This is leading to an exciting Spring 2023.

Update as of July 30, 2022:

We're making great progress on the main board, animation, and software projects. Main board revision 2 - codenamed Hoober - works and displays streaming video at 10 Frames Per Second (FPS). Revision 3 - codenamed ThingTwo - is designed and will go to manufacturing and assembly next week. See Devices/ThingTwo for design document, Gerber files, BOM, and wiring guide. Project focus will move to the software projects.

Photo of the front side of the main board, codenamed Sox

Photo of the back side of the main board, codenamed Sox

Update as of April 27, 2022:

The project team is making progress on the main board and display. We received the first assembled main board in hand. It’s an ESP32 with GPS, IMU/compass, NAND memory, TFT display, audio output, USB, battery management, and finger gesture sensor, in a 34 mm round board. Cost for the prototype is $70 per board. This first version has about 3-4 problems that need reworking. The team is feeling good that the number of problems is less than 10. That puts us on track to have the finished board in Summer 2022. I will put the Gerber files and BOM into the repository for the upcoming revision 2 - code named Hoober. I am glad to send the Gerber files for your review, criticism, and feedback.

Photo of the front side of the main board, codenamed Sox

Photo of the back side of the main board, codenamed Sox

About

Reflections is a hardware and software platform for building entertaining mobile experiences.

License:GNU General Public License v3.0


Languages

Language:C 80.8%Language:C++ 11.4%Language:HTML 5.6%Language:Jupyter Notebook 1.4%Language:JavaScript 0.3%Language:Faust 0.1%Language:CSS 0.1%Language:CMake 0.1%Language:Python 0.0%Language:Shell 0.0%Language:Processing 0.0%Language:Makefile 0.0%Language:Assembly 0.0%Language:Java 0.0%Language:XSLT 0.0%Language:sed 0.0%Language:WebAssembly 0.0%Language:Batchfile 0.0%Language:Rich Text Format 0.0%Language:Dockerfile 0.0%Language:Euphoria 0.0%