Thông báo

Collapse
No announcement yet.

Các bác giúp em mấy bài này

Collapse
X
 
  • Lọc
  • Giờ
  • Show
Clear All
new posts

  • Các bác giúp em mấy bài này

    **Exercise 1 : Create the Program that we can : 1. Calculate the level of water
    2. Start the pumper
    3. Close or open valve by using servos
    We also need the following associated header file:
    Serov.h
    • Note that, by convention, the main.cpp file does not need a header file
    **Exercise 2: Create the Program that we can : 1. Calculate the level of water, if the level of water from sensor to the surface is lower than 15cm (mean the level is high), pumper must stop (turn of electric from it), water valve must be closed
    2. If the measure from water surface to sensor is greater than 15cm (mean the level is low), pumper must run and water valve must be opened
    We also need the following associated header file:
    Serov.h
    • Note that, by convention, the main.cpp file does not need a header file
    **Exercise 3: Create the Program that we can : 1. Calculate the level of water, if the level of water from sensor to the surface is lower than 15cm (mean the level is high), pumper must stop (turn of electric from it), water valve must be closed
    2. If the measure from water surface to sensor is greater than 15cm (mean the level is low), pumper must run and water valve must be opened
    3. If the temperature of mainboard is higher than 60oC, valve must be closed, pumper must be stopped and print to the console the message :
    “Mainboard overheated! Change into water manual control or Switch to Emergency Mainboard control!” We also need the following associated header file:
    Serov.h
    OneWire.h; DallasTemperature.h
    **Exercise 4: Finish ex3 by using Modular programming, check Tempurature, check water level, turn on off relay or servos by using functions
    Các bác giúp em viết chương trình dùm mấy bài này với em đang học môn này thank!!!!!!

Về tác giả

Collapse

gago988 Tìm hiểu thêm về gago988

Bài viết mới nhất

Collapse

Đang tải...
X