» Arduino sketches on RPi JeeLabs. In AVR, Linux, Software on Jan 17, 2013 at 00:01 There’s an arduino-mk package which makes it simple to build and upload sketches on a Raspberry Pi. Here’s how to set it up and use it with a JeeLink, for example: Install the package: sudo apt-get install arduino-mk That gets all the required software and files, but it needs a tiny bit of setup. First, create the library area with a demo sketch in it: mkdir ~/sketchbook cd ~/sketchbook ln -s /usr/share/arduino/Arduino.mk mkdir blink cd blink Then create two files – the blink.ino sketch for a JeeLink or JeeNode SMD / USB: // Blink - adapted for a JeeNode / JeeLink void setup() { pinMode(9, OUTPUT); } void loop() { digitalWrite(9, LOW); delay(1000); digitalWrite(9, HIGH); delay(1000); } … and a Makefile which ties it all together: BOARD_TAG = uno ARDUINO_PORT = /dev/ttyUSB0 ARDUINO_LIBS = ARDUINO_DIR = /usr/share/arduino include ..
(that Arduino.mk file in the sketchbook/ dir is well-commented and worth a read) That’s it. Raspberry Pi How to: Learning Linux Commands. So you have a Raspberry Pi but you’re not a Linux expert? Have no fear it’s not as hard as you might think. You can do tons of stuff on the Raspberry Pi without ever using the Linux prompt, but if you do take the time to learn it you’ll open a whole world of power. In this article I’ll attempt to give you a crash course in the Linux prompt on the Raspberry Pi. What you’ll need For this tutorial I’m going to be using the Raspian image available here. This is a Raspberry Pi specific version of Debian and arguably the most robust and commonly used at this time. Since it’s based off Debian it’s more of a “pure Linux” type of environment anyway. For the tutorials, you’ll either need to SSH into your Raspberry Pi or use the LXTerminal found here: Once you’re there you’ll be the command prompt or Linux shell.
Instead of screenshots of everything I will be just posting code, where you see something like this: $ (Some commands here) This is what I’ll ask you to type at the prompt. Who this is for pwd ls. Distributed Network Data If you want to create a network of multi-sensor Arduino modules that share information, this book delivers. The authors' extensive "hands on" experience produces a practical recipe for success. Beginners through intermediate users will appreciate the clarity of steps building from parts to a working network of sensor modules. The authors break down this task into three major chunks: Part 1 - Building a multiple sensor Arduino module: The book's first six chapters walk a reader through setting up multiple sensors (temperature/humidity, motion, sound) with an Arduino.
Chapter by chapter, the reader learns about hardware, adding a sensor to work with an Arduino, how to add multiple sensors, wiring up a breadboard, using Fritzing, and soldering a prototype multi-sensor module. Part 2 - Creating a network of sensor modules: In this part, the authors dive into the details of using XBee wireless controllers. Overall, the authors deliver a technically solid book. pIO - Raspberry Pi microSD Card Adaptor. Jose The announced feature "Fits perfectly in the ModMyPi Raspberry Pi Case" is actually not exact, since the adaptor prevents the Pi Board to correctly sit on the plastic pins of the case base. The board swings laterally, since it rests on the SD adaptor lower part. Braian Its seems a little bit too expensive to me. Maxime This adapter is made of solid components, firmly soldered, and works great.
Jonas Great adapter. Daniel. My Digital Life: My SenseBoard Kit : Kits. <div id="productImageCaption"><a href=" target="PopupImage"> view larger image </a></div> Product Details The SenseBoard is a powerful, flexible and yet simple-to-use hardware kit that can be used as the heart of a thousand different projects. Through the SenseBoard, you will be experimenting with its temperature, motion and light sensors. It has been designed to be a fun introduction to computing and basic programming skills.
It works with Sense, a drag-and-drop programming environment that will allow you to develop rich multimedia programmes within minutes. CONTENTS:Sensors & Infrared LEDStepper MotorBase ClipsPower BaseCablesSenseBoardBase Board The SenseBoard works with all types of computers, and with Mac, Linux and Windows operating systems See See for help with the installation of Sense. Py/pyext - Python scripting objects. RPi as guitar effects processor : Installing and configuring Pd | Guitar Extended. This post aims at explaining how to install and configure Pure Data on the Raspberry Pi in order to turn your RPi in a real-time multi-effects. I have tried to make it understandable to people who aren’t use to Linux and the command line. The fact that Pd can run with such a low latency (it can go below 10 ms) with an external soundcard is very new, and is the results of recent improvements in the Raspbian distribution. A lot of people have been trying to achieve this in the Pd community over the past few months, and this recent success was great news for at least a few of us !
Setting up your Raspberry Pi The first thing you need to do is prepare a SD card with the latest Raspbian distro. You can download the image here, and follow the instructions on how to write it to a SD card here. You’ll need a 4GB SD (or bigger, though it is not necessary for this application), and it has to be Class 6 at least. with a blinking underscore. . Installing Pure Data To install Pd, type : Configuring Pd. LED Painter. Building on the success of our popular 16 Ch. RGB LED Driver PCB, we designed the LED Painter. The LED Painter is a 16 channel RGB LED controller (or 48 independent LEDs) using the Texas Instrument TLC5940. This PCB is improved with a better layout that allows easy connection of independent LEDs (not just RGB), as well as the ability to daisy chain multiple boards together. The TLC5940 IC is implemented in this design because it is easy to use and can be controlled with a variety of microcontrollers such at the Parallax Propeller or the Arduino.
Each TLC5940 has 16 channels with 12 bit grayscale PWM control on each channel. Your microcontroller will connect to the TLC5940 using only a couple of pins and a serial like interface for controlling the intensity of each channel. The LED Painter PCB is provided without components, so it makes a great project for you to assemble. Nine LED Painters were recently used in a project to create "LED windows. " Pricing Available Now! Slow-change visualization of audio signal. Alex Bradbury. Book/ Rasberry Pi | GPIO Examples 1 - A single LED. Before we even get started with the GPIO, lets make an LED light up by simply wiring it to the +3.3v supply and 0v. Single LED Lit up One LED on the 3.3v supply So… We have a yellow wire from the Pi’s +3.3v supply to the breadboard and this connects to an LED then via a 270Ω (ohm) resistor to 0v.
The green wire connects back to the Pi. (Note that here and in the following pages, the Fritzing breadboard layout is slightly different from the photos – it’s the same circuit, just laid out in a way that makes it easy to see in the images) Refer to the diagram here to work out the pins we’re using.
In electronics terms, our circuit diagram looks like this: LED Circuit diagram A quick word about the electronics involved. If we allow too much current through the LED, it will burn very bright for a very short period of time before it burns out, so we need a resistor to limit the current. So now we have a lit LED. We need to move the yellow wire to one of the programmable GPIO pins.
Type the commands: Adding a Bluetooth serial terminal to Raspberry Pi | We Saw a Chicken … Sometimes you find a computer component that’s so cheap, that works so well, that you’re amazed you managed to live without it for so long. The JY-MCU Arduino Bluetooth Wireless Serial Port Module is that component for me right now. JY-MCU Arduino Bluetooth Wireless Serial Port Module from dx.com This little board is a cheap ($8.50!)
Bluetooth serial port. It’s happy with the Raspberry Pi’s 3.3 V logic levels, and will communicate at standard rates between 1200 and 1,382,400 baud. It even comes with a nifty little cable which is just the right polarity for the Raspberry Pi’s GPIO pins. It’s really meant to do serial comms on an Arduino, but it’s not limited to that. What this board allows you to do is connect to your Raspberry Pi’s serial console via Bluetooth. In order to use this device with your Raspberry Pi, you’re going to have to do some reconfiguration. To reconfigure the Bluetooth module to run at 115,200 baud Note that TXD and RXD are crossed.
AT+NAMEBluey AT+PIN4321 AT+BAUD8 to. Reading USB microphone input. @BlackJack Thanks for your reply, I do hope you can help me get this thing working. The first thing I want to say is that I can record from a USB mic using Audacity on a RPi and it uses the ALSA driver - it also plays back through the analogue audio jack when I set 'amixer cset numid=3 1'. My aplay settings are: Code: Select all pi@raspberrypi ~ $ aplay -l**** List of PLAYBACK Hardware Devices ****card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7pi@raspberrypi ~ $ aplay -Lnull Discard all samples (playback) or generate zero samples (capture)default:CARD=ALSA bcm2835 ALSA, bcm2835 ALSA Default Audio Devicesysdefault:CARD=ALSA bcm2835 ALSA, bcm2835 ALSA Default Audio Devicepi@raspberrypi ~ $ import numpyimport pyaudioimport analyse.
Converting Computer ATX Power Supply to Lab Bench Power Supply. 800 node self-organized wireless sensor network. On Aug. 27, 2001 researchers from the University of California, Berkeley and the Intel Berkeley Research Lab demonstrated a self-organzing wireless sensor network consisting of over 800 tiny low-power sensor nodes. This demonstration highlights work at Berkeley that is funded, in part, by the Defense Advanced Research Project Agency (DARPA) Network Embedded Softrware Technology program and is a leading component of the CITRIS research agenda, as well as the collaboration with Intel. The demonstration was live, involving most of the audience attending the kickoff keynote of the Intel Developers Forum given by Dr.
David Tennenhouse, Intel VP and Director of Research. A sensor network application The basic concept of a self-organized sensor network was first demonstrated at a moderate scale on stage by Professor David Culler (University Director of the Intel Berkeley Research Lab) and several students from UCB and UCLA. Live Ad Hoc Sensor Network showing Light Intensity Tiny Nodes TinyOS.
Pywws - Python software for USB Wireless WeatherStations. Young Professionals' Event - history - IET Conferences. Bluetooth RF Silicon and Software Solutions. Make easy to use Bluetooth® wireless connectivity a reality with Broadcom's Bluetooth-based RF silicon and software solutions. Broadcom's Blutonium® RF silicon offer customers significant cost, performance and integration advantages. Broadcom's Widcomm® software offers customers the most proven, easy porting, broad application support and the most proven Bluetooth stack available. Broadcom makes it easy and cost effective to integrate Bluetooth capabilities into mobile handsets, wireless headsets, personal computers, computer mouse and keyboard devices, PDAs, game controllers, automobile and industrial equipment. Software Updates and Support Broadcom does not sell products directly to consumers. RaspiHub. The Web framework for perfectionists with deadlines | Django.
Raspberry Pi by Benedict Allen on Prezi. PalmOrb: Use your PalmOS PDA as a LCD status display via serial, USB, BlueTooth or IR. The Tricorder project | blog. A bit of a story, and then a lot of pictures — by far the most interesting class I’ve ever taken was Advanced Brain Imaging in grad school. As a hands on lab class, each week we’d have a bit of a lecture on a new imaging technique, and then head off to the imaging lab where one of the grad students would often end up in the Magnetic Resonance Imager (MRI) and we’d see the technique we’d just learned about demonstrated.
Before the class I was only aware of the structural images that most folks think of when they think of an MRI, as well as the functional MRI (or fMRI) scans that measure blood oxygenation levels correlated with brain activity and are often used in cognitive neuroscience experiments. But after learning about Diffusion Tensor Imaging, spin-labeling, and half a dozen other techniques, I decided that the MRI is probably one of the most amazing machines that humans have ever built. And I really wanted to build one. Safety is very important to me. Thanks for reading! The Python Tutorial — Python v3.2.3 documentation. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python web site, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. Python Programming Language – Official Website. Python. Intro. By Pete Shinners pete@shinners.org This article is an introduction to the Pygame library for Python programmers. The original version appeared in the Py Zine, volume 1 issue 3. This version contains minor revisions, to create an all around better article.
Pygame is a Python extension library that wraps the SDL library and it's helpers. Pygame started in the summer of 2000. I discovered a small project already underway with exactly the same idea, PySDL. I wanted to put together a project that really took advantage of Python. I find the best way to understand a new library is to jump straight into an example. 1 import sys, pygame This is as simple as you can get for a bouncing animation. On line 8 we create a graphical window with the call to "pygame.display.set_mode()". At line 10 we load our ball image. At this point, line 13, our program is initialized and ready to run.
It is time to update our position for the ball. On line 24 we draw the ball image onto the screen. Mini Wifi Wireless USB Neteork LAN WLAN Adapter IEEE 802.11 N/G/B 150Mbps Dongle. Basic Resistor Sensor Reading on Raspberry Pi. Build a $35 Media Center with Raspbmc and Raspberry Pi. Sensors - Proto-PIC | Proto-PIC.co.uk.
Gareth Halfacree | The Raspberry Pi User Guide. Raspberry Pi | Wiring. TRENDnet TEW-647GA TRENDnet TEW-647GA Wireless N Gaming Adapter NSPEED WIRELESS GAMING ADAPTER 300MBPS F/WII XBOX 360 PLAYSTATION from mwave.com. Airborne Enterprise 802.11b/g Wireless Ethernet Bridges by Quatech. Camera module – first pictures! Raspberry Pi Map. Register here to express an interest in Raspberry Pi. The BBC Micro 2 - Look what's coming back to the classroom. Daniel Stucke • BBC Micro 2.0 #ictcurric. Frambozenbier: RasPi Forums. Sony's Bravia Applicast. Meet Pebble. Supermechanical : objects that connect us. アプリ開発 | アプリキャスト | ネットにつなごう | 液晶テレビ BRAVIA 〈ブラビア〉
Hardware Expansions/Additions/Peripherals. Raspberry Pi.