Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 2.09 KB

README.md

File metadata and controls

71 lines (60 loc) · 2.09 KB

MuseSignals

MuseSignals is a web application using spring boot. It was created to collect samples from EEG device: Muse 2 (Interaxion) connected to Mind Monitor. It is using OSCP5 library. I have made this app as a project on Wroclaw University of Science and Technology.

Spring boot functionality

PostMapping
  • start Allows to start session posting. In Postman it is needed to POST informatrions about examinating person.
{
    "name": "Weronika",
    "surname": "Michalska",
    "age": 25
}

If request is correct program start collecting samples and save them to database

  • stop Stopping collecting samples
  • reset Delete all samples and people
GetMapping
  • samples Shows all samples saved to database.
[
    {
        "id": 1,
        "dateTime": "2020-06-10T12:16:24.118",
        "alpha": 0.6266978,
        "beta": 0.42935702,
        "delta": 0.974667,
        "gamma": 0.2422409,
        "theta": 0.81722015,
        "personId": 1
    },
    {
        "id": 2,
        "dateTime": "2020-06-10T12:16:24.223",
        "alpha": 0.6193914,
        "beta": 0.43063316,
        "delta": 0.9659221,
        "gamma": 0.25187612,
        "theta": 0.8073837,
        "personId": 1
    }, ...
]
  • sessions Show all sessions with informations about people

What is needed:

  • Project generated by spring.io with gradle, Web, Lombok, H2 dependencies
  • Configuration of H2 database (in project properties)
  • Muse Interaxon 2
  • Mind Monitor It is needed to configure streaming IP, port and change in settings to get average values of bands
  • Postman