#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2019
    Posts
    1
    Rep Power
    0

    Making a doorbell


    Hi.

    Would you please help me rank the options, according to easiness and price, for doing the following using Java?

    I need to receive input from a device. Iím not sure what this device is called yet, but I know it can make a lot of other devices (such as public sinks, paper towel dispensers, and air hand dryers) touchless. It can make them touchless because it knows when something (such as a hand) is waved in front of them. Because I donít know what this device is called, Iíll refer to it as the first device.

    I need the sound of my voice to be played when something is waved in front of the first device. I also need the amount of time after something is waved in front of the first device to be kept track of. Please call this amount of time ďxĒ. And, I need the sound of my voice to be played, with a changed volume, when something is waved again in front of the first device, AND when x is greater than one amount of time, AND when x is lesser than another amount of time.

    In addition to a speaker that plays the sound of my voice, I also need another output device, a light (whose brightness I can change). I need these two output devices to be far away from the first device.

    Would changing the code of a musical doorbell be a good shortcut?

    Thank you!

    Jason
  2. #2
  3. Lord of the Dance
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Oct 2003
    Posts
    4,203
    Rep Power
    2012
    For the first device, you are most likely thinking about infrared sensors (IRS).

    Does it have to be Java? Any reason for that?

    Would changing the code of a musical doorbell be a good shortcut?
    Which code? Which musicall doorbell?

    Maybe you can search for an programmable (musical) doorbel. Although I'm not sure how you would add the light as the third device.

    Another solution is to base it on several wifi-enabled arduinos or similar, and then connect the IRS, speaker, light etc. on their own part.
    Last edited by MrFujin; Today at 03:43 PM.

IMN logo majestic logo threadwatch logo seochat tools logo