background preloader

Piloter des dispositifs sans fil

Électronique | Informatique Niveau: Avancé Jonathan Schemoul Montage avec la Leonardo Partie 1: Réception en 433 MHz Vous avez sans doute entendu parler ou vu des détecteurs de fumée, d'ouverture de porte, des télécommandes, des prises murales, etc. sans fil ? Que ce soit les modèles chers que vous trouvez en magasin ou les modèles chinois bon marché, la plupart, s'ils ne sont pas avancés, utilisent la bande de fréquence 433 MHz (n'essayez pas ceux en 315, ils sont illégaux en France). En ce qui concerne ces capteurs en 433 MHz, il se trouve qu'ils utilisent pour la plupart un protocole très simple, introduit par des circuits intégrés chinois à bas coût, les PT2262 côté émission et les PT2272 côté réception (d'autres plus exotiques comme les SC5262 / SC5272, HX2262 / HX2272, EV1527, RT1527, FP1527 ou encore HS1527 peuvent être trouvés et fonctionneront aussi). Regardons de plus près ce que nous avons à disposition : Montage détaillé Niveau détecteurs : Installation de la librairie RC Switch Related:  Projet de réalisationArduino

Chicoree index The idea I wanted to control and monitor parts of my house. So I thought about building a device that would: Control my Insteon devices Monitor some relay triggers (alarm system PGM, my sump pump, doors) generate wakeup calls control IR cameras generate sounds (alarms, welcome message, ...) I decided to get a Raspberry PI and make an expansion board to do all this. Raspberry PI preparation This is what needs to be done on the raspberry pi: Prepare a Linux image Allow ssh root login and configure network Enable sound card and install alsa-lib Enable serial port Configure a syslog server Configure timezone (make symbolic link /etc/localtime -> /usr/share/zoneinfo/Canada/Eastern) Install berkeley DB (5.3.21) Auto-start server in /etc/rc.local Install bind (DNS server) For this project I decided to use ArchLinux on the rPI. To enable sounds, I had to create the file /etc/modules-load.d/sound.conf and add a line that states: snd-bcm2835. CC=arm-unknown-linux-gnueabi-gcc . Development Chassis

Piloter vos récepteurs volets OTIO avec un Raspberry Pi Cet article est le premier d’une longue série sur la mise en place d’une centrale domotique pour piloter des périphériques de ma maison (volets roulants, détecteurs de mouvements, lumière, …). Je commencerais par quelques expérimentations autour de la technologie RF avec le Raspberry Pi ou l’Arduino puis par la mise en place d’une interface Web de contrôle. Mais ça, ce n’est pas pour demain Je possède des volets électriques Somfy à mon domicile. Du côté Hardware Pour ce premier tutorial, je vais vous présenter comment récupérer, à l’aide d’un récepteur RF, les codes des commandes haut/bas de la télécommande permettant respectivement d’ouvrir et fermer les volets roulants et comment les envoyer aux différents récepteurs à l’aide d’un transmetteur RF connecté à un Raspberry Pi. Le Raspberry Pi s’interface avec les modules RF émetteur/récepteur comme sur le schéma ci-dessous : Les deux modules sont alimentés par du 5v et sont reliés à la terre. Pins Raspberry Pi Pins Récepteur 433 Mhz 1.

Triggering a Camera’s Flash with Sound and Light Update: Check out my latest Camera Axe project for a much more robust device that handles this or my store where I sell the Camera Axe. For those just wanting to see the pretty pictures, click here. This article focuses on making the sensors used to trigger a camera’s flash using a microphone or a cheap laser pointer. Since I’ve already described how to do the actual firing of a camera’s flash here I won’t focus on that part of this project today. There are a lot of places on the web that describe how to trigger a flash with an electrical circuit, but I feel that using a microcontroller like Arduino offers big benefits. Now let’s talk about why we’re triggering the flash. Most SLR and DSLR cameras let you attach a cable to trigger the camera directly. When I’m using this flash trigger I work in a dim room and set my shutter speed to 10 seconds. Laser Sensor This first sensor uses a cheap laser pointer and a photo resister to detect the laser’s light. Here’s the circuit. Sound Sensor Software

Commande à distance d’une led avec un fichier xml (via le web) Bonjour tout le monde ! Aujourd’hui en faisant un peu de tri dans mon dossier « projet » j’ai (re)mis la main sur un morceau de code arduino qui risque d’en intéresser plus d’un En ce moment c’est limite impossible de rédiger des articles pour le blog (partiels, projet C++ à rendre sous peu, …). Mais je crois que là on peut appeler les juges du « Guinness World Records », le code arduino en question est resté caché dans mon dossier projet pendant 6 long mois … (bon ok, j’avoue au final ça m’arrange un peu, le code est fait, testé et tout bien commenté, j’ai juste à le publier) Le code était à l’origine codé pour une personne qui m’avait contacté par mail. Le principe : Le principe de fonctionnement du code est simple : – l’arduino se connecte à la box (par ethernet) en DHCP pour pouvoir accéder au web – tout les 10 secondes l’arduino télécharge un fichier xml depuis un serveur web – le fichier xml est analysé ligne par ligne – s’il y a une balise « action » l’arduino agit en conséquence

Arduino ATmega328 Hardcore Arduino ATmega328 - Hardcore Ok, you've completed your prototype using an Arduino Uno board, perhaps using a shield or a breadboard for any additional components, but now you want to finalise your design and construct it using your own pcb. Well, that is fairly straightforward, as we have made a complete kit of essential parts available for the ATMega328 micro (click here). The kit includes the following items (depending on which bootloader chip 16MHz or 8MHz) ATMega328 complete with Arduino Bootloader already installed 8 or 16MHz Crystal and capacitors 3.3V or 5V Voltage Regulator and 47uF capacitor PCB mount reset switch and 10K pullup resistor 0.1uF capacitor for self-reset LED and resistor You can program the processor directly from the Arduino IDE. Just connect the ATMega328 RX (pin 2) to TX on the breakout board, the ATMega328 TX (pin 3) to RX on the breakout board, connect the 0V and you are connected Programming the ATmega328

Yoctopuce Send & Receive 433MHz Signals For Home Automation Hi, i´ve decided to work on some home automation project with raspberry pi, i want to controll all kind of 433MHz Devices like power plugs. I´ve got no expirience in working with 433MHz senders or receivers and RPi cabling so i decided to do a simple test setup before i start with the real project. I´ll document the test setup here and later the real automation project. Test SetupSimple 433MHz send and receive with the RPi Hardware: - RPi Rev. Wiring: RPi GPIO PINS (Revision 2): GPIO and PIN descriptions here Breadboard setup Please note that my breakout P0 is PIN 11 on Raspberry and P1 is PIN12 Connect sender Module FS1000A: ADATA: Pin 11 which is BCM GPIO 17 and WiringPi Pin 0VCC: +3,3V on my breakout (without Breakout use Pin 1 on RPi)GND: GND on my breakout (without Breakout use Pin 6 on RPi) Software Setup & Test: 0. Code: Select all sudo apt-get install git-coregit clone wiringPi. 2. 3. sudo nano /etc/pilight/hardware.json 5. sudo pilight-daemon 6. 7. 8.

UobboU Photo Arduino Arduino 433Mhz Wireless Communication Rc Switch: 8 Steps AdWords We use AdWords to deploy digital advertising on sites supported by AdWords. Ads are based on both AdWords data and behavioral data that we collect while you’re on our sites. The data we collect may include pages you’ve visited, trials you’ve initiated, videos you’ve played, purchases you’ve made, and your IP address or device ID. This information may be combined with data that AdWords has collected from you. We use the data that we provide to AdWords to better customize your digital advertising experience and present you with more relevant ads. LiveRamp We use LiveRamp to deploy digital advertising on sites supported by LiveRamp. Doubleclick We use Doubleclick to deploy digital advertising on sites supported by Doubleclick. RocketFuel We use RocketFuel to deploy digital advertising on sites supported by RocketFuel. Twitter We use Twitter to deploy digital advertising on sites supported by Twitter. Facebook We use Facebook to deploy digital advertising on sites supported by Facebook.

Related: