Go to advanced search

by fdion
Thu Nov 29, 2012 5:49 pm
Forum: Français
Topic: Utilisation d'un HUB USB
Replies: 12
Views: 6905

Re: Utilisation d'un HUB USB

Quels sont tes périphériques USB? Pour l'ordre, c'est une question de puissance surement. Le hub, il a une alimentation de combien d’ampères?

François
by fdion
Thu Nov 29, 2012 12:26 pm
Forum: Français
Topic: Samba
Replies: 20
Views: 3249

Re: Samba

Agaste wrote:Bonjour,

J'ai un soucis pour accéder à mon RPi avec mon PC windows via Samba.
Si c'est seulement pour transférer des fichiers, il y a une solution bien plus simple qui ne va pas utiliser de mémoire supplémentaire, car cela fonctionne grâce a ssh:
Winscp

François
by fdion
Thu Nov 29, 2012 3:07 am
Forum: Español
Topic: Expansiones para raspberry pi
Replies: 2
Views: 2066

Re: Expansiones para raspberry pi

Hablas de los conectores P1 y JTAG? o de los conectores ZIF? Los ZIF: DSI = Display Serial Interface (conexión para LCD), CSI = Camera Serial Interface (conexión para cámara) El JTAG: por hacer la programación del chip Ethernet/USB conector P1: los GPIO (General Purpose Input Output / entradas y sal...
by fdion
Thu Nov 29, 2012 2:40 am
Forum: Python
Topic: Access Web DB
Replies: 6
Views: 3789

Re: Access Web DB

Hello, I'm looking for a way to send and get data from a Google App Inventor web database that I have set up. I can send and receive data from it on my Android phone using an app I have made Since you already communicate with it, why not use the same technique? I'm assuming you are probably using a...
by fdion
Thu Nov 29, 2012 2:29 am
Forum: Français
Topic: Tutoriels Python
Replies: 3
Views: 4435

Tutoriels Python

Alors, dans un fil de message, j'ai mentionné que j'allais commencer une serie de tutoriels sur Python. Background: http://raspberry-python.blogspot.com/2012/11/python-de-debutant-expert.html et le premier tutoriel: http://raspberry-python.blogspot.com/2012/11/python-sur-raspberrypi-01.html Cela com...
by fdion
Thu Nov 29, 2012 1:59 am
Forum: Français
Topic: minecraft et python
Replies: 3
Views: 973

Re: minecraft et python

J'imagine que ca va etre tres populaire dans le domaine de l'education.
by fdion
Wed Nov 28, 2012 4:50 pm
Forum: User groups and events
Topic: PyHack Workshop #02
Replies: 0
Views: 539

PyHack Workshop #02

On December 8th 2012, PYPTUG is presenting PyHack Workshop #02, Get Your Motor Runnin':

http://www.pyptug.org/2012/11/pyhack-wo ... unnin.html

We will be controlling regular dc motors, geared motors and stepper motors with a Raspberry Pi, using Python.

François
by fdion
Tue Nov 27, 2012 10:41 pm
Forum: Python
Topic: Run python script from HTML button on web page
Replies: 13
Views: 77743

Re: Run python script from HTML button on web page

Hi all, I've got what to me sounds like quite a simple ask, but I can't for the life in me get it to actually work. I've written a program in python that uses OpenCV to detect how many people are looking at my webcam and prints: 'Number of faces seen: N' 'Position of face1: xN1, yN2' 'Position of f...
by fdion
Tue Nov 27, 2012 9:03 pm
Forum: Français
Topic: minecraft et python
Replies: 3
Views: 973

minecraft et python

Alors, Vous en pensez quoi de cette édition raspberry pi de minecraft qui va être disponible avant la fin de l’année? J'aime bien qu'il y a un module python minecraft: http://raspberry-python.blogspot.com/2012/11/minecraft-python-raspberry-pi.html C'est d'une simplicité déroutante (quoique normale d...
by fdion
Sun Nov 25, 2012 8:58 pm
Forum: Français
Topic: Ajouter une led Blue lorsque le Raspberry est démarrer
Replies: 2
Views: 958

Re: Ajouter une led Blue lorsque le Raspberry est démarrer

Ta question, c'est sur le software, le hardware ou...?
by fdion
Sun Nov 25, 2012 8:56 pm
Forum: Français
Topic: GPIO-Message d'erreur
Replies: 12
Views: 6022

Re: GPIO-Message d'erreur

Le lien pour les tutoriels sera ici: (je vais ajouter les liens de chaque tutoriels a cet article, donc faire un bookmark:
http://raspberry-python.blogspot.com/20 ... xpert.html

François
by fdion
Thu Nov 22, 2012 2:19 pm
Forum: Français
Topic: GPIO-Message d'erreur
Replies: 12
Views: 6022

Re: GPIO-Message d'erreur

J’étais sans accès a un Pi quand j'ai écrit le script, et pas le temps de faire un accès ssh par téléphonie 3G a un raspberry pi pour vérifier. Le problème c'est que le code original de Adafruit importe Rpi.GPIO comme GPIO: import RPi.GPIO as GPIO Mais moi j'utilise gpio plutôt que GPIO comme synony...
by fdion
Wed Nov 21, 2012 6:30 pm
Forum: Français
Topic: GPIO-Message d'erreur
Replies: 12
Views: 6022

Re: GPIO-Message d'erreur

Je vois que le site que tu indique, c'est une traduction de cet article de Adafruit: http://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/overview Ce sont des programmeurs C, et on le "feel" a travers le code et le formatage... (je fait du C aussi depuis t...
by fdion
Wed Nov 21, 2012 5:03 pm
Forum: Français
Topic: GPIO-Message d'erreur
Replies: 12
Views: 6022

Re: GPIO-Message d'erreur

J'ai ajouté un point d'ancrage directement a la section ou quiz4.py est situé:

http://raspberry-python.blogspot.com/20 ... html#quiz4
by fdion
Wed Nov 21, 2012 4:45 pm
Forum: Français
Topic: GPIO-Message d'erreur
Replies: 12
Views: 6022

Re: GPIO-Message d'erreur

Il faut intercepter le CTRL-C par l'entremise de l'exception KeyboardInterrupt: if __name__ == "__main__": try: main() except KeyboardInterrupt: gpio.cleanup() La fonction main() contiendra notre boucle principale. Elle sera appelée si on exécute le script (c'est cette condition if __name__ ...), ma...
by fdion
Wed Nov 21, 2012 3:24 am
Forum: Python
Topic: More fibonacci
Replies: 0
Views: 464

More fibonacci

This time in a visual format, using pycairo to generate PNGs.

Image

But there is a way more interesting rendition in the article:
http://raspberry-python.blogspot.com/20 ... isual.html

François
by fdion
Tue Nov 20, 2012 4:32 pm
Forum: Python
Topic: make your python talk
Replies: 8
Views: 9953

Re: make your python talk

@fdion: `os.system()` has a bag full of problems. For instance it starts a shell and the command / argument you are giving is interpreted by that shell. And it is something that, if I had doubts about a Fibonacci series returning anything but numbers (let's say it could potentially return something...
by fdion
Tue Nov 20, 2012 2:04 am
Forum: Python
Topic: make your python talk
Replies: 8
Views: 9953

Re: make your python talk

And here is one solution. Although the espeak python module is not working correctly on the RPi, we work around that using the os module:

http://raspberry-python.blogspot.com/20 ... speak.html
by fdion
Tue Nov 20, 2012 2:01 am
Forum: Français
Topic: On cuisine la framboise
Replies: 2
Views: 1206

Re: On cuisine la framboise

by fdion
Sun Nov 18, 2012 1:30 pm
Forum: Português
Topic: Cabo GPIO
Replies: 1
Views: 1081

Cabo GPIO

Eu coloquei instruções e fotos sobre como fazer um cabo GPIO e como testá-lo.

No meu blog: http://raspberry-python.blogspot.com/20 ... -gpio.html

Ela começa com um cabo IDE para um disco rígido.

François
by fdion
Sun Nov 18, 2012 1:20 pm
Forum: Español
Topic: PFC, Controll Waste treatment with Raspberry-Pi
Replies: 4
Views: 1330

Re: PFC, Controll Waste treatment with Raspberry-Pi

Hay bitbucket.org también, que permite compartir proyectos, y también hacer proyectos personales, sin pagar nada. github cobra $7-$20 a cada mes según la cantidad de proyectos personales. Python +1 Ejemplo: import requests r = requests.get('https://sitioseguro.com', auth=('user', 'pass')) Ver: http:...
by fdion
Fri Nov 16, 2012 8:30 pm
Forum: Français
Topic: Lancer une page web au démarrage du RPI?
Replies: 5
Views: 3817

Re: Lancer une page web au démarrage du RPI?

C'est possible de lancer l'interface graphique sans mot de passe, elle a toujours démarrer comme ça pour moi. Oui, quand on choisit "démarrage avec bureau" plutôt que démarrage avec console, non seulement lightdm démarre, mais cela cause un auto login de l'usager pi. C'est dans cette partie du code...
by fdion
Fri Nov 16, 2012 8:23 pm
Forum: Python
Topic: make your python talk
Replies: 8
Views: 9953

Re: make your python talk

Just to clarify, I'm not looking myself for a solution. It is part of the regular "quiz" and "challenge", "learning something new" that I offer my readers. It is a suggestion of something to figure out to expand Python skills.
by fdion
Fri Nov 16, 2012 4:33 pm
Forum: Python
Topic: make your python talk
Replies: 8
Views: 9953

make your python talk

That's the current "challenge" I posted on my blog, make a program to speak the Fibonacci numbers: http://raspberry-python.blogspot.com/2012/11/fibonacci.html There are several ways to skin that cat. Alternatively, if you are more the visual type, come up with the code to visualize the Fibonacci seq...
by fdion
Fri Nov 16, 2012 4:29 pm
Forum: Python
Topic: Upgrading Python
Replies: 10
Views: 3128

Re: Upgrading Python

The OS itself usually rely on a python 2.x series for some of its functionality. Some actually have 2.4... But from 2.6 onward (2.6.x or 2.7.x) it is pretty much equivalent. Python 2.7 does introduce a few things to help transition to 3.x and some import from future of functionality from 3.x. Also h...

Go to advanced search