EESTEC Workshop 2012 Day 4. EMG - cs.curs.pub.ro

EESTEC Workshop 2012  Day 4. EMG 

http://cs.curs.pub.ro/wiki/pm/eestec/1
http://cs.curs.pub.ro/wiki/pm/eestec/2
http://cs.curs.pub.ro/wiki/pm/eestec/3
http://cs.curs.pub.ro/wiki/pm/eestec/4

olimex ekg board
http://cs.curs.pub.ro/wiki/pm/eestec/3
http://hk.element14.com/olimex/shield-ekg-emg/board-ecg-emg-arduino-shield/dp/2144343
http://www.farnell.com/datasheets/1641097.pdf

Open Source Prosthetic Arm
http://www.youtube.com/watch?v=ZUIqR2JodlY

beurer pm200
Beurer Runtastic PM200+

http://creativecommons.org/licenses/by-nc-sa/3.0/

UNIVERSITATEA "POLITEHNICA" DIN BUCURESTI  布加勒斯特理工大学

http://school.nihaowang.com/55145.html

布加勒斯特理工大学成立于1818年,位于罗马尼亚的布加勒斯特直辖市,是罗马尼亚一所历史悠久的公立大学。

布加勒斯特理工大学的教师都受过专业训练,加之先进的教学方式,为学生提供高品质的教学。

校园十分现代化,学生可以使用各种休闲设施,图书馆,多媒体中心及电脑教室。

学校也提供免费的网络资源给学生使用,非常方便。 布加勒斯特理工大学下设15个院系,可授予学士学位、硕士学位和博士学位,专业设置广泛,开设的主要专业有:航空航天工程、应用电子、应用信息学、应用技术科学、生态系统工程、化学工程、动态系统、电力系统工程、电气系统、能量学和核技术、工程材料加工、食品化学、工业设计、工业经济工程、工业信息学、工业物流、信息工程、信息技术、无机物质技术、机械制造技术、机床和制造系统、材料科学、数理逻辑与应用、机械工程、机电一体化和医学工程等


Embedded Design Conference - EESTEC Workshop

Goals

During this workshop, we will teach you the basics of programming microcontrollers using the Arduino platform. We will assume basic knowledge of programming in C, but other than that nothing but interest in discovery of the embedded world!

We will start off by exploring the Arduino platform:

Day 1 will revolve around a “Hello World!” very common in the embedded world: blinking an LED. We will explore the platform at our disposal and find out how to program it using the C language.

In Day 2 we will start exploring the capabilities of the platform and we will extend its basic functionality by interfacing with other devices (LEDs, switches, LCDs,etc.)

In Day 3 we will introduce our medical application - the EKG

Day 4 will be your “graduation day”. Given what you have learned, you will have to program a medical application similar to the one presented in Day 3.

Lab notes

Day 1. Introduction to microcontrollers

Day 2. Working with Arduino

Day 3. EKG

Day 4. EMG

Day 4. EMG

Day 4 - Graduation

Left-over from yesterday

As some of you have struggled with adjusting the plot to only display lines, we include the code here:
import processing.serial.*;

 Serial myPort;        // The serial port
 int xPos = 1;         // horizontal position of the graph

 void setup () {
 // set the window size:
 size(400, 300);      

 // List all the available serial ports
 println(Serial.list());
 // I know that the first port in the serial list on my mac
 // is always my  Arduino, so I open Serial.list()[0].
 // Open whatever port is the one you're using.
 myPort = new Serial(this, Serial.list()[0], 9600);
 // don't generate a serialEvent() unless you get a newline character:
 myPort.bufferUntil('\n');
 // set inital background:
 background(0);
 }
 void draw () {
 // everything happens in the serialEvent()
 }
float oldHeight;

void serialEvent (Serial myPort) {
 // get the ASCII string:
 String inString = myPort.readStringUntil('\n');

 if (inString != null) {
 // trim off any whitespace:
 inString = trim(inString);
 // convert to an int and map to the screen height:
 float inByte = float(inString);

 inByte = height - map(inByte, 0, 1023, 0, height);

 // draw the line:
 stroke(127,34,255);

 int xpos_old = xPos - 1;
 if (xpos_old < 0)
   xpos_old = 0;
 line (xpos_old, oldHeight, xPos, inByte);
 oldHeight = inByte;

 // at the edge of the screen, go back to the beginning:
 if (xPos >= width) {
 xPos = 0;
 background(0);
 }
 else {
 // increment the horizontal position:
 xPos++;
 }
 }
 }

Most problems yesterday were from excessive noise induced by laptop power supplies or, in our case, HDMI cables. Make sure to disconnect your power supply or additional cables if you experience noise with the application (remember, EKG based on only 3 electrodes is prone to a lot of noise)

EMG - Electromyography

Electromyography is used to measure the electrical activity of muscles.

The method of measuring is the same, use the same board with the same electrodes. Connect electrode P as before to your ankle and watch the figure below for the other positions (depending on the muscle you wish to monitor).

Final Exercise

Display the EMG of a muscle of your choice in the “Processing” application

Count the number of exercises (muscle contractions) made by the patient and display them on the LCD

.END


Politehnica University of Bucharest - Wikipedia

http://www.upb.ro/

Established 1864 (1818)
Type Public
Rector Mihnea Costoiu
Academic staff 1,400
Admin. staff 1,300
Students 25,469 (2011-2012)[1]
Undergraduates 16,864
Postgraduates 8,605
Location Bucharest, Romania
Former names School of Bridges and Roads, Mines and Architecture (1864-1867)
School of Bridges, Roads and Mines (1867-1888)
National School for Bridges and Roads (1888-1920)
Polytechnic School of Bucharest(1920-1938)
Politehnica Carol II of Bucharest(1938-1948)
Polytechnic Institute of Bucharest (1948-1992)
Website www.upb.ro

Universitatea Politehnica din Bucureşti is a technical university in Bucharest, Romania. It was founded in 1864, as School of Bridges and Roads, Mines and Architecture (based on the older technical school of Gheorghe Lazăr, from 1818), and it was renamed Polytechnic School in 1920.[2]

University Politehnica of Bucharest is the largest technical university in Romania. Its traditions are connected to the founding of the first higher technical school in Wallachia, in 1818, by Gheorghe Lazăr. Born in Avrig, Transylvania, Gheorghe Lazăr studied in Sibiu, Cluj and Vienna. In 1817–1818 he endeavored to convince the local noblemen of the need for supporting a modern technical school in Romania.

Thus, on 24 March 1818, by a princely edict of Ioan Caragea, the premises of Saint Sava Abbey were converted into the new school, Şcoala Tehnică Superioară pentru Ingineri Hotarnici ("The Upper School for Surveying Engineers").[3]

Later, in 1832 the school was reorganised, including four cycles, in accordance with the provisions of Organic Regulation. Among other faculties, the one dealing with exact sciences included courses such as applied trigonometry, geodesy, mineralogy, engineering graphics, descriptive geometry, mechanical elements applied to ordinary machines, principles of building roads and bridges, elements of architecture, etc. The graduates were obliged either to work for three years for the state, or to return the grant received. In 1862, the ruler of the United Principalities, Alexandru Ioan Cuza, had established by another Princely Decree a set of rules for the organisation of civil engineers, the hierarchy of engineers or conductors, their salaries, the conditions for admission and promotion, were clearly defined.

An important figure in the "School of Bridges, Roads and Mines" was Gheorghe Duca. As early as 1887, he analysed the content of courses, finding the weaknesses of the school, as well as the best solutions to improve its academic level. In those times, a substantial condition was the severity imposed on the conduct of students, in addition to evaluation. Students obtaining insufficient results, or having an erratic course attendance, were quickly removed from the school. Indeed, at the beginning, the preparatory year had no admission tests. Starting with 1881, an admission test was introduced; the top priority was the quality of candidates, the number of the selected ones being less important. 

Gheorghe Duca tried and succeeded to bring the best professors to the “National School of Bridges and Roads”; among these were David Emmanuel (Elementary Mathematics), Spiru Haret (Higher Algebra and Analytical Geometry), C. M. Mironescu (Statistics and Engineering Graphics), Constantin Istrati (Physics), or Anghel Saligny (Bridges and Roads). Moreover, Gheorghe Duca himself was considered the greatest authority in railways at the end of the 19th century. This was perhaps a turning moment, when it was clearly demonstrated that Romania was capable of achieving on its own what had been deemed likely to be obtained only abroad, namely the training of highly qualified science and engineering specialists.

The year 1890 also represented a momentous point, when at the National School of Bridges and Roads a new commission was set up. Its main role was to issue equivalency certificates for the engineering diplomas obtained abroad, thus transforming this national school into a model for evaluating higher technical studies.

Nicolae Vasilescu-Karpen was appointed director of the School in February 1920. As a direct result of his endeavors, the government approved the establishment of Polytechnic Schools in Romania, conceived as higher education institutions, similar to universities, having as their final aim engineering training under the Ministry of Public Works.

The Polytechnic School was set up by transforming the "National School of Bridges and Roads" into the "Polytechnic School of Bucharest". In its initial stage it consisted of four sections:

Civil Engineering;

Mechanics and Electricity;

Mines and Metallurgy;

The Industrial Section.

In this period, in addition to the Polytechnic School, there were Institutes for Engineers within Universities. For instance, the University of Bucharest hosted an institute for electrical engineering, an institute for industrial chemistry and another one for agricultural and food chemistry.

Another important cornerstone was the decree 3799 of 1938 stating that higher education could be provided only by universities, Polytechnic Schools, or Academies for Commercial Studies. As a direct result, the Academy of Higher Agricultural Studies, The Academy of Architecture, The Institute of Industrial Chemistry and Agricultural and Food Chemistry, respectively, were introduced in the framework of "Bucharest Politehnica". The change of name[4] from "Polytechnic School of Bucharest" into "Politehnica Carol II of Bucharest" was accompanied by other changes as well. Thus, Politehnica depended on the Ministry of National Education (instead of the Ministry for Public Works), the former director became Rector of Politehnica, the different sections became Faculties, their presidents in turn, became Deans etc.
Between 1938 and 1948 Politehnica of Bucharest had seven faculties: Civil Engineering, Electro-mechanics, Metallurgy, Industrial Chemistry, Silviculture, Agronomy, and Architecture.

Another important transformation took place in 1948, when several Politehnica or even specialities became independent, or even moved to other cities. Some of the new universities, institutes or faculties had their roots in the old "Politehnica of Bucharest". Thus, the following establishments, were initially faculties or departments at "Politehnica" of Bucharest: Technical University of Civil Engineering of Bucharest; Ion Mincu University of Architecture and Urbanism; University of Agronomic Sciences; Faculty of Forestry - Transilvania University of Brașov; School of Mines - Petroşani; Oil & Gas University of Ploieşti; Faculty for Food Chemistry - University of Galați; Faculty for Textile Industry - Gheorghe Asachi Technical University of Iași.

In 1948-1992, the name of the school was "The Polytechnic Institute of Bucharest". Based on a resolution of the Senate (November 1992), the Polytechnic Institute of Bucharest turned into University Politehnica of Bucharest.Achievements[edit source]

At the 29th annual ACM International Collegiate Programming Contest, held at Shanghai Jiao Tong University, on April 6, 2005, Politehnica was ranked 10th in the world.[5] The university organizes important conferences such as International Conference on Control Systems and Computer Science and symposiums like Interdisciplinary Approaches in Fractal Analysis.

Faculties

The university is structured into faculties. The faculties are distinct academic entities, each having its own admission criteria, largely distinct staff and limited interaction. However, there are a number of commonalities: all the faculties provide only engineering degrees, there is a largely common curricula that is observed in the first year of studies, there are shared teaching facilities and shared student facilities. Currently there are thirteen faculties. :

Faculty of Electrical Engineering

Faculty of Power Engineering

Faculty of Automatic Control and Computer Science

Faculty of Electronics, Telecommunications and Information Technology

Faculty of Mechanical Engineering and Mechatronics

Faculty of Engineering and Management of Technological Systems

Faculty of Biotechnical Systems Engineering

Faculty of Transports

Faculty of Aerospace Engineering

Faculty of Material Science and Engineering

Faculty of Applied Chemistry and Materials Science

Faculty of Engineering Taught in Foreign Languages

Faculty of Applied Sciences

Faculty of Medical Engineering

Faculty of Entrepreneurship, Engineering and Business Management


Technical Colleges

Since 1991, University Politehnica of Bucharest offers short-term (three years) studies equivalent to an Associate Degree within the two Technical Colleges, simply called College Number 1 and College Number 2.

.END

No comments:

Post a Comment