Difference between revisions of "Blinking Blues"

From OpenCircuits
Jump to navigation Jump to search
Line 8: Line 8:
  
 
== What I Expect ==
 
== What I Expect ==
 +
 +
The blinks I worked with for this investigation were all in the 1 to 10 ms or so period time frame.  I used only the microsecond built in functions.  I expected that the timings would:
 +
 +
* be repeatable in the range of a few microseconds.
 +
* be accurate in the range of 10 to 20 microseconds.
  
 
== What I Found ==
 
== What I Found ==

Revision as of 08:41, 1 January 2017

Having some trouble with arduino blink. Will write up here. Draft now, not enough to really be of use to anyone but me.

Origin

I have been messing about with steppers and simple drivers for some time. Recently I put a logic analizer into use and noticed that the switching wave forms were a bit off. Simplifying this I went back to the basic blink and took a look at it. It also had some anomolies. This began an investigation of various blink code and the results. So far I have not found code that gives good results. In this investigation I am focusing on using pulses with half periods of 500 and 5000 micro ( not milli ) seconds.

Blink

What I Expect

The blinks I worked with for this investigation were all in the 1 to 10 ms or so period time frame. I used only the microsecond built in functions. I expected that the timings would:

  • be repeatable in the range of a few microseconds.
  • be accurate in the range of 10 to 20 microseconds.

What I Found

What I Tried

Things Yet to Try

Some Results

Test Setup

Logic sniffer is the dangerous prototypes single board device http://dangerousprototypes.com/docs/Logic_Sniffer_101

Measurement taken using the cursor measurement, finding some good pulses at the beginning and then visually scanning, then measuring for bad pulses later on. All recorded to a spreadsheet, that will be uploaded here.


Who I Told

Links I Read