Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. .NET robotics controller

.NET robotics controller

Scheduled Pinned Locked Moved The Lounge
csharpwcfcomhardwaretutorial
43 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Fabio Franco

    Andrew Wiles wrote:

    I know how to program for Windows Mobile 7

    Exactly

    Andrew Wiles wrote:

    I am now doing the research on how to drive the hardware (servos, motors etc.) from the phone.

    That's probably gonna be fun, but the hardest part I think will be to connect the very small pins on the phone.

    Andrew Wiles wrote:

    I may still need to use something like a netduino board for this but it should be a lot simpler than the monster I was looking at yesterday......

    It shouldn't be difficult if you have a little knowledge on microcontroles and some logic port notions.

    "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

    M Offline
    M Offline
    Member 110323
    wrote on last edited by
    #34

    I think you'll like netduino. My son (age 13) and I have been having a lot fun with it for the last couple of months.

    J W

    F 1 Reply Last reply
    0
    • A Andrew Wiles

      I have a robotics project that I would like to have a go at with my son but I have no idea how to get started on sourcing hardware so I thought I would ask . Basically I would like to build a remote control vehicle BUT rather than use standard radio control I would like to use a mobile phone as the controller via the internet. The logic behind this is that it would be possible to control the robot from any location and not be limited by the range of an individual radio device - a bit like the Rovio robot. To do this I am going to need some kind of controller that can connect to the internet, preferably using mobile technology rather than wireless networking, and which can handle control of servos plus video streaming. Not being a hardware guy I am having trouble working out what to search for (assuming that such technology exists). My skill set is .NET so something that can be made to work via web services would be ideal. Obviously the further we get away from .NET the longer the learning curve is likely to be (my son is 14 so we need to be able to get results at a reasonable rate to keep his interest). So - does anyone out there in codeproject land have any thoughts on where to source hardware for this kind of project?

      www.it-workplace.com
      "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

      B Offline
      B Offline
      BClinken
      wrote on last edited by
      #35

      Get a high amp small (like motorcycle) battery and Voltage inverter to have 12v and 100 (for a laptop that will run Vista or 7 (you need that to have a browser that will utilize web sockets for a seriously sick robot) the OS and allow you to use a USB camera to stream the video and sound from the remote robot w/windows media, live messenger etc..or get a web enabled (remote viewing capable) security camera. Get yourself a USB dongle type device (I use a clear hotspot)for Internet connectivity. Using any USB enabled micro controller (i have had great success with the Parallax Stamp ***1 about $150 each) you can set up a dot.NET websocket HTML5, http, etc connection to another comp that has IIS with ASP.net app to take command posts from a web page using ANY device. Allow access to your webserver comp at home, connect to the site with any device that has a browser. Have the page write the command file (which the robot laptop requests from the webserver as an XML file. Basically the web app has a page that accepts the postback like this EX: default.aspx?Direction=[L,R,F,B)&Distance={increment of distance your command app accepts as a valid value]&CameraMove=[L,R,U,D]&turn=[R,L]&turndegrees=[0-360} and so on and then returns a clean page to the remote system to enter the next command. The robot Laptop app can recieve the commands from websocket using a wifi, or gsm hotspot connection to a local or remote hosted IIS server if you choose. If you trail two necklace sized chains (insulated) you can park the robot on two seperated sheets of copper hooked to a battery charger and it will stay on as long as the wall outlet is hot and recharge while parked as long as it does not pull more than about 2 amps (hence the motorcycle battery). I do not think you really want to reverse engineer a cell phone to drive it. A. Not enough power. B. Impossible to solder the micro circuits. A cell phone that has the umbilical and O/S do this is now more expensive than the minimum laptop required and I do not know of any kits you can get to drive external items other than card readers. You can however use a cellphone to make the posts described in the next paragraph or use it for the Internet Hotspot connectivity bi-directional. It really depends on If you want to write and app for the microcontroller, the receiving phone, the sending phone -or- write an app on the laptop that controls the microdevice via usb and receives it's commands from a redily available webservice using any device that can post. If you can write

      A 1 Reply Last reply
      0
      • A Andrew Wiles

        I have a robotics project that I would like to have a go at with my son but I have no idea how to get started on sourcing hardware so I thought I would ask . Basically I would like to build a remote control vehicle BUT rather than use standard radio control I would like to use a mobile phone as the controller via the internet. The logic behind this is that it would be possible to control the robot from any location and not be limited by the range of an individual radio device - a bit like the Rovio robot. To do this I am going to need some kind of controller that can connect to the internet, preferably using mobile technology rather than wireless networking, and which can handle control of servos plus video streaming. Not being a hardware guy I am having trouble working out what to search for (assuming that such technology exists). My skill set is .NET so something that can be made to work via web services would be ideal. Obviously the further we get away from .NET the longer the learning curve is likely to be (my son is 14 so we need to be able to get results at a reasonable rate to keep his interest). So - does anyone out there in codeproject land have any thoughts on where to source hardware for this kind of project?

        www.it-workplace.com
        "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

        M Offline
        M Offline
        Member 4157979
        wrote on last edited by
        #36

        I think .Net Micro Framework is probably what you are looking for. The Gadgeteer is a good kit to get you started. Good luck.

        1 Reply Last reply
        0
        • A Andrew Wiles

          I have a robotics project that I would like to have a go at with my son but I have no idea how to get started on sourcing hardware so I thought I would ask . Basically I would like to build a remote control vehicle BUT rather than use standard radio control I would like to use a mobile phone as the controller via the internet. The logic behind this is that it would be possible to control the robot from any location and not be limited by the range of an individual radio device - a bit like the Rovio robot. To do this I am going to need some kind of controller that can connect to the internet, preferably using mobile technology rather than wireless networking, and which can handle control of servos plus video streaming. Not being a hardware guy I am having trouble working out what to search for (assuming that such technology exists). My skill set is .NET so something that can be made to work via web services would be ideal. Obviously the further we get away from .NET the longer the learning curve is likely to be (my son is 14 so we need to be able to get results at a reasonable rate to keep his interest). So - does anyone out there in codeproject land have any thoughts on where to source hardware for this kind of project?

          www.it-workplace.com
          "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

          K Offline
          K Offline
          Kampen
          wrote on last edited by
          #37

          How about this: http://www.ghielectronics.com/[^]. It uses the Micro .NET Framework. Have seen some demonstrations of it. Runs from within Visual Studio and includes full debugging support.

          A 1 Reply Last reply
          0
          • K Kampen

            How about this: http://www.ghielectronics.com/[^]. It uses the Micro .NET Framework. Have seen some demonstrations of it. Runs from within Visual Studio and includes full debugging support.

            A Offline
            A Offline
            Andrew Wiles
            wrote on last edited by
            #38

            This does look very interesting. I wonder if the USB client/host units might allow the connection to a phone? Thanks

            www.it-workplace.com
            "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

            K 1 Reply Last reply
            0
            • B BClinken

              Get a high amp small (like motorcycle) battery and Voltage inverter to have 12v and 100 (for a laptop that will run Vista or 7 (you need that to have a browser that will utilize web sockets for a seriously sick robot) the OS and allow you to use a USB camera to stream the video and sound from the remote robot w/windows media, live messenger etc..or get a web enabled (remote viewing capable) security camera. Get yourself a USB dongle type device (I use a clear hotspot)for Internet connectivity. Using any USB enabled micro controller (i have had great success with the Parallax Stamp ***1 about $150 each) you can set up a dot.NET websocket HTML5, http, etc connection to another comp that has IIS with ASP.net app to take command posts from a web page using ANY device. Allow access to your webserver comp at home, connect to the site with any device that has a browser. Have the page write the command file (which the robot laptop requests from the webserver as an XML file. Basically the web app has a page that accepts the postback like this EX: default.aspx?Direction=[L,R,F,B)&Distance={increment of distance your command app accepts as a valid value]&CameraMove=[L,R,U,D]&turn=[R,L]&turndegrees=[0-360} and so on and then returns a clean page to the remote system to enter the next command. The robot Laptop app can recieve the commands from websocket using a wifi, or gsm hotspot connection to a local or remote hosted IIS server if you choose. If you trail two necklace sized chains (insulated) you can park the robot on two seperated sheets of copper hooked to a battery charger and it will stay on as long as the wall outlet is hot and recharge while parked as long as it does not pull more than about 2 amps (hence the motorcycle battery). I do not think you really want to reverse engineer a cell phone to drive it. A. Not enough power. B. Impossible to solder the micro circuits. A cell phone that has the umbilical and O/S do this is now more expensive than the minimum laptop required and I do not know of any kits you can get to drive external items other than card readers. You can however use a cellphone to make the posts described in the next paragraph or use it for the Internet Hotspot connectivity bi-directional. It really depends on If you want to write and app for the microcontroller, the receiving phone, the sending phone -or- write an app on the laptop that controls the microdevice via usb and receives it's commands from a redily available webservice using any device that can post. If you can write

              A Offline
              A Offline
              Andrew Wiles
              wrote on last edited by
              #39

              Do you think my wife will mind if I raid her jewelry box for the "2 necklace size chains"? Gold is a good conductor and does not oxidise...... I am hoping I can build some semi-autonomous behavior to prevent collisions, i.e. have some sensors to detect objects and override the last command when a collision is imminent. Loads of good ideas here - thanks.

              www.it-workplace.com
              "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

              1 Reply Last reply
              0
              • A Andrew Wiles

                This does look very interesting. I wonder if the USB client/host units might allow the connection to a phone? Thanks

                www.it-workplace.com
                "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

                K Offline
                K Offline
                Kampen
                wrote on last edited by
                #40

                Hmm, not sure about that. I think the phone will support some protocol which you can implement in the .NET framework, but no experience with that. Also check http://www.microsoft.com/en-us/netmf/default.aspx[^]. I have used an old model of the GHI board for demonstration purposes. I was impressed by the ease of setup. Created a simulation environment for it to test the software without the hardware and when the hardware came, just loaded the software and yipee...

                1 Reply Last reply
                0
                • A Andrew Wiles

                  I like the look of Netduino - thanks It looks like they have a pretty active community so maybe I will ask some questions there and see if they think I am mad....

                  www.it-workplace.com
                  "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

                  C Offline
                  C Offline
                  C_Johnson
                  wrote on last edited by
                  #41

                  Hi, The Netduino is a great little tinker board however is limited in it's IO ability. As a clear frontrunner I would suggest the Fez Panda 2 the same website for GHI electronics has alternatives. I would strongly recommend staying away from Microsoft's ".NET Gadgeteer" it is simply the same FEZ based board however at 2 -3 times the cost. tinyclr FEZ (Frekin Eazy) boards have been around a little longer than Netduino and has a much stronger community. The advantage of both board are they are Arduino compatible which means the shields that plug into the the top will work. Great as you can get cheap ones of ebay however be careful as you must re-map pins for the much cheaper ones. The reason I suggest the Panda II as well is that you can use these shield however with the extra header you can reduce the space your require. To help sceptics here is a few comparesents

                      FEZ PANDA II            |            NETDUINO
                  

                  72MHz. 32-bit ARM7 processor | 48MHz, 32-bit ARM7 processor
                  |
                  148KB for user application | 128 KB for user application
                  |
                  62KB RAM | 60KB RAM
                  |
                  54x Digital I/O ports | 20x Digital I/O ports

                  and thats just for starters as the size of your project is quite substantial and complex the PANDA II will give you the extra where ever you need it and only for an extra $5 or £5. Hope this helps you on your way, Cheers Chris

                  1 Reply Last reply
                  0
                  • M Member 110323

                    I think you'll like netduino. My son (age 13) and I have been having a lot fun with it for the last couple of months.

                    J W

                    F Offline
                    F Offline
                    Fabio Franco
                    wrote on last edited by
                    #42

                    Sweet! Thanks for the suggestion. I bet I'll have some fun with it :)

                    "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

                    1 Reply Last reply
                    0
                    • A Andrew Wiles

                      I have a robotics project that I would like to have a go at with my son but I have no idea how to get started on sourcing hardware so I thought I would ask . Basically I would like to build a remote control vehicle BUT rather than use standard radio control I would like to use a mobile phone as the controller via the internet. The logic behind this is that it would be possible to control the robot from any location and not be limited by the range of an individual radio device - a bit like the Rovio robot. To do this I am going to need some kind of controller that can connect to the internet, preferably using mobile technology rather than wireless networking, and which can handle control of servos plus video streaming. Not being a hardware guy I am having trouble working out what to search for (assuming that such technology exists). My skill set is .NET so something that can be made to work via web services would be ideal. Obviously the further we get away from .NET the longer the learning curve is likely to be (my son is 14 so we need to be able to get results at a reasonable rate to keep his interest). So - does anyone out there in codeproject land have any thoughts on where to source hardware for this kind of project?

                      www.it-workplace.com
                      "If a man speaks in a forest where there is no woman to hear him, is he still wrong?"

                      R Offline
                      R Offline
                      RoboJRR
                      wrote on last edited by
                      #43

                      When using a cell phone or tablet to control a robot you need to think first about an interface to hardware. How is the device going to talk to the outside world? Most robotics hardware is going to revolve around a micro controller of some sort. This could be a Parallax.com Basic Stamp II or Propeller board or some form of Arduino. These devices communicate via a USB or Serial interface. So that is what you need to think about how to make a phone speak serial to a micro controller. If the mobile device is an Android OS there is a free app you can get from the app store, type Basic Stamp and you should find a serial communication program that will allow the earbud speakout to be used to send serial data to an external device. The external device then needs to be programmed to act on the serial data from your Android bases device. .Net can certainly be used to control a robot, Visual Studio gives you everything you need to send serial data to a micro controller. You can even added vision system, text to speech and speech recongition with .Net running on a laptop, desktop or netbook. I use Visual Studio for this with my robots.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups