Results 1 to 13 of 13
  1. #1
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed

    VB + Home Security...What?!

    You can use this for many "advanced cases" Like

    Add email sending (which can also be used to send a text message) when your security is breeched

    or use it the concept to

    Connect it to telephony so it calls you (or use SIP trunks)
    Connect it to an answering machine so when it hears "please leave a message" it sends you a text message or records the message onto the harddrive and emails it to you (yes all these features exist in technology today....but DIY for less, is so much more fun)

    Earlier a question was asked in regards to sending speech through a program without using the very popular "Microphone to speaker method", and it reminded me of something I did at a younger age with much less knowledge of Visual Basic.

    Consider this a Crash Course/Tut/Vb Related Story

    Background Story(shows you my mindset for the idea)

    When I was much younger I used to always get Spy Tech for my B-day, even at a young age I had a huge interest in small gadgets and their abilities.

    I was about 19, maybe 18 when I stumbled across Speech SDK for Visual Basic (in this case, it was VB6) and I had downloaded a copy of this SDK, and trying to learn it played with the Basic Command (that came with the suite) The commands that were built in where nothing more then colors, (blue green and yellow) when you said a color, it will display the text of what color you said on the screen, at this point I was "amazed" I remember seeing a Qbasic program that listened for happy or sad and displayed a facial expression of which one you said or , this was far beyond that..... So I began playing around and adding audible responses to the commands using the speechtotext control, and it opened a new door (for me anyway)

    One day I was out shopping at the local (moy's Are muff's, <---Sound it out, you will know which store im talking about (without advertising))And I came across a Spy Gear (not Spy tech...) Toy Called "Tracking Device" I was astonished..... $49.99 for a tracking device.......... I can place it in someones pocket and follow them.....? SOLD!!!! I said to myself as I went to the register... I got home, Opened the box, and found three small round devices...."Oh My God" I thought to myself... "How cool is this" then I peeled away that annoying piece of cardboard that separates the small things from the big things, I opened it up and found...... A Plastic Case.....(yes I had a wild imagination) in this plastic case was a marker, a plastic grid and a speaker. It was nothing more then cheap motion detectors..."What a rip off"I thought... I have to draw a diagram of my "parameter" and place these around the "parameter" and listen for "Motion Detected in Sector #" (and mark each sector on this grid ...with a marker...) How stupid was that, I could have went to my local "Radio Dwelling" (<---- You should know what that is...without me having to advertise the company) and picked up state of the art motion detectors with longer range for a few dollars more...I was livid (as I could be as it was my silly mistake)

    So I thought to myself, What can I do to make this "worth" the investment, and almost immediately, I came up with the following Idea (Do it for fun).

    Again, I am going by memory, I don't remember the code, but if you decide you want to do this "Cheap trick" it is not hard to figure out from my instructions.

    So here is what you will need.

    A Old Version Spy Gear "TRACKING DEVICE"



    You may be able to use the newer model (I'm not sure if it speaks, I assume it does)



    A Attenuating Dubbing Cord with 1/8" Phone Plugs (available for $4.99USD at your local "Radio Dwelling"



    Note the Attenuating cable is very important, You can not just use speaker wire or mic wire, It will not work .

    Microsoft Speech SDK 4

    and VB6 (or upgrade the concept to vb.net, doesn't matter, just use SDK 5)

    Ok here is the process as detailed as I can be

    • Install SDK4
    • Run VB6
    • Open the Example with Speech SDK Suite4 called Basic Command
    • Add a TextToSpeech Control
    • Remove the commands for Colors and replace them with


    "Movement Detected in Sector one"
    "Movement Detected in Sector two"
    "Movement Detected in Sector three"

    • Create a Photoshop Mockup of your Parameter (House or whatever)
    • Add this newly created Mockup to your Form
    • Now add 3 more image boxes (pictureboxes) to your form placing them on your mockup in the same approx location as your 3 detectors.
    • Set the visibility on all of them to false.
    • Now Unscrew your "Tracking Device Box"
    • Carefully remove the speaker leaving the ground and speaker wire intact (be careful, use tools to snip the wires at the base of the speaker....)
    • Now trim the input end off one side of the Attenuating cable
    • Strip the wire to expose the ground wire and speaker/mic wire
    • Connect the wires to the appropriate place (white = speaker/Mic , Uncoated = ground)
    • Solder or black tape these wires for a more permanent attachment (you can just twist and use hot glue to mount it down .....if you like)
    • Re-screw your box closed (make room for the wire through the speaker hole or cut out a notch in the base of the box)
    • Connect the other input into the mic input of your computer.
    • Now when your "Tracker" detects movement , It will be sent to your computer and your computer will "hear" "Motion detected in sector one" and so forth . (or if your mic is unmuted and speakers are detected the alert will be transmitted through your speakers ( I don't suggest this method"
    • Create the code now


    In VB create the code which listens for the phrases mentioned above and makes visible the invisible image boxes plus says whatever you want it to say.

    Again, this is more of a crash course, If you want a real step by step, PM me, and I will try and redo everything step by step and get images etc.

    If you do it, Have fun. . . . .

    Note: I remember a redundancy in the audio , When it hears itself it keeps repeating the message" the way to fix this is to listen for "motion detected in sector one" have the texttospeech say something other then that like, "Movement has been detected" and make the picture box visible. otherwise it will keep hearing motion detected in sector one.
    Last edited by NextGen1; 01-31-2010 at 01:24 AM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  2. The Following 3 Users Say Thank You to NextGen1 For This Useful Post:

    FlashDrive (02-13-2010),mnpeepno2 (01-31-2010),why06 (01-31-2010)

  3. #2
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    0.O Flashback? LOL.
    umm ill try this, but i dont have SDK :/

    PLZ PUT A LINK TY


    -----------------------------------------------

    My site: here
    My Blog: here
    My member's area: here
    Minecraft Sever Forum: here


    Minecraft Servers:

    Public:



    Private:



  4. #3
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by mnpeepno2 View Post
    0.O Flashback? LOL.
    umm ill try this, but i dont have SDK :/

    PLZ PUT A LINK TY
    Do a google search for SAPI 4

    I know ©Microsoft (used to) keeps a copy of their "old version" SDK's on their site.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. The Following User Says Thank You to NextGen1 For This Useful Post:

    mnpeepno2 (01-31-2010)

  6. #4
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    wat about the new sdk?
    Download Confirmation <-- this is one i found for my OS, is it the correct one?

    EDIT: w8, i have two already , wat i do? download this one?
    Last edited by mnpeepno2; 01-31-2010 at 01:04 AM.


    -----------------------------------------------

    My site: here
    My Blog: here
    My member's area: here
    Minecraft Sever Forum: here


    Minecraft Servers:

    Public:



    Private:



  7. #5
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    You can use the new sdk

    Edit: Not winSDK though

    SAPI 5.1 (speech SDK 5.1)
    Last edited by NextGen1; 01-31-2010 at 01:19 AM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. #6
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    thanks
    /thanked


    -----------------------------------------------

    My site: here
    My Blog: here
    My member's area: here
    Minecraft Sever Forum: here


    Minecraft Servers:

    Public:



    Private:



  9. #7
    treeham's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    heh. Turn around.
    Posts
    200
    Reputation
    10
    Thanks
    41
    My Mood
    Cynical
    Shit. Didn't know vb could do that kind of stuff.
    In Choob Language:
    also for all your info.. i didnt copy and paste shit.. coz i dont think anyone has realeased any source code for the New update of CA.. so sdfu..
    In English:
    I didn't copy and paste because no one has released what I need copy and paste
    Oh Choobs...

  10. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Anything you can think of, Just got to think of it and it's not really that special, it's taking the concept that exists in visual basic and SAPI and combining them with audio responses we "already have" like something we know will be said to trigger a response.

    but on that note, there are no limitations (not really anyway) it's just a matter of taking your time and thinking of ideas, innovations or ways to make it work


     


     


     



    The Most complete application MPGH will ever offer - 68%




  11. #9
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted
    Wow great idea... i used to have that first one(the old version) ahaha i loved that thing :P

  12. #10
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Very nice! very innovative.
    Best use of cheap motion detectors I've ever seen. lol.
    You remind me of Richard Feynman. If you do not know, he was a physicist, but growing up he used to mess with radios, and even before highschool was so good at it he would get payed for fixing peoples radios. Point is he had that natural flare for understanding technology just by working at it.

    Its nice to see some non-gamehacking stuff every now and then.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  13. The Following User Says Thank You to why06 For This Useful Post:

    NextGen1 (01-31-2010)

  14. #11
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by why06 View Post
    Very nice! very innovative.
    Best use of cheap motion detectors I've ever seen. lol.
    You remind me of Richard Feynman. If you do not know, he was a physicist, but growing up he used to mess with radios, and even before highschool was so good at it he would get payed for fixing peoples radios. Point is he had that natural flare for understanding technology just by working at it.

    Its nice to see some non-gamehacking stuff every now and then.
    Thats me, There are pictures of me taking apart radio's, Gameboys and VCR's in the attempt to use them for something else, or determine what it is that made them function, Maybe it's a Richard thing (as thats my name)


     


     


     



    The Most complete application MPGH will ever offer - 68%




  15. #12
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    this is funny

  16. #13
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by XGelite View Post
    this is funny
    Why funny? It's handy


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. What if you came home
    By gbitz in forum General
    Replies: 22
    Last Post: 05-17-2011, 09:25 PM
  2. Got Brinks home Security
    By Kanye in forum General
    Replies: 12
    Last Post: 10-18-2010, 10:31 AM
  3. what is the name of the song that plays on home page
    By frictionary in forum Suggestions, Requests & General Help
    Replies: 6
    Last Post: 10-11-2009, 11:25 PM