-1

Hello I am creating an application on vb.net which I want to launch an event whenever someone rings the doorbell. Can someone show me where I need to start looking? I know I need a circuit, but it should be very simple since I only want to push a button. Thanks

Haz
  • 203
  • 6
  • 15

2 Answers2

1

Arduino is a open-source hardware and supporting software project that you should be aware of. It's typically programmed in C or C++, but see "How to Communicate to the Arduino in Visual Basic .NET".

You might also pick up some good ideas from "How to Hack a Doorbell and Connect it to Twitter".

Finally, don't miss the Arduino StackExchange.

Community
  • 1
  • 1
kjhughes
  • 106,133
  • 27
  • 181
  • 240
1

An interesting hardware question. My solution here without additional hardware/circuit.

  • Install Microsoft Speech SDK.
  • Configure your MIC to listen to your doorbell.
  • In your code, on distinguishing the doorbell, invoke a button click in your screen. See below code to invoke a button:

    'Imports System.Windows.Automation.Peers
    'Imports System.Windows.Automation.Provider
    If SpeechObject(DetectDoorBellRing) = True Then
        Dim peer As New ButtonAutomationPeer(btnExecute)
        Dim invokeProv As IInvokeProvider = TryCast(peer.GetPattern(PatternInterface.Invoke), IInvokeProvider)
        invokeProv.Invoke()
    End If
    
kjhughes
  • 106,133
  • 27
  • 181
  • 240
Venkat
  • 1,105
  • 1
  • 8
  • 12