element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Can anyone here give me an idea about a closed loop small arduino project?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 6 replies
  • Answers 5 answers
  • Subscribers 475 subscribers
  • Views 882 views
  • Users 0 members are here
  • control systems
  • wireless controller
Related

Can anyone here give me an idea about a closed loop small arduino project?

mhanzala507
mhanzala507 over 8 years ago

My professor assigned me a project which i have to choose on my on. I t should be a closed loop circuit, means input is applied and a sensor checks the output and if there is any deficiency it increase or decrease the input.

I had an idea of controlling an actual ceiling fan. It should be temperature controlled and must e automatic. when a person enters the room the light as well as fan must starts automatically and when person leaves the room it must turn off automatically.

I don't have any idea how to do this all stuff.

Suggest me another good project or help me out with this project. 

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 8 years ago +3 suggested
    I’ve written a blog post here on e14 about porting an Arduino PID library to another platform. The blog contains a link to that very good library. MSP432 and TI-RTOS: PID Library Part 1 - Intro
  • jw0752
    jw0752 over 8 years ago +2 suggested
    Hi Muhammad, I'm not sure your proposed project is closed loop. Isn't that more like having a container of water with a leak. When the water gets below a certain level a sensor is triggered and it starts…
  • dougw
    dougw over 8 years ago +2 suggested
    A closed loop refers to a control system where the output is adjusted to achieve a target condition based on feedback from a sensor. If the sensor indicates the condition is below target the output gets…
  • jw0752
    0 jw0752 over 8 years ago

    Hi Muhammad,

    I'm not sure your proposed project is closed loop. Isn't that more like having a container of water with a leak. When the water gets below a certain level a sensor is triggered and it starts a pump that refills the bucket to a desired level. Or how about sensing a voltage at a remote variable load and adjusting the voltage output of the power supply to compensate.

     

    You may want to check out this reference about the methods for controlling and regulating closed loop systems. The better you understand what the closed loop system is the easier it will be to choose an appropriate project to demonstrate your understanding.

    https://en.wikipedia.org/wiki/PID_controller

     

    I don't have a lot of experience with this area but I am very interested so I hope you come back and post what you are doing on the project and how it turns out.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mhanzala507
    0 mhanzala507 over 8 years ago in reply to jw0752

    Thanks John for your Comments. I am going to do a deep study on closed loop projects. I will surely discuss my project on this forum.

    Best Regards

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 8 years ago

    A closed loop refers to a control system where the output is adjusted to achieve a target condition based on feedback from a sensor. If the sensor indicates the condition is below target the output gets increased and vice versa.

    Temperature control is a great example where a temperature sensor is used to determine if the temperature needs to go up or down to reach a desired temperature.

    However a fan is not very good at changing the temperature - it moves air but does not change the temperature of the air. If the air supply is hotter or cooler than ambient, a fan can be used to change ambient temperature to be closer to the air supply temperature. But it needs a heater or an air conditioner to control temperature.

    A simpler project might be to control the temperature of water in a bucket, using a heater and a temperature sensor.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 8 years ago

    I’ve written a blog post here on e14 about porting an Arduino PID library to another platform.

    The blog contains a link to that very good library.

    MSP432 and TI-RTOS: PID Library Part 1 - Intro

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shwetankv007
    0 shwetankv007 over 8 years ago

    as well stated above a closed loop control system is targeted to achieve a set output for example a reference temperature as you described.

    The basic criteria for any closed loop system is that it takes a feedback i.e. checks the output and obtains the error with respect to the required value, now this error is used to change the state of system and maintain the required values as in your case the temperature values.

     

    To check this system you can go for a simpler project using an LDR and an LED, all you need to do is connect the LDR to one of the analog inputs and control the dimming of LED accordingly.

     

    for more details about how an LDR works go to the link  - https://www.kitronik.co.uk/blog/how-an-ldr-light-dependent-resistor-works/

    a basic example for LDR and LED with an arduino can be found here- https://create.arduino.cc/projecthub/amar-slik/turn-on-and-off-led-by-ldr-toggle-ldr-2e3502

     

    the above example is however just to power on and off the LED however if you want to accomplish the dimming task go through the below link -

    https://www.arduino.cc/en/Tutorial/Dimmer

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 8 years ago in reply to shwetankv007

    I don’t see a closed loop in any of these examples.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube