Go to advanced search

by danjperron
Wed Mar 27, 2013 4:47 pm
Forum: Français
Topic: VPN pas si fonctionnel...
Replies: 11
Views: 1735

Re: VPN pas si fonctionnel...

Salut, pour enlever une application sur debian si tu as utilisé apt-get install, utilise apt-get remove si tu as utilisé dpkg -i utilise dpkg -r Quelle application vpn client utilises-tu sur ton mac? Moi je me sers de tunnelblick. est-ce que ton fichier client inclut le "routage" pour les adresses i...
by danjperron
Wed Mar 27, 2013 12:34 pm
Forum: General discussion
Topic: How to brake motor with wiringpi?
Replies: 29
Views: 3530

Re: How to brake motor with wiringpi?

After a good night sleep, I found a better way for your controller without any modification How about reverse motion a few millisecond before full stop. ===== new stop function go in reverse wait a few millisecond change PWM to be very low. (Normally the robot won't move a this setting) wait a few m...
by danjperron
Wed Mar 27, 2013 3:45 am
Forum: Français
Topic: VPN pas si fonctionnel...
Replies: 11
Views: 1735

Re: VPN pas si fonctionnel...

Salut , Pour l'accès à l'extérieur, as-tu un adresse IP fixe sur ton router? Si tu as un IP dynamique utilises-tu un service comme dyndns.org pour accéder à ton router par un nom de domaine pour qu'il redirige tes requêtes de VPN au RPi? Et ton router est-il configuré pour faire un "forward" du port...
by danjperron
Wed Mar 27, 2013 2:40 am
Forum: General discussion
Topic: How to brake motor with wiringpi?
Replies: 29
Views: 3530

Re: How to brake motor with wiringpi?

The only difference between putting all at 1 instead of zero will be the voltage saturation of the transistor inside the L298D. On V+(H) side the H bridge transistor saturation for VCE is between 1.35 to 1.7 V at 1A and on the 0V(L) side the VCE is 1.2 to 1.6V. So you will loose 0.1V drop. Thévenin ...
by danjperron
Wed Mar 27, 2013 1:56 am
Forum: General discussion
Topic: How to brake motor with wiringpi?
Replies: 29
Views: 3530

Re: How to brake motor with wiringpi?

Well this is the trick ! Putting all signal to high will be like putting all the wires to V+ on the motors. All the wires at V+ is the same than putting all the wire at 0V. ( Motors point of view) What it will do is to kill all the back emf of the motor. Trust me this is how you make electrical brak...
by danjperron
Wed Mar 27, 2013 12:06 am
Forum: General discussion
Topic: How to brake motor with wiringpi?
Replies: 29
Views: 3530

Re: How to brake motor with wiringpi?

If you decide to modify you motor controller board, you could add a break signal by rerouting what is going to the 74HC00. I draw a small schematic with the new break signal. A low level to the break signal will stop , an electric brake, the motors. http://dl.dropbox.com/u/48891705/l298DStopAdded.pn...
by danjperron
Tue Mar 26, 2013 11:30 pm
Forum: General discussion
Topic: Time lapse with a Webcam
Replies: 10
Views: 13029

Re: Time lapse with a Webcam

I'm using time lapse with mjpeg_streamer. You could check the post, I put all the code there. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=30&t=8659&p=290591#p290591 Every minute the RPi captures an image from wget://localhost. Then the image is transfer via ftp to a network disk. At midnight t...
by danjperron
Tue Mar 26, 2013 10:53 pm
Forum: General discussion
Topic: How to brake motor with wiringpi?
Replies: 29
Views: 3530

Re: How to brake motor with wiringpi?

If you look at the schematic of your controller board, you will see that it's using 2 nand gates to convert the signal to forward or reverse, no stop. The only way you could use the break will be to bypass the nand gate 74hc00 and go directly at the L298 pins. If you are good with a solder iron it w...
by danjperron
Tue Mar 26, 2013 12:06 am
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

Salut Torna, Bravo, j'aime ton project. Il est semblable au mien sauf que je n'ai pas de problème d'alimentation. Construire un instrument qui allume et éteint souvent cause quelque fois une problématique un peut différente. Il faut s'assurer que lors de la mise hors tension tout est "unmount". le "...
by danjperron
Mon Mar 25, 2013 5:00 pm
Forum: General discussion
Topic: RaspiRobot
Replies: 6
Views: 3333

Re: RaspiRobot

For my small RPi robot I use Batteries for the motors and an battery pack to charge cell phone on the Rpi. This way I do not have problem with voltage loss when the motors draw too much powers. Ultimately I will swap the current "sound max battery pack" with one that could provides 12V and make my o...
by danjperron
Mon Mar 25, 2013 12:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Linux/C: Set baudrate before opening serial/UART; Servo
Replies: 13
Views: 20023

Re: Linux/C: Set baudrate before opening serial/UART; Servo

This is a video of the previous post robot car http://dl.dropbox.com/u/48891705/RobotCar.mpg I use 3 servos connected to the pololu serial controller. In the rc.local I reset the servo controller and send command to an unknow servo to set the serial baud rate. After that I just use a python script t...
by danjperron
Sat Mar 23, 2013 12:26 am
Forum: Beginners
Topic: One to rule them all (in a good way)
Replies: 10
Views: 2830

Re: One to rule them all (in a good way)

Well because it is possible and less expensive. this is some thought, 1- How many power adapter you want to plug? Do you want only one adapter? 2- You are building an embedded device. The power is not from a normal wall mount adapter. A robot car for example. You will need to create your own power a...
by danjperron
Thu Mar 21, 2013 1:27 pm
Forum: Beginners
Topic: One to rule them all (in a good way)
Replies: 10
Views: 2830

Re: One to rule them all (in a good way)

Hi Hagiz, I use power adapter 5V 2A, The hub and the RPi are power directly through the power adapter. The Hub power is not from the RPi but from the power adapter. In the picture is maybe confusing. The Rpi power cable is also a red and black wire. I just solder the wire directly to a micro usb con...
by danjperron
Thu Mar 21, 2013 11:34 am
Forum: General programming discussion
Topic: Programming C on the Raspberry Pi
Replies: 4
Views: 2134

Re: Programming C on the Raspberry Pi

All depends of the size of the program and compilation speed.

A very big program will be very very slow to compile. (Like Kernel).

Also you could use some nice GUI interface. ( I know that somes are available on the RPi also).

Daniel
by danjperron
Thu Mar 21, 2013 2:46 am
Forum: General programming discussion
Topic: Programming C on the Raspberry Pi
Replies: 4
Views: 2134

Re: Programming C on the Raspberry Pi

I'm using the latest debian on my mac using virtual box. You could do the same thing with Microsoft windows professional , by creating a virtual PC. You could also use a full linux distribution . Create a bootable partition. Or simply use cygwin ! For the cross compiler just follow one of these web ...
by danjperron
Wed Mar 20, 2013 4:54 pm
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

Si vous voulez ajouter du texte sur votre image en time lapse. Vous pouvez utiliser imagemagick pour l'incruster. Voici mon script python modifié, qui capture une image, dont j'ai ajouté l'heure et l'information des capteurs de température. L'information vient d'un autre script pyhton pour la généra...
by danjperron
Mon Mar 18, 2013 5:29 pm
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

Pour l'instant la caméra n'a pas de problème d'humidité. Il y a peut être deux raisons à cela. La température, depuis l'installation, n'a jamais été au dessus du 15 Celsius . Plutôt (-10 C). Aussi la caméra est dans une boite en pvc avec une vitre d'acrylique. (voir la photo d'un post antérieur). Mê...
by danjperron
Mon Mar 18, 2013 3:34 am
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

Accumuler 10 images n'a pas permis de voir plus d'étoile. Mais je suis trop près d'une grande ville , Montréal en autre, et j'ai beaucoup de lumières parasites. Et en plus j'ai deux gros arbres qui cachent la vue du ciel même s'ils n'ont pas de feuilles. Voici l'image composée de 10 successions de p...
by danjperron
Mon Mar 18, 2013 1:16 am
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

et bien même avec le gain et le temps d'intégration au maximum , je ne vois que la lune et deux lueurs autour. Je vais vérifier quelles sont les planètes proche de la lune aujourd'hui mais ma caméra est présentement derrière une vitre en plexiglass qui diffuse un peut la lumière . J'ai essayé d'ajus...
by danjperron
Sun Mar 17, 2013 7:14 pm
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

A propos de regarder les étoiles avec cette caméra? Je ne suis pas vraiment certain que cette caméra va remplir le mandat. Je vais vérifier cette nuit si je peux voir le ciel. Je vais changer le sample rate au minimum, mettre le gain et le temps d'intégration au maximum. Espérons que les nuages ne s...
by danjperron
Sun Mar 17, 2013 6:56 pm
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

oui c'est une C-920 . C'est un typo sur le post en anglais. voici une image des boîtes électroniques que j'utilise. http://dl.dropbox.com/u/48891705/DSC00957.JPG Je n'ai eu qu'un arrêt non volontaire et je pense que la caméra a gelé . La température extérieure était de -25 celsius cette nuit la. Mai...
by danjperron
Sun Mar 17, 2013 3:06 am
Forum: Français
Topic: Raspberry Pi - Time-Lapse
Replies: 25
Views: 4969

Re: Raspberry Pi - Time-Lapse

Salut Torna, J'utilise un raspberry Pi comme thermostat pour chauffer mon étang et J'ai installé une webcam logitech c-920 avec serveur mjpg-streamer en 1080P. Pour créer le time lapse j'utilise wget sur localhost pour capturer une image à toute les minutes. Et je transfère en ftp sur un disque rése...
by danjperron
Sat Mar 16, 2013 4:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Invert GPIO RxD pin (solved)
Replies: 26
Views: 14707

Re: Invert GPIO RxD pin (solved)

I.m.o. Using the internal serial port should be easier! GPIO 14 & 15 /dev/ttyAMA0 and you could use directly the schematic I give you or use some small adapter on the market like SparFun "RS232 Shifter SMD PRT-00449" if building electronic circuit is too scary. One other think also . Are you certain...
by danjperron
Sat Mar 16, 2013 12:40 am
Forum: HATs and other add-ons
Topic: Raspberry Pi Battery Power Module
Replies: 14
Views: 9075

Re: Raspberry Pi Battery Power Module

Interresting, I'm using a I.Sound power max for my small Rpi robot. But i need 12 Volts to drive the wheel. Presently I'm using AA batteries to drive the motor. But I was thing to open the Isound power pack and wire the battery directly . Since the power pack has leds to display the power left i was...
by danjperron
Sat Mar 16, 2013 12:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Invert GPIO RxD pin (solved)
Replies: 26
Views: 14707

Re: Invert GPIO RxD pin (solved)

The simplest thing to do is to use a transistor or a mosfet to invert the signal. It will also protect the RPi. This is a small schematic to implement a transistor. The diode will protect the inverse voltage. Since you using the transistor in switch mode you could use the same resistor value for bot...

Go to advanced search