FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Children's counting tree based on ARDUINO

     

    For young children, the number may be an interesting task. Children with only two years old may begin to say that there is no specific order. Many parents have begun to teach their children numbers by calculating their objects around them. For example, snacks can be calculated according to the number of children, or the toy car on the floor can be calculated on the number of times the day. In the end, children will learn the quantity of the number symbols (1 - 10) with the number of objects. In this project, it will be the amount of green light. A certain number of LED lights will light up for the button number pressed. Step 1: Design The lamp is arranged in a triangular pattern, or more or less similar to pine or Christmas tree. The first lamp or number "1" light will be located at the top of the Christmas tree. With the increase of the numbers pressed, the amount of light illuminated will increase from top to bottom. The number "10" will illuminate the whole Christmas tree. The number button is located at the bottom of the front panel, arranges two rows, and 5 buttons per row. There is a numeric value on each button. I used 10 green round indicators purchased on Amazon. Gasher 12V / 24V / 110V 20MA Energy Saving Light Mounting Hole Size 22mm (7/8 ") Green 10: Amazon: Industrial & Science They have a rated voltage of 12 Vdc, but they cooperate with the 5 VDC provided by Arduino. I use a regular arcade instantaneous button to let the child press. There is a smaller finger with a large enough child and have a very reliable switching mechanism. Amazon: WMYCONGCONG 10 pieces with micro switches, suitable for Jamma MAME arcade video games DIY: toys and games Other components and materials used are: · Arduino Mega board · Miscellaneous. electric wire · Shot Connector · 9 volt battery power pack · switch · 2.54mm single-row linear joint connector · 1/2 "thick birch wood plywood Step 2: Build a box The count tree box is made of 1/2 inch thick birch plywood. The front panel is cut into a 9 inches wide x 9 inches high. I have to make the box deep enough to accommodate the arcade button. Therefore, the side is cut into a height of 2 inches. The pattern of the hole is arranged on the square paper and then transferred to the front plywood. Use the nails mark to transfer the center of each well to the panel. The hole is then drilled to a suitable diameter with the Forstner drill. The lamp has a diameter of 7/8 inch, and the diameter of the arcade button is 1 1/8 inches. I need to bury the top indicator light from the inside because the 1/2 inches thickness of the plywood is too thick and covers the thread required to tighten the plastic nut into the place. After drilling all the buttons, stick the top panel on the side and nail in place. The inner angle of the box is reinforced with small square wood. Then install and tighten the bottom of the box. Then the entire box is polished into square, and for safety, the quadrangular round is rounded. Everything is grinded very well, smooth, and there is no sharp edge. Then use tung oil to complete the box. You can also use polyacrylic acid or polyurethane. After drying, unscrew the bottom of the box to place the electrical components and wiring. Step 3: Workbench settings Complete the table setting to test all electrical components and circuits, as shown in the photo. All connections were made using a welded duck board. 10 LED lights are placed on the resistors corresponding to each LED lamp. Place several instantaneous buttons to simulate the counting arcade button. Buttons and LED leads to connect to the pin defined on the Arduino MEGA board. After some modifications and editing, I can make the Arduino code work according to what I want. Step 4: Arduino code I need 20 Arduino pins; 10 for arcade buttons, 10 for LED lights. For so many pins, I need to use the Arduino MEGA board. The first thing to do is to assign 10 pins as an input pin of the Arcade button. I use the internal pull-up resistor in Arduino, so the code will look for which button is pulled to "low". Each arcade button will be assigned a number from one to ten. Next, each LED light is assigned to a pin, which is specified as an output. This ten pins are grouped into a 10-item array, the occupancy value is 0 - 9. The Loop () function starts with a series of "if" statements to identify which button is pressed. Then allocate the value of this button for variables called "ButtonNum". The code will then use the "for" statement to loop in the LED array. If the array placeholder number is less than or equal to the value of the button, the output of these pins will become "high". All pins in the array after the value will become "low". Basically, this is the case; the first part of the code looks out which arcade button is pressed, the second part of the code converts the specified value of the button to the number of LEDs that switch to "high" on the count tree. This number of lights will turn over until you press the next button. Code please click to download Step 5: Final assembly All indicators and arcade buttons are inserted into the respective holes on the front plywood. Each corresponding plastic nut is connected and tightened to secure them in place. Next, each light and buttons need to be grounded. I will connect 10 arithm buttons to each other, leave a ground wire to Arduino, and connect 10 LED ground connectors to another. The two ground wires are then connected to two ground pins on the Arduino MEGA board. Two 10-wire beams are made for the buttons and LED lamp positive terminals. Arcade buttons need to be soldered to each positive electrode line. I use the male board terminal to perform the LED positive connection because they can be tightened by the screws. On the Arduino pin connection end of the wire harness, I used a single-row-row-angled connector connector for 2.54 mm intervals. These are very securely fixed on the Arduino board. The harness can be seen in one of the accompanying photos. I leave a position at the bottom of the count box to install the Arduino MEGA board. I don't want the ARDUINO board to disturb the bottom of the arcade button (micro switch section). The final installed component is on / off. I bury the buttons on the side of the box, the button will be oriented as the top, so it will flush. In this way, it will not be unexpectedly opened or closed. Arduino will be powered by a 9 volt battery. On / off open off the positive electrode of the battery pack. Step 6: Project Show Be The above is the full content of this project. Thank you for reading and concern, there is a problem welcome to exchange discussions.

     

     

     

     

    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