element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
GIZMO 2
  • Products
  • Dev Tools
  • Single-Board Computers
  • GIZMO 2
  • More
  • Cancel
GIZMO 2
Blog Hadron Vortex G2 - Light chaser mod
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join GIZMO 2 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 12 May 2015 10:34 AM Date Created
  • Views 1362 views
  • Likes 5 likes
  • Comments 4 comments
  • RoadTest
  • vortex_g2
  • test_equipment
  • lucie_tozer
  • tektronix
  • gizmo2
  • tbs1202b-edu
  • test_and_measurement
Related
Recommended

Hadron Vortex G2 - Light chaser mod

Former Member
Former Member
12 May 2015

In it's initial build, the console is going to have a nightrider style light chaser on the top to act as a disk activity monitor. There are plenty of other animation styles that can be used but for the proof of concept, I stuck to just the light chaser that moves forwards and backwards.

 

The light monitor is being treat as an event driven animation. the first part of the video shows the animation being controlled independently by a setInterval function which in turn repeatedly calls another function that increments through the animation frames.

 

In the second part of the video, the animation being driven by the same signal that controls a single led on Gizmo2. This is achieved by making a connection from that led to an input pin on the Espruino. A setWatch function monitors the state of that pin and calls the function to increment the animation frames if it detects a change on the falling edge of the signal.

 

The system is using an Espruino that receives input from Gizmo2's disk activity led pin, handles the processing then communicates with an mcp23017 i/o port expander through an i2c bus to change the state of the led display.

 

Currently, the mcp23017 is connected to a bar graph led display for testing, but will be connected to a much larger display for the console build.

 

Throughout the video, I'm using a Tektronix TBS1202B oscilloscope to monitor the i2c bus in action (see how the i2c command sequence matches up to the led outputs). The oscilloscope is also used to capture the disk activity straight from the led output and investigate the signals.

 

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

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 10 years ago +1
    I've yet to watch the entire video, but I looked through bits of it - very neat trick to get the animation from the Gizmo2 board like that!! It works very well!!
  • Former Member
    Former Member over 10 years ago in reply to shabaz +1
    Thanks I'm thinking about capping the speed somehow, whether in software or with a hardware low pass filter I haven't decided yet... I also want to investigate tapping off usb signals through an opamp…
  • fustini
    fustini over 10 years ago +1
    Nifty! *all* computers should have LED bar graphs
  • Former Member
    Former Member over 10 years ago in reply to fustini

    agreed! feedback on computers is boring!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 10 years ago

    Nifty!

    *all* computers should have LED bar graphs image

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

    Thanks image I'm thinking about capping the speed somehow, whether in software or with a hardware low pass filter I haven't decided yet... I also want to investigate tapping off usb signals through an opamp buffer to do something similar, it might not work as elegantly but it's going to be fun trying!!

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

    I've yet to watch the entire video, but I looked through bits of it - very neat trick to get the animation from the Gizmo2 board like that!!

    It works very well!!

    • 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