FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Homemade ARDUINO's low-cost plug-and-play room automation device

     

    Many people are trying to make a variety of DIY projects to meet their daily needs. A main example is that room automation. Although many room automation settings have a higher cost, we can't make it cheap. Can we use ARDUINO's beginners toolkit? My answer is "Yes, it is possible!" Supplies Arduino or any other microcontroller Stepping motor with motor drive servo motor Screwdriver (diameter: 8mm & length: depends on you) with copper nut Coupler (8mm * 5mm) External power supply (optional) Cardboard or foam board Infrared receiver and remote control electric wire Step 1: How to control the switch? Usually many of them prefer to use relays to control what internal circuits for your housing. If you are not good at handling it, avoid using it! In order to make this project simple and different, I use one of the core components used in 3D printing. This is the linear actuator. Here our linear actuators will control the vertical motion of the servo motor, and the servo motor is used to open and close the switch. For example: - Turn on the light We must find a stepper motor that must be rotated to reach the switch. We have to set the servo must turn much to turn on the value of the switch. After a few seconds of delay, we must set the server back to its initial position. Stepping motors must return to its origin (- rotation). According to these conditions, our procedures are as follows: IF (lights = "on") { MyStepper.set (Rotate); // How much the step the switch? / t t r? 网? @ h m t TO REACH THE MyServo.write (); // how much the servo haas to turn in Order to Turn on the switch? DELAY (1000); // Wait 1 SECOND MyServo.write (); // set servo to initial position MyStepper.set (-ROTATE); // Stepper Motor Turns Back to Initial Position } Supplementary description: Even if the stepper motor movement is accurate, it cannot know how much it is rotated, because if a power failure occurs, it does not return to its initial position and treats the current point as an initial location. In order to solve this problem, we must add another 3D printer core component called a limit switch. Since the wire DIY limit switch is easy, it is not bought! If you want to add a DIY limit switch, you can delete this code mentioned above. Since the program is created in this way, the stepper motor must return to its initial position after the command is issued. MyStepper.set (-ROTATE); // Stepper Motor Turns Back to Initial Position Step 2: Construction and testing What is created here always depends on how you control your switch. As far as I said, first of all, I must cut off the layout that will be installed to the distribution plate. Then I have to stick the stepper motor and a small bracket made of cardboard to keep the screw in place. Since the diameter of the stepper motor and the screw, I have to connect them with the help of the coupler. After that, I have to create a bracket for our servo motor, which is connected to the copper nut (Figure 4). Since our servo bracket is free to move, I have to use a hierarchy to add a support structure. After all, I have to add my DIY limit switch, which will be on top. When the wire is placed on the servo bracket copper nut, the stepper motor is turned off. Be Supplementary description Make sure that your structure is sufficiently robust, especially the bracket of the servo motor. If it is not so powerful, it may not give you the right result! Also make sure there is a small gap between servo and switches. This will ensure smooth movement. When testing, people may find that even if the servo motor is rotated, it may only perfectly perform a command, otherwise it does not perform any operation, as shown below. So sometimes you may need some adjustments to the speaker itself. (I don't know what the speaker means? Click here!) Be Step 3: Finally, programming After making and testing your model, it is time to wirelessly control it. Since the Arduino UNO beginner suite provides an IR receiver and a remote control, our path is perfect. However, if you don't have it, you don't have to worry. Because this is just a start. They have many ways to modify this project. So please continue to pay attention! If you want code, please click here! (Link to Arduino Network Editor) Since I am Arduino programming initiator, I tried to make this code as simple as possible, so that you can understand what I wrote. Supplementary description: Let us divide the entire code into two parts: step into the initial position and infrared remote control Stepper initial location In Void Loop, I start with IF condition, which indicates that the stepper motor will rotate clockwise until it receives the HIGH signal from our DIY limit switch. (Use the reason why the DIY limit switch mentioned in step 2). Infrared remote control E.g If our IR receiver receives the "0xef807f" signal and our Switch1 is in the "closed" state, then our stepper motor must take the -21000 step to reach Switch1 and the servo must rotate 30 degrees to open the switch, and delay 1.5 After the second, our servo system will move to its initial position and explain that Switch1 has been "opened". If our IR receiver receives the "0xef807f" signal again and Switch1 is in the "ON" state, then our stepper motor must take -21000 step to reach the switch, and the servo must rotate 180 degrees to turn off the switch, and delay 1.5 Seconds our server will move to its initial location and declare that Switch1 is in the "off" state. The same conditions are also applicable to all switches. Here, we did not rotate the stepper motor, because when the Switch shell ruptured, our DIY limit switch will have a "low" value, which will rotate the stepper motor. Therefore, we will encounter a problem, that is, we can only send one IR signal at a time. In order to send another signal, you must wait until the servo bracket reaches its initial position. Here are some working videos.

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us