SlideShare a Scribd company logo
1 of 8
Programming
Flow Control with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
1
Outline
Material
Worked Instructions
Exercises
Hysteresis
Wait until and break loop
Alarm effect
2
Material
3
Wemos D1 R32 with Arduino Multisensor Shield
Worked Instructions
4
Main instructions Additional instructions
Hysteresis
Implement a hysteresis, emulating a thermostat (using potentiometer in A0). If the value is above 2000, turn on the LED
D12, if the value is below 800, turn it off. Otherwise, keep it as it is.
5
Wait until and break loop
The LED connected at D12 will start blinking when the switch D2 is pressed. It will stop blinking when the switch D3 is
pressed.
6
Alarm effect
Generate an alarm effect using the buzzer connected to
pin D5.
Start with a base frequency of 1318.51Hz and increase
the frequency 3% on each iteration until reaching
1567.98Hz with a duration of 22ms.
Then reset the value of the frequency and increase its
value 4% until reaching 2349.32Hz with a duration of
12ms.
7
Programming
Flow Control with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
8

More Related Content

Similar to Flow Control with Facilino

3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual
3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual
3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manualDomotica daVinci
 
Everspring sp816 user manual
Everspring sp816 user manualEverspring sp816 user manual
Everspring sp816 user manualDomotica daVinci
 
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610Hướng dẫn sử dụng máy đo nhiệt độ Testo 610
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610Tenmars Việt Nam
 
Arduino projects & tutorials
Arduino projects & tutorialsArduino projects & tutorials
Arduino projects & tutorialsAnshu Pandey
 
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0Domotica daVinci
 
Manual steinel rs led d2 (indoor light with led)
Manual steinel rs led d2 (indoor light with led)Manual steinel rs led d2 (indoor light with led)
Manual steinel rs led d2 (indoor light with led)Domotica daVinci
 
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on Arduino
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on ArduinoDiy temperature﹠ humidity ﹠smoke monitoring alarm system based on Arduino
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on ArduinoWanita Long
 
Aeotec Multisensor 7 Manual
Aeotec Multisensor 7 ManualAeotec Multisensor 7 Manual
Aeotec Multisensor 7 ManualDomotica daVinci
 
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Domotica daVinci
 
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Ana Roza Braña
 

Similar to Flow Control with Facilino (13)

3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual
3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual
3 in 1 multi sensor Philio PSM01 (door, window, temperature, lightness) manual
 
Everspring sp816 user manual
Everspring sp816 user manualEverspring sp816 user manual
Everspring sp816 user manual
 
Logic with Facilino
Logic with FacilinoLogic with Facilino
Logic with Facilino
 
Ks 307 dct user's manual of PIR detector
Ks 307 dct user's manual of PIR detectorKs 307 dct user's manual of PIR detector
Ks 307 dct user's manual of PIR detector
 
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610Hướng dẫn sử dụng máy đo nhiệt độ Testo 610
Hướng dẫn sử dụng máy đo nhiệt độ Testo 610
 
Arduino projects & tutorials
Arduino projects & tutorialsArduino projects & tutorials
Arduino projects & tutorials
 
Manual pop 004308
Manual pop 004308Manual pop 004308
Manual pop 004308
 
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0
Ph pat02 - zipato flood multisensor 3 in 1 user manual v1.0
 
Manual steinel rs led d2 (indoor light with led)
Manual steinel rs led d2 (indoor light with led)Manual steinel rs led d2 (indoor light with led)
Manual steinel rs led d2 (indoor light with led)
 
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on Arduino
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on ArduinoDiy temperature﹠ humidity ﹠smoke monitoring alarm system based on Arduino
Diy temperature﹠ humidity ﹠smoke monitoring alarm system based on Arduino
 
Aeotec Multisensor 7 Manual
Aeotec Multisensor 7 ManualAeotec Multisensor 7 Manual
Aeotec Multisensor 7 Manual
 
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
 
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4Ph psm02-zipato-multisensor-quad-user-manual-v1.4
Ph psm02-zipato-multisensor-quad-user-manual-v1.4
 

More from Leopoldo Armesto

Two-button UI with Facilino
Two-button UI with FacilinoTwo-button UI with Facilino
Two-button UI with FacilinoLeopoldo Armesto
 
ThingsBoard Time-Series and Attributes with Facilino
ThingsBoard Time-Series and Attributes with FacilinoThingsBoard Time-Series and Attributes with Facilino
ThingsBoard Time-Series and Attributes with FacilinoLeopoldo Armesto
 
ThingsBoard RPCs with Facilino
ThingsBoard RPCs with FacilinoThingsBoard RPCs with Facilino
ThingsBoard RPCs with FacilinoLeopoldo Armesto
 
RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with FacilinoLeopoldo Armesto
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with FacilinoLeopoldo Armesto
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with FacilinoLeopoldo Armesto
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with FacilinoLeopoldo Armesto
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoLeopoldo Armesto
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with FacilinoLeopoldo Armesto
 

More from Leopoldo Armesto (20)

Variables with Facilino
Variables with FacilinoVariables with Facilino
Variables with Facilino
 
USB Serial with Facilino
USB Serial with FacilinoUSB Serial with Facilino
USB Serial with Facilino
 
Undestanding Bluetooth
Undestanding BluetoothUndestanding Bluetooth
Undestanding Bluetooth
 
Two-button UI with Facilino
Two-button UI with FacilinoTwo-button UI with Facilino
Two-button UI with Facilino
 
ThingsBoard Time-Series and Attributes with Facilino
ThingsBoard Time-Series and Attributes with FacilinoThingsBoard Time-Series and Attributes with Facilino
ThingsBoard Time-Series and Attributes with Facilino
 
ThingsBoard RPCs with Facilino
ThingsBoard RPCs with FacilinoThingsBoard RPCs with Facilino
ThingsBoard RPCs with Facilino
 
Text with Facilino
Text with FacilinoText with Facilino
Text with Facilino
 
RGB LEDs with Facilino
RGB LEDs with FacilinoRGB LEDs with Facilino
RGB LEDs with Facilino
 
RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with Facilino
 
OLED 128x32 with Facilino
OLED 128x32 with FacilinoOLED 128x32 with Facilino
OLED 128x32 with Facilino
 
Maths with Facilino
Maths with FacilinoMaths with Facilino
Maths with Facilino
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with Facilino
 
LDR with Facilino
LDR with FacilinoLDR with Facilino
LDR with Facilino
 
LCDs with Facilino
LCDs with FacilinoLCDs with Facilino
LCDs with Facilino
 
IR Receive with Facilino
IR Receive with FacilinoIR Receive with Facilino
IR Receive with Facilino
 
Gas sensor with Facilino
Gas sensor with FacilinoGas sensor with Facilino
Gas sensor with Facilino
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with Facilino
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with Facilino
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with Facilino
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with Facilino
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Flow Control with Facilino