I am at my wits end;
I cannot find the problem with my Arduino device! I have a device that turns on a light and a small stepper motor every 10 min. I have been using it for a year with no problems. I decided to add a feature that involves turning “on” pin seven and then throwing a switch to run the pin to ground or “off”. The device with my alteration works great, as long as I have the pro mini plugged in to my lap top, the device stops working the instant I disconnect from the computer.
What in the world is going on? I turn “on” the seventh pin with a command in “setup” and turn it “off” via a switch to ground. Other than the one change everything else is as it has been for a year. I am using the pro mini @3.3VDC, powered by two 3400 ma lithium ion 16850B cells in parallel for 3.7 to 4.2 volts into the “raw” pin on the mini. The device will draw 110 ma in stand by and 560 ma while running the motor and light. Thanks in advance for any and all help or suggestions you may have.