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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs LED Pixel Touch Sensitive Games Table – Part 1
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: benmatrix
  • Date Created: 28 Oct 2015 5:58 PM Date Created
  • Views 543 views
  • Likes 0 likes
  • Comments 0 comments
  • Table
  • audio
  • control
  • led
  • rgbled
  • tetris
  • ir
  • games
  • dspic
Related
Recommended

LED Pixel Touch Sensitive Games Table – Part 1

benmatrix
benmatrix
28 Oct 2015

Introducing my latest project using Flowcode and E-blocks. The RGB LED pixel touch table.

 

Table-300x174.jpg

My brief was simple, I wanted a new coffee table for my front room and decided to build my own. As I was building my own I could add in some electronics to make the table more functional and useful. When I say useful I probably mean entertaining.

 

Here are some of the features I wanted to be part of the table design.

 

  • Array of LEDs
  • IR Touch sensitivity for each LED
  • Audio Output
  • SD Card storage
  • Good quality wooden cabinet
  • Fast processor
  • Bluetooth / WIFI connectivity

 

With the table’s features in mind here is a list of potential applications I want to be able to run on the table.

 

  • Tetris
  • Pong
  • Air Hockey
  • Tic Tac Toe
  • Countdown Timer
  • Various Visualisations

 

Each LED pixel contains a 8-bit PIC microcontroller with a hardware serial UART, a RGB LED, a IR emitter and receiver.

 

F3WTFCUIF7IW3R0.MEDIUM.jpg

Each LED is connected in turn using the serial UART peripheral. The transmit pin of the first node is connected to the receive pin of the second node and so on. The pixels are all controlled by a master which sends out commands on the serial bus and waits for the command to ripple through the nodes and return back to the master.

 

F29WGE2IF7IW2OM.MEDIUM.jpg

F9CS05YIF7IW2ON.MEDIUM.jpg

 

Each LED node is programmed with simple firmware to control the RGB LED and take samples from the IR sensor. The IR sensor data is filtered to ensure a nice stable reading when the master requests it. The node firmware supports the following command set via the serial UART.

 

FTHHGCCIF7IWAOE.MEDIUM.jpg

 

Here is a photo with the LED nodes exposed.

FDY7CHAIF7IQVBJ.MEDIUM.jpg

Using Flowcode I created a simulation to allow me to simulate the end table. Here is a version of Tetris running on the simulated table. Note that this is fully playable even with the free version of Flowcode using the cursor keys on your keyboard.

 

file.php?id=18480

 

Here is a link to the Flowcode Tetris example and to the forum discussion.

 

Here is the end result of playing a game of Tetris on the table hardware.

 

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

 

The table’s Master node is done using a EB091 for it’s fast processor speed and high peripheral count. The ECIO40P16 would also be a viable host target. The audio output is streamed out using the EB037 SD Card board and output using the EB086 DSP output board with it’s high speed 16-bit DAC.

 

A video showing using a graphical LCD to test the tables IR touch output.

 

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

 

Next time I will go more into detail on the table build process, the electronics and how the menu and games have been put together.

 

FP5FT7PIF7IQV7D.MEDIUM.jpg

 

Here is a video of me playing Tetris in the Flowcode simulation. Can you beat my score?

 

Download Flowcode now to find out.

 

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

  • Sign in to reply
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