Control Bstamp through network
dakota77
Posts: 23
Hello,
I would like to control servos through ethernet.
I'm actually using a BS2P and a parallax servo controller to control 2 servos. It works fine.
A computer sends commands to the Basic Stamp via RS232. (When the string ABC is received by the Bstamp, the servo are placed in position 1)
I would like to send these commands not through RS232 but throught a network.
Is it possible ?
Is there also a way to upload the program from the computer to the basic stamp through the network ?
Thanks for your help.
Mario
I would like to control servos through ethernet.
I'm actually using a BS2P and a parallax servo controller to control 2 servos. It works fine.
A computer sends commands to the Basic Stamp via RS232. (When the string ABC is received by the Bstamp, the servo are placed in position 1)
I would like to send these commands not through RS232 but throught a network.
Is it possible ?
Is there also a way to upload the program from the computer to the basic stamp through the network ?
Thanks for your help.
Mario
Comments
There's no way to upload a program via a network link or via a wireless link from the Stamp Editor on a PC to a Stamp. If you're using a multi-slot Stamp like the BS2p/pe/px, you could write a program (for both the Stamp end and the PC end) to take a program saved as a binary file by the Stamp Editor and copy it to an available "slot" on the Stamp via some network link, then the Stamp program could transfer to the newly received slot. Read the Stamp Manual chapters on the RUN / STORE / WRITE statements for details.
It would also be possible to make an Internet interface that could receive an entire Stamp program, then download that to an attached Stamp. There was a Bluetooth interface that worked in that way. You can't download directly because of timing constraints in the Stamp's downloader and network timing delays.
Thanks a lot for your reply.
It seems not so simple.
My application on the PC is written in VB.NET. I want to click on buttons and move the servos that are on the network.
I have tried with the Pink but it is too complicate for what I want to do.
I will look for Telnet interfaces.
Once again thank you.
Mario