Skip to content

reuterma24/EventProcessing-TTGOWATCH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EventProcessing-TTGOWATCH

by Chris, Martin and Pascal in SoSe 2022.

General Idea

watchSetup

The general idea is that each watch recieves/sends events from/to both other watches. The watches communicate via WLAN, therefore the illustration above is technically not correct as there is a router in center. We assigned each watch a static IP in the network (12, 13, 14) so that they are able to communicate with each other.
Events are represented as letters ranging from A to F in our implementation. Each watch is constantly processing the incoming events in a queue to detect the complex pattern assigned to it. The operators AND and SEQ are supported.
We wrote a library-like EventProcessing Class called CEP. Therefore it should be easy to assign an arbitrary complex pattern to an individual watch.

What Went Well

The whole setup and deploying code to the watch from the arduino IDE was well documented in a manual and went suprisingly smooth. Only minor difficulties.

Obstacles

Establishing wireless communication between (just) two watches took us way longer than expected.

Setup

First, follow the instructions in the manual to use the arduino IDE together with the watch.
Open the whole project in the IDE and have a quick look at the EventProcessing_TTGOWATCH.ino file and move to this section.
Here it is mandatory to comment out two IPAddresses so that each watch gets a unique address in the network. You may also need to change the first 3 places of the IPAddress, the gateway and the subnet mask depending on your router.

To assign each watch a different pattern you have to navigate over here in the CEP.ino file. You can either choose one of the predefined patterns by commenting out/in the respective ones or create a pattern of your desire.

About

Event Processing SoSe2022 TTGO TWATCH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published