element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog Sci Fi Your Pi: PiDesk - Project Summary
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 27 Aug 2015 6:35 PM Date Created
  • Views 2373 views
  • Likes 8 likes
  • Comments 14 comments
  • design_challenge
  • touch_motion_controls
  • winners
  • touch_motion_control
  • sci_fi_your_pi
Related
Recommended

Sci Fi Your Pi: PiDesk - Project Summary

fvan
fvan
27 Aug 2015
  • Introduction
  • Blog posts
    • Project Updates
    • Guides
  • Project Summary
  • Components
  • Power distribution
  • Code
  • Demo
  • Thank you

 

Introduction

 

This is it, the end of the Sci Fi Your Pi Design Challenge. It's been a long journey, with lots of learning, building, sharing and blogging. I hope you have enjoyed tagging along as I made progress on project PiDesk!

 

This post is the final summary of the project.

 

Blog posts

 

Over the course of the challenge, a lot of content was created. I experimented with a new blogging approach with which I separated project updates from guides. The guides were kept as generic as possible, so that readers would not be required to know about the challenge to understand the content. With the challenge over, I'll be renaming the guides and moving them to the appropriate sections of the website, hopefully making them easier to find for others. They will however remain linked in the project updates, so no information is lost in the process.

 

These are the blog posts created during the challenge.

 

Project Updates

 

  • Sci Fi Your Pi: PiDesk - Project Description
  • Sci Fi Your Pi: PiDesk - Project Update #1
  • Sci Fi Your Pi: PiDesk - Project Update #2
  • Sci Fi Your Pi: PiDesk - Project Update #3
  • Sci Fi Your Pi: PiDesk - Project Update #4
  • Sci Fi Your Pi: PiDesk - Project Update #5
  • Sci Fi Your Pi: PiDesk - Project Update #6
  • Sci Fi Your Pi: PiDesk - Project Update #7
  • Sci Fi Your Pi: PiDesk - Project Update #8
  • Sci Fi Your Pi: PiDesk - Project Update #9
  • Sci Fi Your Pi: PiDesk - Project Update #10
  • Sci Fi Your Pi: PiDesk - Project Update #11
  • Sci Fi Your Pi: PiDesk - Project Update #12
  • Sci Fi Your Pi: PiDesk - Project Update #13
  • Sci Fi Your Pi: PiDesk - Project Update #14
  • Sci Fi Your Pi: PiDesk - Project Update #15
  • Sci Fi Your Pi: PiDesk - Project Update #16
  • Sci Fi Your Pi: PiDesk - Project Update #17
  • Sci Fi Your Pi: PiDesk - Project Update #18
  • Sci Fi Your Pi: PiDesk - Project Update #19

 

Guides

 

  • Sci Fi Your Pi: PiDesk - Guide: Setting Up the Raspberry Pi 2
  • Sci Fi Your Pi: PiDesk - Review: Bare Conductive Touch Board
  • Sci Fi Your Pi: PiDesk - Guide: Stepper Motors with Gertbot
  • Sci Fi Your Pi: PiDesk - Guide: Controlling NeoPixels with the Raspberry Pi A+/B+
  • Sci Fi Your Pi: PiDesk - Guide: Capacitive Touch with Atmel's AT42QT1070 Touch Sensor IC
  • Sci Fi Your Pi: PiDesk - Guide: Magic Lamp with wireless charger, Adafruit Trinket & NeoPixels
  • Sci Fi Your Pi: PiDesk - Guide: Endstops with Gertbot

 

Project Summary

 

If this is the first time you stumble upon a PiDesk blog post, have a look at the blog posts above. To get a quick idea of what the project is about, have a look at the pictures below.

 

The collages represent different parts of the project in different stages. The final result is unveiled at the end of this post. To summarise though, the goal was to create a futuristic desk. I did so by integrating things such as LEDs, a wireless charger and capacitive touch controls inside the desk. There is even a computer that pops out of the desk when the correct button is touched!

 

imageimage

imageimage

 

Components

 

A lot of different components and technologies are used in this project: stepper motors, addressable LEDs, capacitive touch, wireless charging, etc ...

 

Description Quantity Used in
Raspberry Pi B+Raspberry Pi B+ 1 Desk controls
WiPi USB DongleWiPi USB Dongle 2 Desk controls / Desktop computer
No brand USB Sound Card 1 Desk controls
Adafruit Mono 2.5W Class D Amplifier (PAM8302) 1 Desk controls
GertbotGertbot 1 Desk controls
NEMA 17 Stepper MotorNEMA 17 Stepper Motor 2 Desk controls
WS2812 LED Strip 2 meters Desk controls
AT42QT1070 Capacitive Touch ICAT42QT1070 Capacitive Touch IC 1 Desk controls
Micro Switch ON/OFF 2 Desk controls
Mini Speaker 8ohm 1 Desk controls
Raspberry Pi 2 BRaspberry Pi 2 B 1 Desktop computer
Adafruit Stereo 2.8W Class D Amplifier (TS2012) 1 Desktop computer
Recuperated Laptop LCD Display 1 Desktop computer
LCD Display Controller 1 Desktop computer
Speaker 8ohmSpeaker 8ohm 2 Desktop computer
Qi Wireless Charger 1 Magic Lamp
Qi Wireless Receiver 1 Magic Lamp
Adafruit NeoPixel Ring WS 2812 (12) 1 Magic Lamp
Adafruit Trinket 5V 1 Magic Lamp
12V to 5V DC-DC Converter 2 Desk controls / Desktop computer
12V Power Supply 1 Desk controls / Desktop computer / Magic Lamp

 

I made these image, trying to illustrate how everything fits together and interacts:

 

imageimage

 

From left to right, top to bottom, we have:

  • Raspberry Pi B+: This is the heart of project PiDesk, as it is in charge of controlling all the different components involved in the project. I originally opted for the Raspberry Pi A+, but was forced to move to B+ as the workaround required to have both audio and neopixels work, required a USB sound card.
  • Dual channel relay board: The relay board is controlled by the Raspberry Pi GPIO pins. It makes it possible to turn a 12 power supply ON or OFF, powering the laptop display, and a 5V power supply for the Raspberry Pi 2 desktop computer.
  • Capacitive touch IC (AT42QT1070): The custom breakout board is used to convert Raspberry Pi GPIO pins into capacitive touch input sensors. The touch sensors have been created using copper tape and conductive paint.
  • LED strip (WS2812): The LED strip is controlled by the Raspberry Pi and has been built into the desk's surface. It displays animations depending on the ongoing action.
  • Gertbot: The gertbot has two functions: raising and lower the screen assembly by controlling two stepper motors, and knowing when to stop using end stops.
  • Wifi dongle (WiPi): Wifi connectivity, mainly used during programming and testing.
  • Soundcard with amplifier (PAM8302): Play sound effects depending on the action to be executed.

 

imageimage

The pictures above represent on one side, the Pi 2 desktop computer, on the other, the magic lamp. As you can see, these items are very straightforward compared to the desk controls and require very little explanation.

 

For the desktop computer, a Pi 2 is used in combination with a recuperated laptop screen for which a controller board was found. A combination of a stereo amplifier and speakers are used for sound.

As for the magic lamp, a Trinket microcontroller and NeoPixel ring are powered via a wireless receiver. The circuit is powered on when placed on top of the wireless charger.

 

Power distribution

 

image

 

The main power supply is a beefy 12V one. It is used to power the stepper motors via the Gertbot and the LCD screen via the controller board. The other components of the project require 5V, which is achieved using DC-DC converters. The 12V input to the desktop components (Raspberry Pi 2 & LCD controller) are interrupted by a relay which is controlled by the Raspberry Pi B+. Two channels have been foreseen, although only one is currently in use.

 

Code

 

All of the different components illustrated above require some code to work.

 

To get the NeoPixels and Gertbot to work, external Python libraries were used. Here are the links:

 

  • NeoPixels: https://github.com/jgarff/rpi_ws281x
  • Gertbot: http://www.gertbot.com/download.html

 

Two scripts are in charge of combining the different features and make everything work together. The full code is available on GitHub.

 

PiDesk Main Script:

 

PiDesk LED Animations Script:

 

Demo

 

Finally, the "moment supreme", the moment you (may) have been waiting for, the final result.

imageimage

 

Because it wouldn't be a real demo without an actual video, here it is. The first part is a montage of various stages of the build, followed by some demonstrations.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Thank you

 

I'd like to thank element14, the sponsors, the judges and anyone involved in this challenge for setting this up, providing the kits and allowing me to participate. I had fun, I hope you did too following this project and you like the end result.

 

To my fellow contestants and members: thank you for following the project, liking the posts and providing feedback along the way.

  • Sign in to reply

Top Comments

  • balearicdynamics
    balearicdynamics over 9 years ago +2
    Great work Frederick! Very well done. I appreciated a lot the docmentary presenting the entire work. Enrico
  • DAB
    DAB over 9 years ago +2
    Very cool project. DAB
  • fvan
    fvan over 9 years ago in reply to shabaz +2
    The plan was to have it boot while raising the screen, it is however pure coincidence that it takes almost exactly the same amount of time
  • fvan
    fvan over 9 years ago in reply to sebathorus

    Thanks Sebastian!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • sebathorus
    sebathorus over 9 years ago

    Congratulations!!!

    Very well thought and built project. It's a pleasure to see it in action image

    -=Seba=-

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 9 years ago in reply to amgalbu

    Thanks Ambrogio, looking forward to seeing your project fly!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 9 years ago

    Great project

    Compliments!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 9 years ago in reply to shabaz

    The plan was to have it boot while raising the screen, it is however pure coincidence that it takes almost exactly the same amount of time image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube