Total: 0,00 €



  • Friday, March 28, 2014 - 15:00
    Bringing Star Trek to life: LCARS home automation with Arduino and Raspberry Pi #piday #raspberrypi @Raspberry_Pi

    This LCARS home automation from YouTube user boltszmann138 a trekkies dream come true!

    …I came to the conclusion that QT works fine for me. There are two programms running:

    First, there is “ha_interface” on the raspberry which on the one hand connects to the arduino via usb and provides a tcp server for clients on the other hand. Clients can request sensor values by sending “request:sensortype:sensorid” over a simple QTcpSocket. If the arduino sends an interrupt (for example: reed contact 1 is now open), ha_interface sends a broadcast message like “broadcast:reed1:opened” to all connected clients. Parsing of these commands can easily be done via the QString::split(“:”) function. The biggest problem was: I dont want the clients to poll for the reed contact state, since they change very seldom. On the other hand, I didnt want to miss that event. So I had to find a way how recognize an interrupt (by emitting a signal) in the serial usb connection. This gave me the answer: http://www.webalice.it/fede.tft/seria… (part 5) and http://fedetft.wordpress.com/2010/04/… . Several connected clients can talk to each other via the interface and share for example their local “red alert on” or “system locked” bool variables.

    The second program, “ha_gui” is the LCARS design you can see in the video (the final version will get a dedicated 24″ touch screen :-D). This program connects to the ha_interface programm via QTcpSocket. When switching an outlet, it sends “switchOutlet:syscode:groupcode:mode” to the interface, when requesting the temperature sensors, it sends “request:temperature:1″ or something like that to the interface. If the main door is openend, the arduino will recognize that and send a message to the interface which then broadcasts that information to all connected clients. This LCARS client will play the “red alert” sound from Star Trek Voyager if that happens. Playing sounds is done via “QProcess::startDetached(“aplay PATH_TO_FILE”). The “analysis of sensor data” at the top is realized via 7 QLineEdits. There is a QTimer which is called periodically, it generates random numbers and sometimes highlights a row. The LCARS design was created in QT Designer. There are stylesheet options for rounded corners and you can find official LCARS colors via google. The different views are realized by a QStackedWidget.

    Read more.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

  • Friday, March 28, 2014 - 14:48
    Enginursday: Get Roving!

    Robotics competitions are a great way to hone your skills by designing with a purpose (and a deadline). There are competitions large and small all over the world, for all skill levels, with all kinds of goals, both constructive and destructive. If you’ve been following SparkFun for a while you’re probably aware of our Autonomous Vehicle Competition, which will be held at the Boulder Reservoir on June 21st. The AVC challenges are for fun and glory, but there’s another robotics competition coming up in April that challenges you to design a Mars rover and try it out in a remote and spectacular part of Colorado.

    alt text

    Ron Cogswell

    As a wise man once said, space is big. Really big. Big enough that it’s difficult, expensive, and risky sending people everywhere we’d like to go. We’ve been sending machines instead (and hopefully in advance) of us for decades, and the knowledge gained from these programs has literally rewritten the book on our solar system and beyond. The first robotic explorers just flew by planets, followed by orbiters, followed by landers; each of which provided more and more spectacular results. But even given the astonishing technical achievement of being able to softly touch down on an alien world, there was always an interesting rock just out of reach, or a mountain on the horizon, that scientists wished they could visit. Rovers have given us the mobility to truly start the detailed and long-term exploration of these worlds.

    alt text

    Brian Sanders

    The first planetary rover was Russia’s Lunokhod (“moon walker”) 1, which explored the moon for almost a year in 1970. More recently the US has had great success with Mars rovers; Opportunity is still operating after an unheard-of ten years on the ground, and the massive mobile laboratory Curiosity is providing new insight into Mars’s complex geologic past (as well as having a cranky alter-ego). Many more rovers (and flyers, and even submarines) are on the drawing boards of NASA and other organizations. Unfortunately, even the most cost-effective missions are at the mercy of agency budgets, which are currently cut to the bone and beyond. (Write your congresspeople.)

    alt text

    Brian Sanders

    Because space is so big, planetary rovers are an ideal application of autonomy (the ability to make your own decisions). The problem is the huge distances involved. For example, depending on where they are in their orbits, Mars may be anywhere between 55 and 400 million kilometers away from Earth. In the vacuum of space, radio waves travel at the speed of light, which means it takes between 3 and 22 minutes for a command to get from you to your rover. And that’s just one-way; any responses or returned video would take just as long to get back to you, so you could be waiting 45 minutes to find out whether your rover fell into a ravine or not. Imagine trying to directly control a vehicle with that kind of lag. (You think gaming is tough!) Not to mention that there are periods when the sun is directly between Mars and Earth, entirely cutting off communications for a week or so. It would be nice if your rover was able to perform investigations on its own during that time.

    In practice, rovers are such a valuable asset that their operations are very carefully planned in advance, and onboard autonomy is usually limited to catching any unforeseen problems while command sequences are being executed. But autonomy is increasingly becoming an effective cost-saving measure on numerous missions (Deep Space Network time is limited and expensive), and we’ll only see more of it in the future.

    alt text

    Michael Rael

    Which brings us to the Colorado Space Grant / Adams State University Robotics Challenge, held annually at the Great Sand Dunes National Park in southern Colorado. This challenge is designed to give amateur teams a taste of what it takes to create and operate a Mars rover. The vehicles need to autonomously navigate courses of varying complexity and ruggedness, with the possibility of unexpected obstacles, high and low temperature extremes (April in Colorado can have anything from 80 degree days to whiteout blizzards), and the ever-present blowing sand, which has a way of getting into everything, no matter how well-sealed.

    alt text

    Brian Sanders

    A unique part of this challenge is the central radio beacon. To more accurately simulate the conditions a rover would encounter on another planet, GPS receivers are not allowed. (GPS signals are broadcast by a constellation of satellites in earth’s orbit; these signals won’t be available anywhere else until we put similar constellations around other planets.) Instead of using GPS, a 433MHz radio beacon is set up at the center of the course area. The robots must move from the starting point toward the beacon, navigate around any obstacles in their path, and return to the original course. The various challenge courses are laid out in spokes from the central beacon, allowing multiple courses to use the same beacon simultaneously.

    alt text

    Brian Sanders

    True radio direction finding is a difficult task. To make the beacon more accessible to amateur teams, a clever technique is used. The beacon consists of a rotating Yagi antenna that continuously broadcasts the compass bearing of the beam as it rotates. The antenna pattern from the Yagi is highly directional, so the robots will only receive the beacon as the beam sweeps past them. If a robot receives the beacon, the data will contain the reciprocal bearing back to the beacon. Just knowing that information doesn’t help you if you don’t know your own heading, so an onboard compass is used to figure out what direction you’re pointing.* Once you know both of those angles, you can figure out the direction you need to drive to get to the beacon.

    alt text

    Brian Sanders

    Befitting the institutions behind it, the primary goal of this challenge is education. Instead of giving you the rules and saying “good luck,” the Colorado Space Grant Consortium provides pre-challenge workshops in basic skills like soldering and programming, and provides as much information as they can to help teams succeed. Mass and cost are constrained to give as many teams as possible the opportunity to participate; robots must weigh under 4kg or 1.5kg depending on the weight class, and the hardware cost is limited to $500. The rules are also specific about protecting the course environment (the Great Sand Dunes are a national park that contains protected and fragile ecosystems), and that the real goal of the challenge is not to win through finding loopholes, but through solid design, good craftsmanship, and testing, testing, testing.

    alt text

    Brian Sanders

    The Colorado Space Grant Consortium, and the NASA-funded Space Grant Colleges in each state, exist to give students practical engineering experience through challenges like these and numerous other opportunities. COSGC alumni have gone on to design, build and operate the current generation of Mars rovers and many other space missions, and work at many interesting places, including SparkFun.

    alt text

    Michael Rael

    This year’s Robotics Challenge will be held on April 5th from 8AM to 11:30AM, just past the visitor’s center at the Great Sand Dunes National Park which is about a four-hour drive from Denver. The public is welcome! If you’d like to be involved in next year’s competition, you can find more information at http://spacegrant.colorado.edu/statewideprograms/robotics-challenge. Registration is in December, so get roving!

    alt text

    Brian Sanders

    * Unlike Earth, Mars has a very weak magnetic field, so this likely wouldn’t work in real life, but for the purposes of the challenge you have to constrain the problem somewhere. Interestingly, there are indications that Mars had a much stronger magnetic field in the past that, like the Earth’s magnetic field, once protected the surface of Mars from being blasted by solar radiation as it is now. Why the field disappeared is an important question scientists are trying to answer. Write your congresspeople.

    comments | comment feed

  • Friday, March 28, 2014 - 14:10
    A Look at Arduino’s Origins: the First Prototype

    arduino03-1319574149091Believe it or not, this simple-looking prototype board was the original Arduino that has since become "the brains of maker projects" around the world.

    Read more on MAKE

  • Friday, March 28, 2014 - 14:00
    Transform Cardboard Into an Optimus Prime Costume

    optimus  prime

    I never tire of seeing how different builders tackle the same costume, and Optimus Prime is one of those characters people keep creating in new ways. Instructables user dannyeruena loves Transformers and funneled his passion into making this fantastic costume. He only spent about $40-50 on the costume, and it looks slick. The material he used the most of was cardboard and he was able to get at least some of it by recycling material from local markets. Here’s some info on making the head:

    First select an old bicycle, snowboarding, or hardhat helmet that you never plan on using again.

    From the Cardboard or foamboard
    - Cut 2 ear flaps (Triangle shape)
    - Cut 1 center unit piece (Retangle Shape)
    - Cut 2 side discs where you plan on attaching the 2 antennae. (circle discs) Antennae.

    Like most of this project it will be a series of trial and error to make things fit, the ear flaps are no exception. Once you have your desired shapes cut out, you’ll need to cut circles on the inside to affix to the helmet with hot glue. Adjust fast because the glue dries quick.

    The Center unit will present the biggest challenge as the concave center will need to be cut out with your best estimate then refitted for additional cuts. Remember don’t over guess because you can always take off more, but you can’t regrow once cut. Take your time on this fitting, it will pay off in the end.

    Read more at Instructables.

  • Friday, March 28, 2014 - 14:00
    Learn How-to Design and Build a Raspberry Pi Robot @Rasbperry_Pi #piday #raspberrypi

    Raspberrypi rubyrobot

    This tutorial shows you how to design and build a Raspberry Pi robot! from penguin tutor.

    When I first showed my Raspberry Pi based “Ruby Robot” at the Raspberry Jam at Pycon UK, I promised a guide would be forthcoming. I’ve now finished the first draft of my guide to creating the robot.

    The guide does more than just take the reader through the steps to create a robot. It also covers the design process involved in creating the design and some of the decisions I went through in creating the robot.

    eBook – Desgin and build a Raspberry Pi robot
    The robot is just the starting point to create an initial working version. I have several ideas for new features and improvements to the robot, but the idea is for the reader to have their own ideas and turn it into a truly personal robot.

    At the moment the guide is a draft pdf document. I intend to publish this as a free eBook in future (including putting it on the Raspberry Pi store). As this will be made available free of charge I don’t have a budget for technical reviewers or proof-readers, but would very much appreciate feedback on the guide if anyone finds any mistakes.

    Download the draft document below:

    Design and build a Raspberry Pi robot

    or read more at: PenguinTutor – Guide to the Raspberry Pi based Ruby Robot

    Read more.

  • Friday, March 28, 2014 - 13:01
    Fritzing Friday: nRF8001 Bluetooth LE Breakout!


    This week, we’ve added our brand new nRF8001 Bluetooth LE breakout.

    Check it out, and all sorts of other Adafruit stuff, in the Adafruit Fritzing Library!

  • Friday, March 28, 2014 - 13:00
    Raspberry Pi As a Home Device Controller Interface! #piday #raspberrypi @Raspberry_Pi

    Read More.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
    #3DThursday #3DPrinting

  • Friday, March 28, 2014 - 12:01
    A Mini Op-Amp Based Line Following Robot


    There’s no denying it. Super small robots are just cool. [Pinomelean] has posted an Instructable on how to create a mini line following robot using only analog circuitry. This would make a great demo project to show your friends and family what you’ve been up to.

    Analog circuitry can be used instead of a microcontroller for many different applications, and this is one of them. The circuit consists of two op-amps that amplify the output of two phototransistors, which control each motor. This circuit is super simple yet very effective. The mechanical system is also quite cool and well thought out. To keep things simple, the motors drive the wheel treads, rather than directly through an axle. After the build was completed, the device needed to be calibrated by turning potentiometers that control the gain of each op-amp. Once everything is balanced, the robot runs great! See it in action after the break.

    While not the smallest line follower we have seen, this robot is quite easy to reproduce. What little robots have you build lately? Send us a tip and let us know!

    [via Embedded Lab]

    Filed under: robots hacks

  • Friday, March 28, 2014 - 12:00
    How to install Oracle JDK 8 on Raspberry Pi #piday #raspberrypi @Raspberry_Pi


    Raspberry Pi Blog has a useful new tutorial on installing Oracle JDK on your Raspberry Pi.

    This post will show how to download and set up Oracle JDK 8 on Raspberry Pi.

    Visit http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2..., click the download button of Java Platform (JDK) 8. Click to Accept License Agreement, download jdk-8-linux-arm-vfp-hflt.tar.gz for Linux ARM v6/v7 Hard Float ABI.

    Log-in Raspberry Pi, enter the command to extract jdk-8-linux-arm-vfp-hflt.tar.gz to /opt directory.
    $ sudo tar zxvf jdk-8-linux-arm-vfp-hflt.tar.gz -C /opt

    Set default java and javac to the new installed jdk8.
    $ sudo update-alternatives –install /usr/bin/javac javac /opt/jdk1.8.0/bin/javac 1
    $ sudo update-alternatives –install /usr/bin/java java /opt/jdk1.8.0/bin/java 1

    $ sudo update-alternatives –config javac
    $ sudo update-alternatives –config java

    After all, verify with the commands with -verion option.
    $ java -version
    $ javac -version

    Read more.

  • Friday, March 28, 2014 - 11:00
    Discuss the Pi over a Pint: Raspberry Pint London @Raspberry_PI #piday #raspberrypi

    600 304323222

    Raspberry Pint London is a community of makers in London, England that meet up to discuss their latest pi endeavors and upcoming projects over a pint in a pub. If you’re local, check out their upcoming meetings! If not, we think this sounds like an idea worth replicating.

    Meet up over a pint and meet other makers, technologists, educators and people-in-sheds engaged in using or simply interested in the new wave of affordable and accessible technology lead by the Raspberry Pi. We are a community formed to inspire the use of open source hardware and software in projects for fun, education and creation through technology. We will meet for a pint on the last Wednesday of each month (maybe more if there is demand) – looking forward to meeting other like-minded souls and figuring out how this community can be produced.

    Screen Shot 2014 03 25 at 12 22 29 PM

    Read more.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

  • Friday, March 28, 2014 - 10:00
    Raspberry Pi Command Line Tricks: “What is sudo?” #piday #raspberrypi @Raspberry_Pi

    Raspberry Pi Command Line Tricks: “What is sudo?”, shared by RaspberryPiIVBeginners:

    Just a short video on Sudo what it is and why we use it.
    Thanks Jim Darby for the words :)

    Read More.

  • Friday, March 28, 2014 - 09:01
    An Etch-A-Sketch to Fetch the Time

    For someone who has never used stepper motors, real-time clocks, or built anything from scratch, [Dodgey99] has done a great job of bending them to his will while building his Etch-A-Sketch clock.

    He used two 5V stepper motors with ULN2003 drivers. These motors are mounted on the back and rotate the knobs via pulleys. They are kind of slow; it takes about 2 1/2 minutes to draw the time, but the point of the hack is to watch the Etch-A-Sketch. [Dodgey99] is working to replace these steppers with Nema 17 motors which are much faster. [Dodgey99] used an EasyDriver for Arduino to drive them. He’s got an Arduino chip kit in this clock to save on the BOM, but you could use a regular Arduino. He left out the 5V regulator because the EasyDriver has one.

    [Dodgey99] has published three sketches for the clock: one to set up the RTC so that the correct time is displayed once the Etch-A-Sketch is finished, some code to test the hardware and sample the look of the digits, and the main code to replace the test code.

    The icing on this timekeeping cake is the acrylic base and mounting he’s fashioned. During his mounting trials, he learned a valuable lesson about drilling holes into an Etch-A-Sketch. You can’t shake an Etch-A-Sketch programmatically, so he rotates it with a Nema 17. Check it out after the jump.

    If you’re paying attention, you’ll realize we just saw the exact opposite of this project a few hours ago: a CNC tool (laser cutter) controlled by turning Etch-A-Sketch knobs.

    Filed under: Arduino Hacks, clock hacks

  • Friday, March 28, 2014 - 09:00
    NEW TUTORIAL: Connecting a 16×32 RGB LED Matrix Panel to a Raspberry Pi #piday #raspberrypi @Raspberry_Pi

    Raspberry pi raspanimated

    NEW TUTORIAL: How to connect a 16×32 RGB LED display to your Raspberry Pi: Everyone loves a colorful LED screen! Our 16×32 RGB LED display is a low cost, and easy-to-use arrangement of bright LEDs – just like the ones used in Times Square! This display makes a fantastic addition to your Raspberry Pi. It is pretty easy to wire up, but the display is quite demanding when it comes to getting it to display something…luckily this tutorial has all the code you need to get blinky.

    This tutorial is based on this one by Henner Zeller but as well as using Henner’s C code to drive the display, we will also experiment (with limited success) in driving the display using Python.

    Featured in this guide:

    See the full tutorial here!


    Medium 16×32 RGB LED matrix panel: Bring a little bit of Times Square into your home with this 16 x 32 RGB LED matrix panel. These panels are normally used to make video walls, here in New York we see them on the sides of busses and bus stops, to display animations or short video clips. We thought they looked really cool so we picked up a few boxes of them from a factory. They have 512 bright RGB LEDs arranged in a 16×32 grid on the front. On the back there is a PCB with two IDC connectors (one input, one output: in theory you can chain these together) and 12 16-bit latches that allow you to drive the display with a 1:8 scan rate. Read more.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

  • Friday, March 28, 2014 - 08:30
    Get ready for Arduino Day 2014 with tutorials from the Adafruit Learning System #ArduinoD14


    Arduino Day 2014 is right around the corner and Adafruit wants to help you prepare with our awesome tutorials in the Adafruit Learning System. Don’t forget to tune in here on Saturday at 7 PM EST to watch our very special LIVE show featuring Massimo Banzi, co-founder and CEO of Arduino.

    Master the Arduino with these easy to follow lessons

    We’re pleased to announce that we are updating all our Arduino tutorials with a new series! Arduino Lessons by Dr. Simon Monk & Ladyada! Simon is one of the best educational writers in the world and we also stock his fantastic books here in the Adafruit store!

    Over the course of a few weeks we will teach you everything you need to know to get started with the Arduino. Learn how to use your Arduino to blink an LED, control a motor, play sounds, hook up an LCD display, and much more. Check back each day for a NEW lesson!

    Click here to get started!

    Arduino adafruit industries blog

    March 29th is Arduino Day 2014! Arduino day is “a worldwide event bringing together Arduino people and projects. It’s 24 hours full of events – both official and independent, anywhere around the world – where people interested in Arduino can meet, share their experiences, and learn more.” Adafruit will be celebrating with 24 hours of Arduino posts on our blog as well as a special Saturday night LIVE show with Massimo Banzi, co-founder and CEO of Arduino. Join us Saturday, March 29th at 7 PM EST to celebrate Arduino Day 2014! Be sure to check out our extensive learning system tutorials on Arduino as well as our Arduino blog coverage and products.

  • Friday, March 28, 2014 - 08:00
    Grad students build internet terror phone to scrape data on DoS attacks using Raspberry Pi #piday #raspberrypi @Raspberry_Pi


    This post from The Awl reads like a scary story straight out of some dystopian Sci-Fi future:

    Walk down Broadway, past Canal, past banks and furniture stores, Mr. Fashion and sneaker shops and condos, old then new, brick then steel, until the buildings grow taller and begin to take up entire blocks. Turn right at the unopened Pret, across from the McDonald’s, down Thomas Street, a one-way single-lane. Look up. You can’t miss it: A monolith, brutalist, granite armored, its skeleton colossal slats of moulded concrete. It is said to feature the largest blank facade in the world. The building’s six turrets contain air ducts, a whole mess of ventilation for whatever is inside. Whatever is inside—that’s the question…

    …Ponder the monolith and its innards long enough, however, and you might find inspiration. This is how a trio of grad students at NYU’s ITP (Interactive Telecommunications Program) came to build a strange new kind of emergency phonebooth.

    “We fell in love with the building,” said Omer Shapira, a filmmaker and journalist. “It’s just so insanely big, and dark, and what it contains no one knows. There are no blueprints online. Maybe there are NSA servers in there.” Shapira said that they first did their pondering before anyone knew who Edward Snowden was, and before cybercrime was something normal people might talk about. He and his partners, Max Ma and Ryan Bartley, wanted to find a way to link that building, full of phone lines, to its surroundings, full of Internet. “How about if we make this phone that shows the emergencies on the Internet,” Bartley said. “It would be like there’s this enormous building screaming for help.”

    First they needed to find a way to listen in on cyberattacks. This wasn’t difficult. Shapira said that the internet is a lot like a big echo chamber—efficient routing means redundant connections. Denial-of-service (DoS) attacks reverberate between the connections. They needed a way to tap into a connection and listen for echoes. This wasn’t easy.

    “Well, no one, big companies I mean, wanted to partner with us, to let us see how they were being attacked. I guess we shouldn’t have been surprised,” Shapira said. So they found databases of DoS attacks. The only problem with the databases is they weren’t in real time. Nonetheless, the range and frequency was astonishing. “The ones you hear about, from Anonymous usually, those are the most vanilla attacks, like on Scientology. You don’t hear about criminal organizations or governments, controlling millions of computers through a botnet to gain access to a server, or kill it,” Shapira said.

    When he first looked at the attack logs, Bartley said: “Oh my God, this was way, way bigger than we ever thought.”

    They buffered the logs by a few days, mostly so the three of them, or ITP, or NYU, wouldn’t become a target for the attackers. Then they programmed a cheap, credit-card-sized computer called a Raspberry Pi to scrape this data and spit it out. They turned the text to speech, choosing a crackly computer voice. “The feeling we want to give,” Bartley said, “is like, whenever you see a zombie movie, and the radio is replaying a message, a distress signal, that’s it.”

    Read more.


  • Friday, March 28, 2014 - 07:00
    This PiFace menu tutorial keeps it simple @Raspberry_Pi #piday #raspberrypi

    Pi face menu

    Using his new PiFace, this maker wrote a python script for a 5 option menu for the Raspberry Pi that you can leave running (with an adjustable backlight!), from uktechreviews.

    My prototype Python script generates 5 menu options which are accessed via the push buttons. Once pressed they either launch another script or run part of the menu script.

    I intend to leave this running so I have included two buttons to switch off the back light and turn it back on again.

    The clock option displays the current time for three seconds.

    The code is still in development and is rather ‘clunky’ (if you can use such a term!) – but it does work!

    Please feel free to use any aspect of the code and modify and improve!!!

    import pifacecad
    import time

    def update_pin_text(event):
    choice = event.pin_num
    if choice == 0:
    cad.lcd.write(“Menu selected”)
    import subprocess
    p = subprocess.Popen(["sysstart"])
    output, err = p.communicate()
    cad.lcd.write(“1:Welcome 2:GS\n3:Clock [4/5]:BL”)
    if choice == 1:
    cad.lcd.write(“GSL countdown\nselected”)
    import subprocess
    p = subprocess.Popen(["GSL2014"])
    output, err = p.communicate()
    cad.lcd.write(“1:Welcome 2:GS\n3:Clock [4/5]:BL”)
    if choice == 2:
    cad.lcd.write(“Current time: \n”)
    cad.lcd.write(“1:Welcome 2:GS\n3:Clock [4/5]:BL”)
    if choice ==3:
    if choice ==4:

    cad = pifacecad.PiFaceCAD()
    cad.lcd.write(“Pi menu Use the \nbuttons”)
    cad.lcd.write(“1:Welcome 2:GS\n3:Clock [4/5]:BL”)

    listener = pifacecad.SwitchEventListener(chip=cad)
    for i in range (6):
    listener.register(i, pifacecad.IODIR_FALLING_EDGE, update_pin_text)

    Read more.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

  • Friday, March 28, 2014 - 06:01
    riotNAS: Mobile Storage for Street Photography


    You’re likely aware of the protests and demonstrations happening throughout Venezuela over the past few months, and as it has with similar public outcries in recent memory, technology can provide unique affordances to those out on the streets. [Alfredo] sent us this tip to let us know about riotNAS: a portable storage device for photos and videos taken by protesters (translated).

    The premise is straightforward: social media is an ally for protesters on the ground in these situations, but phones and cameras are easily recognized and confiscated. riotNAS serves up portable backup storage via a router running OpenWRT and Samba. [Alfredo] then connected some USB memory for external storage and a battery that gives around 4 hours of operating time.

    For now he’s put the equipment inside a soft, makeup-looking bag, which keeps it inconspicuous and doesn’t affect the signal.  Check out his website for future design plans—including stashing the device inside a hollowed out book—and some sample photos stored on the riotNAS system. If you’re curious what’s going on in Venezuela, hit up the Wikipedia page or visit some of the resources at the bottom of [Alfredo's] site.

    Filed under: digital cameras hacks, Network Hacks

  • Friday, March 28, 2014 - 06:00
    Teeny-Tiny Tap-Dancers Can Teach You Tricks about Digital Signal Processing #piday #raspberrypi @Raspberry_Pi

    Teeny-Tiny Tap-Dancers Can Teach You Tricks about Digital Signal Processing. From RaspberryPi.org:

    …Here, FFTs are performed on music samples on the Raspberry Pi fast enough to detect a beat, and the Pi relays that information to some teeny-tiny tap-dancers, who produce an automated routine that’s synced to the music.

    These little tap-dancing guys are from a post-Christmas sales bin. They’re called Happy Tappers, and are made by Hallmark, who, for reasons known only to them, include a port which enables them to interface with their tippy-tapping brothers and sisters – which makes for exciting DIY project possibilities once you add something that’s able to feed them an input. I’ve never seen them on sale in the UK, but if you’re dead set on making your own tap-dancing Pi project, they seem to be available online at eBay, Amazon US, and at some Christmas shops….

    Read more.

  • Friday, March 28, 2014 - 05:00
    Use your pi for automated home brewing @Raspberry_Pi #piday #raspberrypi


    Here’s another great home brewing project using the Raspberry Pi, this time from The Raspberry Pi Hobbyist.

    I have been a “home brewer” in the electronic hobbyist sense for decades, but I am also a “home brewer” of beer. I mentioned this in my post on Reading Temperature With Thermistors.

    I now use digital temperature sensors (typically the DS18B20) read over an I2C bus. Adafruit has a good tutorial on how this is done located here.

    It is fairly common to control a refrigerator and heater to keep a constant (or slowly changing) temperature during the fermenting process, especially with lagers. I have done this using the Raspberry Pi, thermistors, and an A/D convertor. Now, I decided to get a lot more ambitious.

    I won’t go into all the details of the brewing process since there are many resources on the web to provide that. For a quick look at this process, see the article on my photo blog. I wanted to be able to control at least the following items for one of the simpler methods of brewing (called partial mash.)

    • Valve to a tank of propane
    • Grill ignitor to light the burner
    • Sensor to detect if the burner actually did light
    • Temperature sensor for the wort (the brew of water, malt extract, and hops)
    • Pump for circulating water through the wort chiller

    What I needed to do this:

    • A relay to output 12V to control the propane valve
    • Another relay to output much higher amperage of 12V to run the pump
    • A relay connected in place of the button on the grill ignitor
    • A connection for one or more DS18B20 temperature sensors

    Read more and see the full tutorial here.


    Featured Adafruit Products!


    High Temp Waterproof DS18B20 Digital temperature sensor + extras: This is a pre-wired and waterproofed version of the DS18B20 sensor made with a PTFE wire cable. Handy for when you need to measure something far away, or in wet conditions. This sensor is a little more expensive than the other waterproof version we have with a PVC cable because this one can be used up to 125°C – the limit of the sensor itself. Read more.

    Food-Grade Heat Shrink – 3/8″ diameter 12″ long: We decided to stock this food-safe heat shrink specifically for people who were building beer-brewing or sous-vide projects using our waterproof DS18B20+ digital temperature sensors. This heat shrink is FDA Compliant for contact with food. The end of the sensor is stainless steel, but the jacketing is PVC, not good for dunking into your food or drink! But this heat shrink makes it easy – simply slip it on, allowing about 1 cm of the stainless steel sensor cap to be exposed, then heat it up to seal it on. The heat shrink will make a seal over the cap, so that no PVC touches your food project. Read more.

    998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

  • Friday, March 28, 2014 - 03:01
    Laser Cutter Becomes An Etch A Sketch


    The mirror in a laser cutter moves along an X Y axis. An Etch A Sketch moves its stylus along an X Y axis. Honestly, this laser cutter with Etch A Sketch controls is so obvious, we’re shocked we haven’t seen it before.

    The Etch A Sketch interface is extremely simple – just two rotary encoders attached to laser cut knobs set inside a small, laser cut frame. The lines from the encoders are connected to an Arduino Pro Mini that interfaces with the controller unit on the laser cutter, moving the steppers and turning on the laser only when the head is moving. There’s an additional safety that only turns on the laser when the lid is closed and the water pump is running.

    The circuit is extremely simple, and with just a few connections, it’s possible to retrofit the Etch A Sketch controller to the laser cutter in just a few minutes.  Just the thing for a weekend hackerspace project.


    Filed under: laser hacks