Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Making a doorbell

  1. #1
    Junior Member
    Join Date
    Apr 2019
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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
    Junior Member AlexSlater1234567's Avatar
    Join Date
    Jun 2021
    Location
    Canada
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making a doorbell

    Interesting!

    Just curious though, what are you referring to? Machine level programming? You can use the Ladder Logic language, or Structured Text language, they are to program the CPU to do something. Although you do need electromechanical engineering knowledge for it.

Similar Threads

  1. Making a Portfolio
    By KAJLogic in forum The Cafe
    Replies: 3
    Last Post: March 4th, 2014, 11:06 AM
  2. need help in making code
    By engmohy90 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 16th, 2013, 01:39 PM
  3. Making Methods
    By kilroyjr in forum Java Theory & Questions
    Replies: 7
    Last Post: April 7th, 2011, 05:19 PM
  4. [SOLVED] Help making a loop please
    By CheekySpoon in forum Loops & Control Statements
    Replies: 10
    Last Post: February 5th, 2011, 08:23 PM
  5. Making a clock
    By javapenguin in forum What's Wrong With My Code?
    Replies: 5
    Last Post: January 7th, 2011, 04:36 PM