Go to advanced search

by trouch
Tue Mar 12, 2013 12:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPIO.PWM: Precise PWM via DMA for servos and more (1µs res)
Replies: 15
Views: 30109

Re: RPIO.PWM: Precise PWM via DMA for servos and more (1µs r

this is not futaba specific and it's widely used.
we also see 1000/1500/2000µs for -45°/0°/+45° in electronic forums
always specifying the formula used is not a good idea, or assume one by default.
by trouch
Sat Mar 09, 2013 9:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPIO.PWM: Precise PWM via DMA for servos and more (1µs res)
Replies: 15
Views: 30109

Re: RPIO.PWM: Precise PWM via DMA for servos and more (1µs r

Very nice work, thanks for sharing !
Will take a look to replace my poor threaded PWM in WebIOPi.

Can I suggest to add a pulse angle function ?
pulse = 1520 + (angle*400)/45
gives a µs pulse for a futaba servo standard :
1520µs neutral
400µs / 45° travel
=> -45° = 1120µs
=> 45° = 1920µs
by trouch
Fri Mar 08, 2013 1:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

I'm having issues with the hold buttons when using it on a touch based device (read Android/Chrome). When pressing and holding a button to activate GPIO, I can only hold the button for 1 second, else the button will lock in a "mousedown" state until I press it again. I'm using my Pi to control powe...
by trouch
Thu Feb 28, 2013 11:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

I've also just tried it using a smartphone over wifi - found that changing direction and/or state of any GPIO pin does not stay changed. After less than a second buttons revert back to "IN" and "OFF". :? Maybe with Safari Mobile on iOS 6.0 ? There is an issue with it : https://code.google.com/p/web...
by trouch
Thu Feb 28, 2013 10:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

stanwoods wrote:Please could you tell me how to change the default password on the webIOPI login?
see https://code.google.com/p/webiopi/wiki/PASSWORD for instructions
you may have to fix missing execution flag if you installed from the PiStore :

Code: Select all

sudo chmod a+x /usr/bin/webiopi-passwd
by trouch
Tue Feb 26, 2013 4:07 pm
Forum: Français
Topic: Problème démarrage automatique Webiopi
Replies: 14
Views: 2103

Re: Problème démarrage automatique Webiopi

Je n'avais pas essayé en Ethernet car je suis sur un modèle A, donc sans port Ethernet ;-) Je viens donc de faire le test en branchant un adaptateur USB/RJ45 et là effectivement, ça fonctionne ! :D J'utilise le wifi car c'est plus pratique pour moi et mon RPI n'est pas à proximité de ma box. Ce bug...
by trouch
Tue Feb 26, 2013 3:17 pm
Forum: Français
Topic: Problème démarrage automatique Webiopi
Replies: 14
Views: 2103

Re: Problème démarrage automatique Webiopi

Est ce que tu peux essayer en ethernet ?
Tu as peut être affaire à ce bug : http://code.google.com/p/webiopi/issues/detail?id=26
En wifi, la connexion peut mettre un poil plus de temps à s'établir au démarrage, et si WebIOPi se lance avant que ta connexion soit établie, il se crash.
by trouch
Tue Feb 26, 2013 2:58 pm
Forum: Français
Topic: Problème démarrage automatique Webiopi
Replies: 14
Views: 2103

Re: Problème démarrage automatique Webiopi

WebIOPi 0.5.3 sur Raspbian Wheezy ?
Niveau connectivité Internet, tu as quoi pour ton Pi ?
by trouch
Tue Feb 26, 2013 2:43 pm
Forum: Français
Topic: Problème démarrage automatique Webiopi
Replies: 14
Views: 2103

Re: Problème démarrage automatique Webiopi

Donc le démarrage manuel de l'application ne pose pas de problème. Ce qui me pose donc problème, c'est le démarrage automatique au lancement du RPI. J'ai pourtant bien executé la ligne suivante : sudo update-rc.d webiopi defaults J'ai regardé au cas où dans le fichier /var/log/syslog et je ne trouv...
by trouch
Tue Feb 26, 2013 2:10 pm
Forum: Français
Topic: Problème démarrage automatique Webiopi
Replies: 14
Views: 2103

Re: Problème démarrage automatique Webiopi

Ca donne quoi quand tu le lances en premier plan ?

Code: Select all

sudo python -m webiopi
je suis francais, ne pas hésiter à poster des messages en francais sur le google group du projet, ça me changera de l'anglais ;)
by trouch
Mon Feb 18, 2013 8:45 pm
Forum: Français
Topic: Identifier les 2 capteurs DS18B20
Replies: 3
Views: 1655

Re: Identifier les 2 capteurs DS18B20

j'ai ajouté le support des capteurs de temperature 1-wire sur le trunk de WebIOPi et ca sera dispo dans la prochaine release. tu n'es pas obligé de faire un ls pour récupérer les slaves, tu as un fichier qui est directement remplis avec les slaves présents : pi@raspberrypi ~ $ cat /sys/bus/w1/device...
by trouch
Mon Feb 18, 2013 1:34 pm
Forum: Français
Topic: WebIOPi : Voulez vous une version française ?
Replies: 22
Views: 10001

Re: WebIOPi : Voulez vous une version française ?

Pour l'instant je suis encore dans la compréhension du fonctionnement d'une API tournant avec REST REST est une méthode/approche pour fournir des services web légers. En gros, on considère que tout est ressource, et on utilise au maximum la notion de chemin dans l'URI, couplé à l'utilisation de tou...
by trouch
Fri Feb 15, 2013 10:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Darra wrote:if i put whatever picture in jpg format in /home/pi/WebIOPi-0.5.3/carbon.jpg how should call for picture be?
body {background-image:url('????????????????????????');}
put carbon.jpg in the same forlder than your custom.html file
then url('carbon.jpg')
by trouch
Thu Feb 14, 2013 4:54 pm
Forum: Networking and servers
Topic: GPIO AND VIDEO STREAMING
Replies: 2
Views: 813

Re: GPIO AND VIDEO STREAMING

look on the february magpi issue.
an article is started about that, and second part will be in march issue.
by trouch
Thu Feb 14, 2013 4:52 pm
Forum: Français
Topic: ne plus lancer l'interface graphique
Replies: 1
Views: 664

Re: ne plus lancer l'interface graphique

de la meme maniere que pour l'activer...
sudo raspi-config
by trouch
Thu Feb 14, 2013 10:05 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Hi - I have installed the 0.5.3 version and can start and stop the program. However, when I go to a browser, I cannot log in. I have tried IE, Google Chrome and a KindleFire browser. If I correctly enter the default user and password (webiopi, raspberry) I get a "page not found" 404 error. If I del...
by trouch
Wed Feb 13, 2013 3:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

martin87 wrote:I need access to PCF8574 / i2c in scripts yet.

Code: Select all

from webiopi.devices.digital import PCF8574

p = PCF8574()
# or p = PCF8574(0x21) where 0x21 is the slave address

p.input(0) # returns channel 0
p.output(3, 1) # set channel 3 to HIGH.
by trouch
Wed Feb 13, 2013 3:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

I download release from trunk. I have PCF8574 and own custom script. How i work with PCF8574 device in this script? When new release upcoming? this is not documented yet and it depend on how you want to use it : full REST access, only in your scripts or both ? next release is for this month. please...
by trouch
Wed Feb 13, 2013 1:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

martin87 wrote:Hello. How I can send some instruction via I2C in WEBIOPI?
wait for upcoming release ;)
see http://code.google.com/p/webiopi/wiki/DEVICES
by trouch
Fri Feb 08, 2013 6:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

mneiran wrote:Notes from a newbie.
to change the user/paswrod open a terminal window ,
move to /home/pi/WebIOPi.5.0.3/python and then do
sudo python webiopy-password.py
and follow instructions
regards
simply, from any folder :
sudo webiopi-passwd

http://code.google.com/p/webiopi/wiki/PASSWORD
by trouch
Fri Feb 08, 2013 6:13 pm
Forum: Français
Topic: WebIOPi : Voulez vous une version française ?
Replies: 22
Views: 10001

Re: WebIOPi : Voulez vous une version française ?

Ok, je prends bonne note.
Pour l'instant la priorité c'est la prochaine version, avec un tas de truc cool :)
Quand elle sera sortie, je ferai une grosse update des docs, et j'en profiterai pour faire une VF.
by trouch
Sun Feb 03, 2013 12:04 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

stay tuned, upcoming release will have a lot of exciting features !
- even more easy to tune on the server side
- Serial, I2C, SPI, 1-Wire support
- Serial monitor web app

You can see the progress in the repository trunk on http://code.google.com/p/webiopi/wiki/CHANGELOG

Go to advanced search