How to set curr_range to more than 1000uA?



  • When I'm trying to set the current range to more than 1000uA, I get an invalid current error. Unfortunately, I couldn't find in the documentation how to increase it to higher values. I tried 1500uA and 1.5mA and neither work.

    Thanks in advance.



  • @Babak

    With the default hardware and hardware there are four current ranges +/- 1, 10, 100 and 1000 uA. So +/-1000uA is the maximum allowed current range. It is possible to change this but it requires a hardware modification and firmware modification. You won't be able to set higher than 1000uA without these changes. You would need to make these modifications yourself. There are some forum notes on increasing the current range here http://forum.iorodeo.com/topic/67/increasing-current-ranges-to-detect-ma The firmware modifications can be enabled by uncommenting the the #define CURRENT_VARIANT_MILL_AMP and commenting the #define CURRENT_VARIANT_MICRO_AMP in the ps_hardware_variant_defs.h file https://github.com/iorodeo/potentiostat/blob/master/firmware/libraries/potentiostat/ps_hardware_variant_defs.h You then need to reflash the firmware.



  • Any object can be tested for truth value, for use in an if or while condition or as operand of the Boolean operations below. The following values are considered false:

    None

    False

    zero of any numeric type, for example, 0, 0.0, 0j.

    any empty sequence, for example, '', (), [].

    any empty mapping, for example, {}.

    instances of user-defined classes, if the class defines a bool() or len() method, when that method returns the integer zero or bool value False. [1]

    All other values are considered true — so objects of many types are always true.

    Operations and built-in functions that have a Boolean result always return 0 or False for false and 1 or True for true, unless otherwise stated. (Important exception: the Boolean operations or and and always return one of their operands.)


Log in to reply