Find the answer to your Linux question:
Results 1 to 4 of 4
Hello. I am planning on creating a script for an Embedded system. The Embedded system should be able to call a cellphone (like a normal phone call). If the cellphone ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    2

    Help with Embedded system script


    Hello.

    I am planning on creating a script for an Embedded system.

    The Embedded system should be able to call a cellphone (like a normal phone call). If the cellphone user presses for example 1# then the Embedded system should open a door/turn on a light.

    Is this even possible?
    If so, which Programming language is most suited for this task?
    Is there any similar script available?

    Thanks in advance.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by juah9405 View Post
    I am planning on creating a script for an Embedded system.

    The Embedded system should be able to call a cellphone (like a normal phone call). If the cellphone user presses for example 1# then the Embedded system should open a door/turn on a light.

    Is this even possible?
    If so, which Programming language is most suited for this task?
    Is there any similar script available?
    Does this mysterious Embedded system have a modem? if so, there are several ways in Linux to script calling a number (minicom, kermit, wvdial, kall, etc.) and you could do it in a simple shell script.

    In order for the system to do things like toggle lights, there needs to be a way for the system to communicate with the devices (light switches , doors, etc.). One way would be physical wires going to contact sensors. Another way would be wireless, like with X10.

    Taking the former case, say your light switch comes equipped w/contacts expressly for remote control. You could then wire them to digital I/O connected to your system. some systems come w/such contacts. you can also get them on things like this environmental monitor.

  3. #3
    Just Joined!
    Join Date
    Jun 2012
    Posts
    2
    Thanks that helped a lot!
    Yes the system is able to communicate with the device through wires.

    I still can't figure out how the cellphone user should be able to control the lights (off/on) by giving commands such as 1#.
    Any thoughts?
    And is this still viable by using minicom, kermit, wvdial or kall?

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by juah9405 View Post
    I still can't figure out how the cellphone user should be able to control the lights (off/on) by giving commands such as 1#.
    Any thoughts?
    And is this still viable by using minicom, kermit, wvdial or kall?
    i'm pretty sure you can do that with kermit. try looking here:

    Kermit Man Page

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •