Loading...
Pages: [1]   Go Down
Author Topic: Interfacing Ethernet Shield with Python  (Read 1914 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello!
I'm trying to find a way to control remotelly, an Arduino Ethernet Shield/Arduino direct by my Django webpage. I mounted a schema, see below how I want it works:

Remote User ---> WEB Page ---> Python Web Server ---> Arduino Ethernet Shield ---> Arduino ---> LED

In this case, make a python web page (made with Django or whatever) to send commands directly to the Ethernet Shield to have a nice webpage with CSS, etc. and need not to be connected to the Arduino into a USB port of my PC, but in any place, by network cable.

I did a search around WebSockets, but I have not found a way to send a command to the Arduino and receive a reply from him.

I made myself clear? smiley-confuse

Thank you!

--
Vinicius
Logged

0
Online Online
Tesla Member
***
Karma: 50
Posts: 6544
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It appears that your python web server will also need to operate as a client of some type to connect to the arduino ethernet shield. Have you figured out that part?
Logged

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
GOOGLE ADVANCED FORUM SEARCH BELOW!  
Go to:  http://www.google.com/advanced_search?hl=en
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your reply zoomkat!

No, i'm trying to figure this out too... How the webpage will send and get information/commands to the Arduino? Will i need to import some different libraries in python or php for example? I'm sorry, i'm just trying to understand how it works and what i'll need to make it works...  smiley-confuse

Thank you!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I solved my problem by following this link:

http://engenheirando.com/projetos/automacao/

Thanks!
Logged

Pages: [1]   Go Up
Print
 
Jump to: