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
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog 9 Pieces of Pi: Slice 4: Fast Forward
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jc2048
  • Date Created: 28 Jun 2019 11:52 AM Date Created
  • Views 1169 views
  • Likes 8 likes
  • Comments 4 comments
  • python
  • picasso
  • leds.
  • electronic art
  • pi 3 b+
Related
Recommended

9 Pieces of Pi: Slice 4: Fast Forward

jc2048
jc2048
28 Jun 2019

Introduction

 

Even more LEDs! This time it's back to conventional 5mm ones. I had the idea for this piece many years

ago when I was working on LED signage and, finally, I've constructed it.

 

The Work

 

Here it is on a table in my workroom. Ideally it should have its very own plinth but I didn't want to

stop and build one now so this will have to do for the moment.

 

image

 

The following video shows it working:

 

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

 

The camera splurges the light too much, but you can kind of see the idea of it.

 

It's not a good idea to explain art too much but you might, perhaps, think about Van Gogh's painting

of an old pair of shoes which is as much about absence as it is the presence of the overly familiar.

My piece is (sort of) about the absence of a future: the kind of retro-future that some of us were

once so familiar with but which, of course, has never happened, and never will outside the pages of

books or on the screens of movies.

 

The Technical Stuff

 

I found an old pair of very cheap shoes that I'd bought a long time ago, worn once, and then decided

that my feet deserved better. Now I'm recycling them into a piece of sculpture. First job was to cut

holes in the soles. It wasn't too difficult - they're just a combination of soft and hard rubbery

material. Not particularly neat but then it doesn't show being underneath.

 

image

 

I then cut pieces of perforated circuit board to fit each shoe and wired up the LEDs.

 

The drive electronics of this is more or less identical to the first piece (The Long Way Round), again

with shift registers driving LEDs. This time, though, I'm using strings of LEDs to get the individual

bars and that necessitates a much higher LED voltage than the +5V from the Pi board. Having to have

the extra supply doesn't really detract from the look of the work because I can hide the power supply

under the table, or inside the plinth, once I build it.

 

image

 

Here are some pictures of the LED boards, the interface board, and finally the whole thing being

tested on the workbench.

 

image

 

image

 

image

 

image

 

image

 

The code is more complicated than it needed to be. I originally intended to feed a new (random) data

value into the shift registers on each step but, unfortunately, I wired the LEDs to the shift

registers in reverse order so, rather than bother to rewire them, I simply simulated the shift

register in the code and read out all 16 values each time.

 

import time
import RPi.GPIO as GPIO
import random
# set GPIO directions - all outputs
GPIO.setmode(GPIO.BCM)
GPIO.setup(14,GPIO.OUT) #clock
GPIO.setup(15,GPIO.OUT) #latch
GPIO.setup(18,GPIO.OUT) #data
# set initial state
GPIO.output(14,False)
GPIO.output(15,False)
GPIO.output(18,False)
# start off with LEDs off
ledData = [False,False,False,False,False,False,False,False,False,False,False,False,False,False,False,False]
# do forever
while True:
  for x in range(15,0,-1): # do for 15 LEDs
    ledData[x] = ledData[x-1]
  if random.randint(0,15) < 8:
    ledData[0] = True
  else:
    ledData[0] = False
  for x in range(0,16): # do for 16 LEDs
    GPIO.output(18,ledData[x])
    GPIO.output(14,True) # generate clock
    GPIO.output(14,False)
  GPIO.output(14,False)
  GPIO.output(15,True) # after all 16, latch on s/r outputs
  GPIO.output(15,False)
  time.sleep(0.05)
GPIO.cleanup()

 

Randomly driving the shift-register gives something reminiscent of a barcode flowing beneath the

shoes. A mesmerising flow of 'data' disappearing off into the past. The code part of this is so

trivial it could easily be made to work with a 50p microcontroller, which is probably how I'll adapt

the piece once I'm finished.

 

I probably lose a few points for originality with this slice, copying my own previous circuit, but

maybe I'll make up for it on the artistic side of things.

 

Now I need to think about what I'm going to do for Slice 5.

 

Here are links to the other slices:

 

9 Pieces of Pi: Slice 1: The Long Way Round

9 Pieces of Pi: Slice 2: Manifesto for Art Electronic

9 Pieces of Pi: Slice 3: Trickle Down to the Brave New World (This Way!)

 

I'm following along with this Design Challenge as an independent participant, not as one of the

challengers. I'm not entering the competition for the prizes.

  • Sign in to reply

Top Comments

  • genebren
    genebren over 6 years ago +1
    That is a pretty cool effect! But, I am not sure that those shoes would be very comfortable on your feet. Gene
  • shabaz
    shabaz over 6 years ago +1
    That looks awesome! Perfect for a store window display : )
  • jc2048
    jc2048 over 6 years ago in reply to genebren +1
    The right shoe would be very uncomfortable. That's got the Pi and the interface board in it.
  • jc2048
    jc2048 over 6 years ago in reply to shabaz

    Thank you. I would imagine someone somewhere has already done something similar but, if not, I've now gifted it to the world.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 6 years ago in reply to genebren

    The right shoe would be very uncomfortable. That's got the Pi and the interface board in it.

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

    That looks awesome! Perfect for a store window display : )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago

    That is a pretty cool effect!  But, I am not sure that those shoes would be very comfortable on your feet.

    Gene

    • Cancel
    • Vote Up +1 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