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
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog PiCasso Design Challenge - POV Globe Blog 12
  • 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: dwinhold
  • Date Created: 31 May 2019 2:13 AM Date Created
  • Views 1792 views
  • Likes 12 likes
  • Comments 12 comments
  • pov globe
  • picasso design challenge
  • led
  • dwinhold
Related
Recommended

PiCasso Design Challenge - POV Globe Blog 12

dwinhold
dwinhold
31 May 2019

Today I have an update of the POV globe. I spent some more time trying to program the lights to produce random colours. This was very successful as you will see with the photos below. I included the Python3 script.

 

import board
import random
import neopixel
import time
x = 0
pixels = neopixel.NeoPixel(board.D18, 72) #Setting the output pin to 18 and setting up 72 LEDs
while True:
 pixels[x] = ((random.randint(1, 255)), (random.randint(1, 255)), (random.randint(1, 255)))  #Randomise colour
 time.sleep(.01) #Delay 100th of a second
 x = x + 1
 if x > 71: #Since there are 72 LEDs reset to the start
  x = 0

 

The script isn't very long but works great!!

 

I have been working on programming the planet but that will be an all summer job. I created a graph to show how much work it will be to program. I divided the world into a grid so I can address the LED's correctly to display the world. And yes, I did draw this out myself...

 

image

 

Below are photos of the new script running on the globe. Hope you enjoy!!

 

image

 

image

 

image

 

As you can see, in each photo the LEDs are a different colour. I love sitting and watching the globe, it is hypnotizing.

 

Thank you for reading

 

Dale Winhold

  • Sign in to reply

Top Comments

  • dougw
    dougw over 6 years ago +6
    This is a fabulous project with outstanding execution. Photographing flashing LEDs will always be highly problematic. If you can get a static pattern and take a time exposure through dark sunglasses, the…
  • dixonselvan
    dixonselvan over 6 years ago +4
    dwinhold wow really the LEDs are hypnotizing! Hope there should be an easy way to implement the world map in the globe. I assume the below can be a way we can implement it, 1. Take an image of the world…
  • jc2048
    jc2048 over 6 years ago +4
    Very nicely done - I wish I had your construction skills. It's going to look quite superb when you have the globe spinning in there. How does the Pi know where it is when it's displaying? Do you have a…
  • dougw
    dougw over 6 years ago in reply to dwinhold

    Maybe you can start with something simpler - like a baseball. It will be even more awesome when you have a whole library of displays...

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 6 years ago in reply to balearicdynamics

    I really appreciate the offer and will take you up on it. Thank you very much

     

    Dale

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 6 years ago in reply to dwinhold

    Thank you for your detail Dale. If you have no problem, next week I am a bit more free we can chat about the most efficient method to represent your drawing. via an algorithm, There are a couple of math solutions I have in mind and I think it is worth to try them.

     

    Enrico

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 6 years ago in reply to balearicdynamics

    Hi Enrico,

    My reply was to the 2nd part of your question (It was to early to think past that for me (4:30am)) image I am trying to think of an easy way to program all the pixels without having to do 1 column at 1 pixel at a time. This would be 72 LED's per column and 143 pixels per row (That is 10296 pixels). The other thing I realized is as the map moves towards the north and south pole the pixels get closer together, so I have to space the pixels further apart in order for the map not distort. Creating the map will definitely challenge my programming abilities, but that is the only way I will get better and learn more (Even at my age.....) I am open to any and all suggestions!!

     

    Dale

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 6 years ago in reply to dwinhold

    Dale, I mean what is your approach to control the neopixels representing the globe.

    • 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