background preloader

Raspberry Pi GPIO home automation

Raspberry Pi GPIO home automation
Related:  réalisationsraspberry

LittleBox | The DIY Raspberry Pi All-In-One Desktop PC by Gregory L Holloway The LittleBox is designed to be built at home, by anyone, and with the minimum of tools. Everything you need to turn your Raspberry Pi into a Desktop PC is included as part of the complete LittleBox kit. I am a huge fan of the Raspberry Pi. It has sparked a revolution in the computing world, and has inspired millions, including myself. The LittleBox is the culmination of 18 months of working with the Raspberry Pi. We have a Base-Station which is used to control and monitor our Proof-Of-Concept Vehicle, and I wanted everyone to be able to share in the experience. The 61 Laser-Cut parts are are produced from a single sheet of 3mm Birch plywood. The HDMI cable is hand-made here in the UK. The LittleBox design & prototyping has been documented on Instructables. It covers everything from the LittleBox's inception, development of the two prototypes, electrical testing, and stress testing. The link is Specification.

Raspberry Pi ON/OFF Power Controller, Power up Your Raspberry Pi with Latching Push-button Controlled MOSFET Switch It would be convenient to use a momentary contact push button switch to turn ON and turn OFF your Raspberry Pi (RPi). A press of a button should apply power to the micro USB header, and keep it ON while the Raspberry Pi initializes and starts its application programs. There should be several options for powering OFF the Raspberry Pi: The RPi should be able to turn itself OFF fully autonomously, under program control, automatically on an internal timer, or in response to a network signal. A soft power switch with this behavior can be implemented using a high-side latching MOSFET power switch. The schematic shows you two options1) for applying the switched 5V power to your Raspberry Pi. Whichever pins you choose for applying the 5V to the board, you should use the GPIO 4 signal on P1 pin 7 for feedback to the circuit. Using the Raspberry Pi GPIO 4 signal for both input and output The circuit uses a single Raspberry Pi input/output pin – the GPIO 4 signal.

Un graveur laser à commande numérique à base de Raspberry Pi J’ai contacté Daniel pour obtenir son accord afin de traduire son article. Il m’a répondu très rapidement que cela ne posait aucun problème : « Hi François, Sure! I definitely love to see the project translated to French and have more people get interested in it. Please go ahead and translate it, and fell free to let me know if you have any question. Comme il est intéressé par cette traduction, je vous propose de découvrir son projet qui est vraiment très intéressant. N’hésitez pas à vous rendre sur cette page qui donne tous les détails de la construction. J’ai récemment construit un mini graveur laser CNC (computer numerical control = à commande numérique) à l’aide de deux graveurs de DVD de récupération et moins de 10€ de pièces supplémentaires achetées sur eBay. Il y a eu beaucoup d’exemples de personnes utilisant un Arduino pour de la commande numérique. J’ai choisi une approche différente en utilisant un Raspberry Pi. soit une batterie déchargée immédiatement.

Tutorial: How to Set Up a Raspberry Pi Web Server People are doing a lot of cool things with the Raspberry Pi. One of the first things I thought to do was to see if I could make a Raspberry Pi web server. Being a web developer and overall geek I figured it might be kind of fun to do, and as I found out it’s really easy. Getting Started Setting up a Web Server on this device really isn’t much different from any other Linux machine, but there are a couple things you’ll want to do in order to get it working right. The first thing you want to do is get the Raspian Wheezy Image from here. The Raspberry Pi has a “memory_split” option that divides the memory between the CPU and GPU (Graphics). You may want to also enable the SSH server if that’s how you’re going to be accessing the device. Note: You can overclock this device, but I wouldn’t recommend it. After you’ve saved your settings reboot the device. Next we’re going to do a firmware upgrade, we need to install git: then download the firmware update and run it: Install Apache and PHP: Summary

HDMI AD Board (PCB800099) - China Hdmi Board,Av Board Product Description The driver board functions are as follows: 1. 1 channel vga signal input, 2-way av 1 road hdmi, 1-way reversing signal input 2. standard backlight 6pin interface external high pressure plate 3. driver board integrated lcd led backlight driver board road 4. only supports the screen supply to 3.3v lcd 5. standard key board interface, and support for dual-color led display 6. to support ttl signal output, at070tn92, at070tn90 at070tn93 at070tn94, at065tn14, at080tn52, at090tn12 t090tn10 ej080na05 universal 50pin ttl lcd interface 7. with the company number pcb800039 the lcd screen adapter plate support lcd ej070na01, ej080na04b-zj070na01 model universal 40pin score lcd screen, you can also support china 60pin lvds10 inch lcd 8. the driver board can increase the remote control function (through software implementation) 9. the driver board can support automatic detection signal switch machine function - this function is customized features

Raspberry Pi Shutdown Switch – Safely Turning off the Pi | 3cc Internet Posted on January 14, 2013 by 3cc in Hardware We use a model B rev 2.0 Raspberry Pi as one of our Samba and DLNA media servers, and normally turn it off through a Webmin control panel to ensure nothing untoward happens with any of the attached hard drives. This solution is less than ideal however, as it requires a second powered-on device and a couple of clicks to get to the shutdown page in the control panel. The Raspberry Pi forum has am excellent thread about a simple & safe shutdown button, from which I copied to produce my shutdown switch. All you need is to install the RPi.GPIO Python class on the Pi (use SSH to grab it, “wget unzip it; and install it, “sudo python setup.py install”; then remove the files to tidy it all up), and you can start accessing the pins via Python scripts. Just connect pin 1 to a momentary open switch, and the switch to a 1K and a 10K resistor. python /home/pi/bin/button/shutdown.py

UobboU Photo Arduino Raspberry Pi Home Server – Se connecter au Raspberry via VNC Vous êtes fâché avec SSH ? Marre d’avoir à brancher clavier et écran à votre framboise préférée ? Alors accéder à votre Raspberry via le service VNC ! De la même manière que Teamviewer, on va pouvoir, via un périphérique local ou même distant, se connecter à l’interface écran de notre Raspberry Pi. Pour cela, il nous faut installer un logiciel se nommant tightvnc, logiciel libre, et gratuit. sudo apt-get install tightvncserver Une fois le service installé, il nous reste à le lancer : vncserver :1 -geometry 1280x800 -depth 16 Alors, un peu d’explication s’impose : vncserver :1 permet de lancer le service sur le port 1, j’y reviendrai plus tard. -geometry 1280x800 permet de définir la résolution de sortie par défaut lors de la connexion distante. -depth 16 définit le ratio couleur. (16/24/32 bits) Sachez qu’il existe d’autres paramètres, moins important, et qu’ils ne sont pas obligatoire. un « vncserver :1″ suffit à lancer le service. Pour cela, rendez-vous dans le répertoire suivant : Name=tightVNC

Touchscreen on the Raspberry Pi | Mark's space dot com To accept input from a touchscreen we have to use the event interface of the Linux input system. We use the ioctl capabilities of the event interface, in addition to the normal read and write calls to get information from the touchscreen. This blog post explains how to use the touchscreen within your own programs using C as well as writing directly to the framebuffer. Images of my TFT from a previous post; Link to the code; The touch screen I have is a 3.2″ TFT from SainSmart. Linux Input System To accept input from a touchscreen we have to use the event interface of the Linux input system. To view the input devices on your system, use cat /proc/bus/input/devices Below is the output from my Raspberry Pi. The above output shows that the handler for my touchscreen is event0, or “/dev/input/event0″. An example ioctl is shown below, this gets the name of the device using EVIOCGNAME. The above features are listed in linux/input.h as; The Code

Adding 7inch display with touchscreen to Raspberry PI Hi! First thing I got in mind when seeing Raspberry PI was "car PC project". The targeted display was 7 inch with touchscreen. I have found a lot of displays on Ebay. I have got myself one for 85 dollars with free shipping(this; if it is not available any more you can search "reversing driver board hdmi" on ebay and you will find others). It took less than a month to receive it(in Romania). I have installed latest Raspbian image on a SD_Card and tried it on my Raspberry PI model B, but the touchpanel didn't show any input. First thing, I have run lsusb to see the touch controller type(on RaspberryPI): pi@raspberrypi ~ $ lsusbBus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Last device is the touch controller, from eGalax. Edit: If you don't want to build the kernel by yourself, you can download mine from here. Building a new kernel(in UBUNTU 12.10).Get kernel sources. wget -zxvf rpi-3.6.y.tar.gz Install toolchain. .

DIY SMD metal stencils – the definitive tutorial | LowPowerLab In previous posts (here and here) I described my efforts and research to develop a DIY method to make good quality SMD metal stencils at home. I have since experimented some more and I believe I found the best method (so far) to do this with very cheap materials, yielding very good results. Since transferring the toner to the soda can aluminum alloy was the most challenging part, I kept experimenting with different transfer mediums and other ways of possibly facilitating and perfecting the transfer. Finally the solution is here: consistent, repeatable, “perfect” toner transfer, every time. Step 0 – Be safeBe safe and wear a respirator mask, goggles, gloves and use ventilation! Step 1 – Prepare soda can aluminum Cut and unbend the aluminum on a flat surfaceHeat the aluminum with your iron for a minute. For toner transfer I tried many things and initially I recommended transparency film. Step 3 – Transfer the tonerI then use a stack of sticky notes to transfer the toner. Costs Conclusion

Noobs, un logiciel pour utiliser sa Raspberry Pi quand on est débutant Noobs est un pur produit du vocabulaire geek et un dérivé de l’argot Anglais pour New boy qui a donné Newbie puis Noob par contraction. C’est la remarque habituelle faite en ligne a quelqu’un qui ne connait pas trop son sujet. Parfois paternaliste, d’autre fois blessante, c’est désormais également le nom d’un logiciel destiné a aider les possesseurs de cartes Raspberry Pi. La carte Raspberry Pi a beaucoup d’avantages a commencer par être un vrai PC vendu à un prix défiant toute concurrence. Le second est son ouverture logicielle et sa grande bidouillabilité. Le dernier est la multitude de projets logiciels et materiel qu’elle a initié. Derrière le nom Noobs il y a un acronyme pour « New Out Of Box Software » et une idée assez simple que l’on a bien connu du temps des netbooks, quand il fallait installer sur le système des distributions linux sans exploiter de lecteur CD mais avec une clé-USB. Source : Liliputing.

Raspberry PI, Raspbian, XBMC and eGalax 7 inch touchscreen Hello! I have spent some time lately trying to find a solution to get my 7 inch eGalax touchscreen to work with Raspbian(Debian Wheezy) in XBMC 12 Frodo and finally got it working as I wanted. Raspberry PI model B: ~30$7 inch display with touchscreen for car rear view camera, from eBay(touchscreen is connected to one USB port): 80$HDMI male to HDMI male connector(from eBay): <2$4GB SDHC class 4 card12V(500mA) AC to DC adapter for powering the display5V(1A) microUSB AC to DC converter for powering the PIUSB keyboardEdit: Download the latest image from the top right corner of this blog(username: pi, password: a). Here is what you need to do in order to have a system with Raspberry PI, Raspbian OS and XBMC 12 Frodo stable with eGalax touchscreen working correctly(which means axes calibrated and click working with just one tap&release action): 1. 2. 3. 4. Here is how the calibration was done. In order to do this we need to do three steps(the third one is done in software):a. b. c. 5. Enjoy!

Related: