6 Replies - 332 Views - Last Post: 23 April 2019 - 02:27 PM

#1 jbengia1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-April 19

Making a doorbell

Posted 15 April 2019 - 03:57 PM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Making a doorbell

#2 jbengia1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-April 19

Re: Making a doorbell

Posted 15 April 2019 - 04:17 PM

mod: removed giant quote

Hi. Please don't reply to this post. I'm trying to delete it, and paste it in another place. Please tell me how to delete it. Thank you!

This post has been edited by modi123_1: 15 April 2019 - 07:33 PM
Reason for edit:: Removed large quotes

Was This Post Helpful? 0
  • +
  • -

#3 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14995
  • View blog
  • Posts: 59,871
  • Joined: 12-June 08

Re: Making a doorbell

Posted 15 April 2019 - 05:12 PM

Where does it need moved?
Was This Post Helpful? 0
  • +
  • -

#4 jbengia1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-April 19

Re: Making a doorbell

Posted 15 April 2019 - 06:51 PM

View Postmodi123_1, on 15 April 2019 - 05:12 PM, said:

Where does it need moved?


I think it would be better under Computer Support, Hardware. Do you agree? It would be nice if the post I made on 4/15 at 4:17 was deleted, because in it I ask people not to reply. Thank you!
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14995
  • View blog
  • Posts: 59,871
  • Joined: 12-June 08

Re: Making a doorbell

Posted 15 April 2019 - 07:33 PM

Moved from Java to Hardware support.

FYI - you do not need to quote the post above yours. Just use the reply box.

Quote

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.

motion sensor?
https://learn.adafru...sensor/overview

Infrared sensor?
https://www.adafruit.com/product/164


Quote

I need the sound of my voice to be played when something is waved in front of the first device.


A speaker?
https://www.adafruit.com/product/94
https://www.adafruit.com/product/3401



Quote

I also need another output device, a light (

Any various LEDs?

https://www.adafruit.com/?q=led
Was This Post Helpful? 0
  • +
  • -

#6 jbengia1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-April 19

Re: Making a doorbell

Posted 23 April 2019 - 02:08 PM

Thank you modi123_1.

I read that one way of using Java with an ARDUINO is unstable. What is the most stable and easiest way to use the two together? Or, would it be easier to use a Raspberry Pi for what I described?

And, can the parts modi123_1 referred me to only be used with an ARDUINO? If so, where can I find those types of parts in/for a Raspberry Pi? (A search for the words Raspberry Pi at the pages modi123_1 referred me to showed that those words were there, but I couldnít find them at those pages.)

Finally, if I use a Raspberry Pi, will it be easier for me to find examples of Java code (that go with the parts mentioned above) than if I use an ARDUINO?

Thank you!
Was This Post Helpful? 0
  • +
  • -

#7 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14995
  • View blog
  • Posts: 59,871
  • Joined: 12-June 08

Re: Making a doorbell

Posted 23 April 2019 - 02:27 PM

I don't understand what you mean by "unstable".

As far parts - I stick to Adafruit and Sparkfun.

Example of Adafruit's Raspberry Pi specific gear.
https://www.adafruit.com/category/105

You would have to look for similar items or check up on the items. I don't have time at the moment to give you a complete shopping list or spec out all the hardware for you.

Search terms "will arduino sensors work with raspberry pi".
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1