arachnidlabs / reload-pro

Schematics and code for the Re:load Pro
http://www.arachnidlabs.com/reload-pro/
Apache License 2.0
98 stars 32 forks source link

Current sequence #67

Closed knarfS closed 9 years ago

knarfS commented 9 years ago

There should be a way to set a current sequence via serial command and perhaps via menu. The command could look something like this:

sequence N current1 time1 ... currentN timeN repeat

Where

Further ideas for the sequence function:

Arachnid commented 9 years ago

I'm quite conscious of the limited amount of flash available for new features. Is there a compelling reason this should be built-in rather than controlled from the PC end?

knarfS commented 9 years ago

Hi Nick,

the only two reasons I can think of:

  1. To make it independent from a PC (not very important, I think).
  2. If the POSC4 have a RTC: To make the time steps more accurate.

But if you are running out of flash memory, the limited space should be used for more important things. When PC controlled the accuracy should be no big deal, but the trigger functions should imo be firmware controlled to make it independent and fast. I will think about the trigger functions and will open a new entry, when I have an idea :)

Arachnid commented 9 years ago

Yes, trigger functions are a reasonable idea. Others have suggested supporting VI curves, too, though that introduces potential issues with feedback loops!

knarfS commented 9 years ago

Are the VI curves a reference to issue #68? Otherwise I don't get the point :)

Arachnid commented 9 years ago

The point was to emulate devices like LEDs, whose current consumption rises with voltage.