Beijing
Offline
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« on: January 18, 2013, 05:11:09 am » |
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
Edison Member
Karma: 16
Posts: 1466
... in The Woods In Vermont
|
 |
« Reply #1 on: January 18, 2013, 06:57:39 am » |
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
|
|
|
|
|
0
Offline
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
|
 |
« Reply #2 on: January 18, 2013, 07:08:02 am » |
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
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #3 on: January 18, 2013, 09:07:48 am » |
Thank you all! Due to my budget, I don't think I can afford an ethernet shield yet. 
|
|
|
|
|
Logged
|
What is man's best friend? The breadboard!
|
|
|
|
Beijing
Offline
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #4 on: January 18, 2013, 09:21:07 am » |
Bitlash looks really cool! But does it work with windows?
|
|
|
|
|
Logged
|
What is man's best friend? The breadboard!
|
|
|
|
0
Offline
Tesla Member
Karma: 58
Posts: 6774
Arduino rocks
|
 |
« Reply #5 on: January 18, 2013, 01:12:22 pm » |
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
|
|
|
|
|
0
Offline
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
|
 |
« Reply #6 on: January 18, 2013, 01:24:55 pm » |
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
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #7 on: January 18, 2013, 07:16:57 pm » |
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
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
|
 |
« Reply #8 on: January 18, 2013, 07:25:03 pm » |
Congratulations! Now you need to install the web part. Follow the instructions to install Bitlash Commander here: https://github.com/billroy/bitlash-commanderCommander 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
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #9 on: January 18, 2013, 07:27:55 pm » |
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
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #10 on: January 18, 2013, 07:31:21 pm » |
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
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
|
 |
« Reply #11 on: January 18, 2013, 07:35:38 pm » |
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
|
|
|
|
|
|