Si il mio scopo è quello di far leggere a python ad intervalli regolari i 
vari sensori e farlo andare a scrivere sul db, poi quando apro l'app web2py 
ho la possibiltà di visualizzare i dati scritti sul db, ma mi occorre anche 
che dall'app posso andare a scrivere anche su arduino, nel senso che vorrei 
creare delle slidebar per aumentare o diminuire la luminosità o 
l'impostazione della temperatura quindi utilizzando queste slidebar 
sull'interfaccia web comando arduino.

Grazie

Il giorno sabato 26 dicembre 2015 10:55:52 UTC+1, Vinny Mautone ha scritto:
>
> Ciao a tutti sto cercando di creare qualcosa per le automatizzazioni del 
> mio acquario ho acquistato una UDOO quad e sto iniziando a testare arduino, 
> ma il mio scopo è quello di creare un'interfaccia web dalla quale leggere i 
> vari dati messi a disposizione delle sonde che collegherò ad arduino e in 
> più eseguire operazioni diciamo manuali, "cambio livello di illuminazione, 
> fermare la pompa del filtro, ecc." ovviamente tutte queste saranno fatte da 
> arduino. Le varie sonde andranno a scrivere su un database mysql.
> La mia domanda è questa, potendo comandare arduino con Python tramite la 
> libreria Pyserial posso creare un'app completa con web2py che legga e 
> scriva da seriale su arduino, oppure devo creare un programma a parte che 
> faccia tutto il lavoro per arduino e con web2py creare un app che legga dal 
> database e mi visualizzi i valori?
>
> Grazie
>
>
> Hello everyone I am trying to create something for the automations of my 
> aquarium I bought a udoo quad and I'm starting to test Arduino, but my aim 
> is to create a web interface from which to read the various data made 
> available to the probes I will connect to arduino and more perform manual 
> say, "change illumination level, stop the filter pump, and so on." 
> Obviously all of these will be made by Arduino. The various probes'll write 
> on a mysql database.
> My question is this, being able to control Arduino with Python via the 
> library pySerial can create an app complete with web2py that read and write 
> to serial Arduino, or should I create a separate program that does all the 
> work for Arduino and create web2py an app that I read from the database and 
> displays the values?
>
> Thank you
>
> P.S. This is an on-line translation
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to