ClockGen SysTime & Display Server

Three demos in one:
Clock Generator, System Time & Display Server

  1. Musical clock flow generator
    • Settable tempo (8~300BPM)
    • Displays the beats, measures and clock ticks (in 4/4)
    • Generates clock-control commands
    • The clock flow can be sent to one or more destinations
  2. Global System Time Generator
    • Provides a common time reference for the entire setup
  3. Display Server
    • Provides a (temporary) display service for other equipment
    • Offers a set of standardized editing buttons


Usage

The Clock Generator is a generic reference for tempo related applications.
The messages generated can be used equally by CopperLan and MIDI destinations.
Several clocks can be sent simultaneously to a single CopperLan destination. When sent to MIDI, the latest connected clock flow discards any previous clock connection made to that same destination.

The System Time Generator demonstrates how to declare such device on the network. There is only one such reference per setup, the network arbitrate automatically according priority information.
This demo has a priority above the one set by default in the CopperLan package on computers or other embedded CopperLan equipment.

The Display Server is demonstrating how a generic display can be (temporarily) assigned to a another piece of equipment that lacks a display.
The equipment needing a display broadcasts his request on the network. The user sees this request on any equipment with a Display Server facility and confirms his choice on one of them. At this point, a display-related communication is established between the two members.
In this demo, we have also implemented a set of standard controls that can act in parallel with the controls found on the requester.
Once the remote display is no longer needed, it can be released and returned to his normal duty.



CopperLan concepts implemented

  • Global Time reference
  • Clock Generator
  • Clock Controller
  • Shared Display Server
  • Remote parameter editing



Variations

As it is, the Clock Generator counts bars in 4/4. This could be made variable and editable remotely as are the start/stop/continue commands.
The tempo increment and decrement buttons could benefit from acceleration when held.

The Display Server could be improved by accepting more than a single line or by implementing an auto-scroll function when there are more characters than allowed by the display limit.



Hardware

Shield manufacturer DF Robot
Shield model LCD Shield
Manufacturer reference   DFR0009
Notes Can be used as is


Video



Download the demo code


Legal aspects

All you need to know about Copperduino Legal aspects

Install CopperLan

Visit our forum

Give us your feedback and share your knowledge with the community