You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Did you ever set pinMode(pin,"mode") of C9 to "output"?

    If not, it is still on automatic setting mode, which means that a write makes it an output, and a read makes it an input... and as soon the read happens, the 'feeding' of your circuitry with power stops.

    Furthermore, I think, you may need to put a power driver in there... either a PNP or PMOS thing to get more juice to the circuitry while pin is high (active switching/feed). This allows you then also to feed directly from the battery - or even higher voltage source, if you desire so. Higher voltage source requires a little different circuitry (pin low, passive switching/feed).

About

Avatar for allObjects @allObjects started