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

From Medien Wiki
No edit summary
No edit summary
 
(55 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.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)


*Intensity: A dial allows the user to adjust the intensity of the electrical stimulation.
[[File:Sans titre-2.png|400px]]


*Frequency: The frequency refers to the number of electrical pulses per second. High-frequency (HF) pulses range from 80 to 120 cycles per second and may help manage acute pain. Low-frequency (LF) pulses range from 1 to 20 cycles per second and are suitable for the treatment of chronic pain.
===Patch===
* [[:File:Escape Game.maxpat]]


*Duration: The duration is the number of microseconds that the current enters the skin for during each pulse.
===Related links===
* https://www.youtube.com/watch?v=3WHAUonFPsI


BENEFITS
==Other stuff==
 
*On this page are the programs I create and tutorials [[/My patches]]
TENS is a noninvasive method for relieving pain. People who experience pain relief from TENS may be able to reduce their intake of pain medications, some of which can be addictive or cause adverse side effects.
 
TENS units are also convenient because they are small, portable, and relatively discrete. People can carry a TENS unit in their pocket or clip it onto a belt to ensure that they have immediate access to pain relief throughout the day.
 
 
BUT : Electrotherapy Side Effects
 
- 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.
=) duration of therapy should be followed closely to avoid a problem.
 
- buzzing, tingling or prickling sensation, which some people may find uncomfortable
 
- allergy to the adhesive pads
 
- 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.
 
It is vital never to place the electrodes on either the front of the neck or the eyes. Putting electrodes on the neck can lower blood pressure and cause spasms. On the eyes, the electrodes can increase pressure within the eye and possibly cause an injury.
 
Electrical stimulation from a TENS machine can cause pain and twitching in the underlying muscles if you adjust the intensity too high. Lower the intensity until you feel just a strong tingling sensation, without muscle twitching. Prolonged use, even at lower intensity levels, may occasionally cause mild muscle soreness. For this reason, it is usually recommended that a TENS machine not be used for more than a few hours at a time.
 
Never place the pads over:
 
- the front or sides of your neck
- your temples
- your mouth or eyes
- your chest and upper back at the same time
- irritated, infected or broken skin
- varicose veins
- numb areas

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