background preloader

Raspberry Pi avec Node.js et Arduino - Doc’ Alex

http://alexandre.alapetite.fr/doc-alex/raspberrypi-nodejs-arduino/

Related:  Raspberry Pi - Projects 1Domotique - Articlesraspberry / arduino

GPS tracking August 03, 2012 at 10:26 PM I thought it might be fun to turn my Raspberry Pi into a vehicle tracker. The nearest I got to building a truly bespoke tracker was in 2004 using a Siemens TC45 & later TC65, where I wrote the firmware. There wasn't really anything on the market then to do what we wanted, so we built our own, and I took care of the software side. Sure there were trackers on the market, but nothing flexible enough to meet our needs for a given application. Host Your Own Website On Your Raspberry Pi Need to run a website but can’t afford the hosting costs? One way around this is with the Raspberry Pi, which is more than capable of running basic web server software. Best of all, setting it up is simple. Code and Life – Arduino and Raspberry Pi Serial Communication Today’s the last day of my summer holiday, and I had some free time on my hands. So I decided to see if I could get my Arduino Uno and Raspberry Pi to talk to each other. It turned out the task was even easier than my previous Pi to RS-232 project – all that was needed between the two devices was some jumper wire and two 1 kOhm resistors to form a voltage divider between Arduino TX pin and Pi RX pin – Arduino understands Pi’s 3.3V signal levels just fine so Pi TX to Arduino RX needed no voltage shifting at all. IMPORTANT UPDATE!

Dr. Monk's DIY Electronics Blog: Raspberry Pi and Arduino Note. There is now a followup to this post here. The Raspberry Pi is creating quite a storm of interest. I have just got mine and one of the first things that I wanted to try was to get it talking to an Arduino over USB using Python. Groupe: Raspberry Pi Raspberry Pi 7” Touchscreen Display The Touchscreen Display gives users the ability to create all-in-one, integrated projects such as tablets, infotainment systems and embedded projects. Buy Now Learn More Install gphoto2 on your raspberry Via the free software gphoto2 it is possible to connect a digital camera (Canon/Nikon/Olympus, full compatibility list) to your Raspberry Pi in order to remotely take pictures and automatically download them to the Raspberry's memory. Easy case You can install gphoto2 very easily via the command line: sudo apt-get install gphoto2

xPL Monkey - Home Automation - xPLHub My involvement with xPL has come to an end. Automation has moved on considerably over the past few years, and it is now possible to buy a stand-alone controller off the shelf for a reasonable price, without having to spend hours writing your own code. This website is being maintained as a record of my xPL development work up until 2011. I have released the full source code of all my xPL projects into the public domain. You can download the archive from here.

Binerry, Raspberry Pi with I2C-Arduino-Slave Since Raspberry Pi has only about 8 GPIO’s (or up to 17 if you reconfigure UART, SPI and I2C as GPIO) or for some other reasons, it may be helpful to combine Raspberry Pi with another μC or PIC (or even a ready-to-use μC-/PIC-Board like Arduino, Netduino or Pinguino) e.g. to get more I/O’s or just to seperate two different application areas. Such a combination is surely easy to setup via serial or usb - but at least if serial/usb is already in use or if you are thinking about using more than one further μC or PIC its getting a bit clumsy. Much more flexible and cleaner will be a solution via I2C - in this case you can easily address up to 128 slaves. So why not combine Raspberry Pi with for example Arduino? Certainly a connection via serial of both devices sounds much easier but really is not. An i2c-slave configuration on Arduino is realized within a few minutes via Arduino’s Wire-Library.

Connecting the Raspberry Pi with an Arduino using the UART The use case of the GPIO pins on the Raspberry Pi are rather limited and since I have an Arduino Mega 2560 lying around I can easily connect the two. In the next couple of weeks I’ll explain my process of connecting the Arduino with the Raspberry Pi and creating some sort of Library so the Arduino can be controlled from a web browser using a Raspberry Pi. Connection options for and Arduino to Raspberry Pi connection There are a couple of options for connecting an Arduino with a Raspberry Pi. HDHomeRun Having an HDHomeRun box on your network allows you to watch Live TV directly from XBMC. 1 What is HDHomeRun? HDHomeRun by SiliconDust is a stand-alone networked TV/HDTV tuner box available in two models, one ATSC (American market) model and one DVB-T/DVB-C model (Europe/Australia/New Zealand/Taiwan). You connect the TV antenna cable to the HDHomeRun box and it will scan and tune all channels and, via its built-in network port, the HDHomeRun box will share and stream the channels over a local network using supported clients, such as XBMC.

DIY WiFi Raspberry Pi Touchscreen Camera This project explores the Adafruit PiTFT touchscreen and the Raspberry Pi camera board to create a simple point-and-shoot digital camera. One can optionally use WiFi and Dropbox (a cloud file storage and synchronization service) to automatically transfer photos to another computer for editing. This isn’t likely to replace your digital camera (or even phone-cam) anytime soon…it’s a simplistic learning exercise and not a polished consumer item…but as the code is open source, you or others might customize it into something your regular camera can’t do. Raspberry Pi computer, either the Model B or Model AWith Ethernet and two USB ports, the Model B is usually easier to set up. The Model A saves a few bucks and uses less power…but with only one USB port and no Ethernet, it requires some added skill and/or shenanigans to get all the software fully loaded.PiTFT Mini Kit — TFT+Touchscreen for Raspberry PiRaspberry Pi Camera Board.

Related:  ArduinoRaspberry Pi