Pages: [1]   Go Down
Author Topic: Webpage sending information to serial port  (Read 1151 times)
0 Members and 1 Guest are viewing this topic.
Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all! I don't have nearly no experience on webpage design and stuff like that. I have dreamweaver, and I once tried to build a website. I was just thinking if I use XAMPP, can I build a webpage that can be accessed within my local area network, that can send something to the serial port my Arduino is connected to?
Thanks a lot.
Habib
Logged

What is man's best friend? The breadboard!

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 32
Posts: 1867
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Habib,

To connect your Arduino to the network you need one of these things:

- connect serial port to a computer that is on the network
- connect an Ethernet Shield or Module to your Arduino, and wire that to your network.

On the http://ArduinoInfo.Info WIKI see more here: http://arduino-info.wikispaces.com/Ethernet
Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Bitlash Commander may be worth a look.  It allows you to control a usb-connected Arduino from a web dashboard:

https://github.com/billroy/bitlash-commander

-br
Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you all! Due to my budget, I don't think I can afford an ethernet shield yet.  smiley
Logged

What is man's best friend? The breadboard!

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bitlash looks really cool! But does it work with windows?
Logged

What is man's best friend? The breadboard!

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use the apache web server on the pc and use a simple batch file as a cgi interface to send commands to the pc serial port.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I haven't tested Bitlash Commander on Windows but it "should work".  Which is to say, let me know when you find problems…

Bitlash itself runs on the Arduino so Windows is not a factor.

-br
Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow thanks @billroy! I managed to use bitlash with the Arduino serial monitor. But how do I use it over the network?
Logged

What is man's best friend? The breadboard!

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Congratulations! 

Now you need to install the web part.  Follow the instructions to install Bitlash Commander here: https://github.com/billroy/bitlash-commander

Commander runs a web server on your PC.  The instructions tell you how to set it up and feed it.

Please note you do need development tools installed on your system (a compiler) for the Commander install to succeed.  On Windows, you need Visual Studio 2010.  On OS X, you need the free XCode install, and on Linux you need gcc / build-essential.

-br


Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot! I already have visual studio.
Oh, I am also trying to sart an apache server with XXAMP.
Thanks!
Logged

What is man's best friend? The breadboard!

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How do I install Bitlash Commander in windows? I can't open a terminal window.
Logged

What is man's best friend? The breadboard!

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't do Windows, but last time I did you could get a command console up with Start -> Run -> cmd or some similar incantation. 

-br
Logged

Pages: [1]   Go Up
Jump to: