All instruments are connected to an industrial data-logging device. A set of industrial-standard instrumentation was used for measuring process variables: flow, temperature, humidity and pressure drop sensors. For this purpose we designed and built an experimental setup consisting of a process system (a heat exchanger) and a utility system (a cooling tower). We felt that applying theoretical concepts to practical problems would be very welcome by the students and improve their understanding of PSE. Traditional teaching of PSE is normally restricted to modeling and computer simulations, with very little contact with actual processes. Servo_Motor.write(0) //POSIÇÃO DO SERVO FICA EM 0º (FECHADURA TRANCADA)Ĭhar key = keypad.This work describes proposal for complementing Process Systems Engineering (PSE) undergraduate learning. Servo_Motor.attach(D10) //PINO DE CONTROLE DO SERVO MOTOR Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ) //AS VARIAVEIS rowPins E colPins RECEBERÃO O VALOR DE LEITURA DOS PINOS DAS LINHAS E COLUNAS RESPECTIVAMENTE Int position = 0 //VARIÁVEL PARA LEITURA DE POSIÇÃO DA TECLA PRESSIONADAĬonst byte ROWS = 4 //NUMERO DE LINHAS DO TECLADOĬonst byte COLS = 4 //NUMERO DE COLUNAS DO TECLADOĬhar keys = //PINOS DE CONEXAO DAS COLUNAS DO TECLADO Servo servo_Motor //OBJETO DO TIPO SERVOĬhar* password = "123" //SENHA CORRETA PARA DESTRANCAR A FECHADURA #include // BIBLIOTECA PARA O FUNCIONAMENTO DO SERVO With that information I did a little modification in the code and into the installation, i avoided all these pins (D0, D8 and D11 to D15) the code is like this now: #include // BIBLIOTECA PARA O FUNCIONAMENTO DO TECLADO DE MEMBRANA I think is a good information: i conected leds to all the digital pins in the wemos board, and two of them (D0 and D8) doesnt turn off only when i order it to blink and the digital pins between D11 and D15 replicated the commands i gave to the pins between D3 and D7 (as expected). Im sorry, if i understand the question now the answer is: i tried to make it run all assembled together like it's described in the code and nothing happened, the board leds blink like crazy, principally the one in wifi module, but nothing besides that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |