Remember the swing velocity is a (co)sine function. The highest speed is in
the zero crossing the tops are the left and right ends of the swing with a
speed zero.
 
eric

  _____  

From: neonixie-l@googlegroups.com [mailto:neonixie-l@googlegroups.com] On
Behalf Of Bill van Dijk
Sent: zaterdag 22 februari 2014 16:31
To: neonixie-l@googlegroups.com
Subject: [neonixie-l] Math wizzards....



Hello,

 

I have built a clock controlled by a PIC with 6 numitrons in the centre.
Around them is a circle of 60LEDs which are programmed to display a number
of different patterns. I am currently working on a pendulum pattern which
uses the lower 30 LEDs. I have the software done, the challenge is this:

 

A pendulum has a period and an angular velocity that changes from 0 at the
ends, and maximum in the center, following an equation. In the software I
currently have 36 time slices (program steps, 0 to 35) in a half period of
107 clock cycles, for a total of 3852 cycles for one swing (left or right). 

 

Looking at one swing, my challenge now is to divide the 36 program steps of
107 clock cycles such that the total number of clock cycles remains 3852,
but the actual number of clock cycles per step are divided such as to
approximate the equation of one pendulum swing  (left or right). 

 

Anyone willing to take a stab at this?

 

Bill van Dijk

-- 
You received this message because you are subscribed to the Google Groups
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to neonixie-l+unsubscr...@googlegroups.com.
To post to this group, send an email to neonixie-l@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/neonixie-l/002101cf2fe3%242ae9c9c0%2480bd5
d40%24%40com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To post to this group, send an email to neonixie-l@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/!%26!AAAAAAAAAAAYAAAAAAAAAPDddShx705MuX20yCpp0vvCgAAAEAAAAPGcVbt7i2JNk%2B0ud8ipvKsBAAAAAA%3D%3D%40zeelandnet.nl.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to