GMU:My Computer, Max, and I/Camille Chalubert: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
 
(57 intermediate revisions by 3 users not shown)
Line 1: Line 1:
My first patches (tutoriel):
==Idea #1==
*[[:File:Introduction video.maxpat]]
A program to relieve pain through electrotherapy
*[[:File:More Object Video .maxpat]]


This project was developed with Serena Bedim and Marie Acker. However, the project was too ambitious. On this page you will find information related to the suppression of pain by electrotherapy.


PROJECT : Electrotherapy to ease pain
The aim of project is to relieve pain which controls by muscle tension by using Electromyography Sensor (EMG).  
*Electrotherapy made simple : https://www.youtube.com/watch?v=JAPU5iEfFVY


Arduino sketch: [[:File:Idee 2 - 3 LEDS.ino]]. It doesn't work.


My first patches for our project : Only Ideas (because false)
===Sketch to receive the pulses of the patch===
*Max : [[:File:Idee 1 Max - electrotherapy control with pain.maxpat]]
*Arduino : [[:File:Idea_2_-_Arduino_test.ino]]


These pictures represent the project because they show how the muscle will be link with the computer.


<gallery>
File:400px-B05037_01_04-1.jpg
File:Exemple.jpg
</gallery>


Exemple Arduino with Sensor :
===Further research===
On this page are my research on this topic [[/My research]]


*https://www.arduino.cc/en/Tutorial/Memsic2125
==Idea #2==
*https://fr.flossmanuals.net/arduino/comment-bien-structurer-son-code/
Alarm clock


Schema for Arduino :  
<gallery>
File:réveil.jpg
</gallery>


I tried to create a program that looked like an alarm clock. The sound is triggered after a certain time. The last program is the final program. Like an alarm clock of the phone, you have to choose the music. Then, you can start the patch. When the music start, you can stop it (to sleep a little longer). After a certain time, the music start again. 


*[[File:B05037_01_04-1.jpg|400px]]
The aim of this project is to create an alarm clock with a button "snooze". To stop music and replace the button "snooze", I use the space bar.


This picture represents my patch because it shows the alarm clock I wanted to create. The human can stop the alarm clock or click on the button to sleep a little longer : the music will start again, after a certain time


*[[File:TENS3.JPG|400px]]
Here is a picture of my patch. As in the other photo, you can have an alarm clock with a button "snooze".  


[[File:Sans titre-1.png|400px]]


Why Electricity?
===Max patches===
*[[:File:send and wait 1.maxpat]]
*[[:File:send and wait.maxpat]]
*[[:File:play with Sound - patch 1 .maxpat]]
*[[:File:patch 1 alarm clock try .maxpat]]
*[[:File:Patch 2 automatisation.maxpat]]


When you feel nerve pain, an electrical signal is sent from a damaged nerve to your brain. Electrical stimulation for nerve pain works by sending out its own electrical impulses. These charges seem to interrupt or block the pain signals, reducing the pain you feel.  
===Related links===
* https://docs.cycling74.com/max5/tutorials/msp-tut/mspaudioio.html
* https://docs.cycling74.com/max5/tutorials/msp-tut/mspchapter01.html
* https://docs.cycling74.com/max5/refpages/msp-ref/sfplay~.html


Types of Electrotherapy
==Idea #3==
Escape Game


All electrotherapy devices have certain similarities, such as using battery power to apply current to electrodes. The therapies vary in frequencies, waveforms, and effects, however. These are some of the most commonly used kinds of electrotherapy:
I tried to create a Patch for the code of the escape Game. The player has 6 minutes to find the numbers.
The aim of this project is to find the number. This patch is automated in order to test the patch. For the automation of my patch and to replace the player, I use "Random" to generate a random numbers between 1 and 4. To verify that the proposed numbers are correct, I use the conditional statement. To count the minutes, I use the counter, which count the bangs. After 6 minutes, the program plays a music and the player see "You are a loser" if he fails. In reality, the humans will choose the numbers with the umenu.


    Transcutaneous electrical nerve stimulation (TENS)
Here is a picture of my patch.
    Percutaneous electrical nerve stimulation (PENS)
    Electrical muscle stimulation (EMS)
    Interferential current (IFC)
    Pulsed electromagnetic field therapy (PEMF)
    Galvanic stimulation (GS)


[[File:Sans titre-2.png|400px]]


BUT : Electrotherapy Side Effects
===Patch===
* [[:File:Escape Game.maxpat]]


- irritation or rash, caused by the adhesives in the electrodes or the tape holding the electrodes in place. Overusing electrotherapy may cause a burning feeling in the skin.  
===Related links===
=) duration of therapy should be followed closely to avoid a problem.
* https://www.youtube.com/watch?v=3WHAUonFPsI


- Placing the pads over the heart or over pacemaker leads could cause cardiac arrhythmia and placing them over a pregnant woman's abdomen could cause fetal damage.
==Other stuff==
*On this page are the programs I create and tutorials [[/My patches]]

Latest revision as of 17:22, 30 November 2019

Idea #1

A program to relieve pain through electrotherapy

This project was developed with Serena Bedim and Marie Acker. However, the project was too ambitious. On this page you will find information related to the suppression of pain by electrotherapy.

The aim of project is to relieve pain which controls by muscle tension by using Electromyography Sensor (EMG).

Arduino sketch: File:Idee 2 - 3 LEDS.ino. It doesn't work.

Sketch to receive the pulses of the patch

These pictures represent the project because they show how the muscle will be link with the computer.

Further research

On this page are my research on this topic /My research

Idea #2

Alarm clock

I tried to create a program that looked like an alarm clock. The sound is triggered after a certain time. The last program is the final program. Like an alarm clock of the phone, you have to choose the music. Then, you can start the patch. When the music start, you can stop it (to sleep a little longer). After a certain time, the music start again.

The aim of this project is to create an alarm clock with a button "snooze". To stop music and replace the button "snooze", I use the space bar.

This picture represents my patch because it shows the alarm clock I wanted to create. The human can stop the alarm clock or click on the button to sleep a little longer : the music will start again, after a certain time

Here is a picture of my patch. As in the other photo, you can have an alarm clock with a button "snooze".

Sans titre-1.png

Max patches

Related links

Idea #3

Escape Game

I tried to create a Patch for the code of the escape Game. The player has 6 minutes to find the numbers. The aim of this project is to find the number. This patch is automated in order to test the patch. For the automation of my patch and to replace the player, I use "Random" to generate a random numbers between 1 and 4. To verify that the proposed numbers are correct, I use the conditional statement. To count the minutes, I use the counter, which count the bangs. After 6 minutes, the program plays a music and the player see "You are a loser" if he fails. In reality, the humans will choose the numbers with the umenu.

Here is a picture of my patch.

Sans titre-2.png

Patch

Related links

Other stuff

  • On this page are the programs I create and tutorials /My patches