JJ2430
Member
Thanks for the feedback guys.
Mike, I'm not getting clicks or unwanted motion from solenoids on power-up. Before reaching the end of my tests I had unexpected solenoid activation or solenoid staying on upon button press but I discovered that it was due to a bad grounding: all components were connected to common ground but gate driver's ground pin was not connected to Uc's ground, which in itself was a dumb mistake since the circuit loop between Uc and gate driver was not close (see in my schematic the connection between common ground and uc ground). That drove me mad for days--seeing the motors behaving erratically without knowing why-- until I added that simple connection. After that the whole system became very stable. But I'll try your suggestion of using GPIO 4/5 instead of 23 and placing resistor between connection to IN A and ground. It'll surely be more suitable in the long run. I also burned my Wemos Uc during one of my latest tests when I did the plug-out phase of my final pcb with parts soldered. I inadvertently let the Uc's pin 23 2V wire end touch a 12V connection on the pcb and it fried the Uc's chip. Current seem to have found a way back to board chipset. Dumb unlucky mistake... A new Wemos is on the way. I might be incorporating the opto between GPIO and IN A after all, just to make sure it doesn't happen again.
As for the battery I'll indeed use extra caution. I heard many bad experiences after mishandling of these cells. This is why I want to triple check all the solutions. I lean towards using the Dewalt since it provides 6 amps which is what I need to drive my 2x2.5A solenoids. But this battery pack is 20V, I didn't find 12V packs that provide 6A. That means that I have to remove 4 batteries to drop it's voltage to 12 while keeping the parallel pairs to maintain 6A. I'm not sure how the pack's bms pcb will react to that since it seems to be designed for 10 batteries, not 6 (see image below). I'm not sure what is the safest route: buying 18650 batteries from known reputable source and a good bms system that we can easily find for those, or continue with the Dewalt pack and venture on a path that is uncertain.
Mike, I'm not getting clicks or unwanted motion from solenoids on power-up. Before reaching the end of my tests I had unexpected solenoid activation or solenoid staying on upon button press but I discovered that it was due to a bad grounding: all components were connected to common ground but gate driver's ground pin was not connected to Uc's ground, which in itself was a dumb mistake since the circuit loop between Uc and gate driver was not close (see in my schematic the connection between common ground and uc ground). That drove me mad for days--seeing the motors behaving erratically without knowing why-- until I added that simple connection. After that the whole system became very stable. But I'll try your suggestion of using GPIO 4/5 instead of 23 and placing resistor between connection to IN A and ground. It'll surely be more suitable in the long run. I also burned my Wemos Uc during one of my latest tests when I did the plug-out phase of my final pcb with parts soldered. I inadvertently let the Uc's pin 23 2V wire end touch a 12V connection on the pcb and it fried the Uc's chip. Current seem to have found a way back to board chipset. Dumb unlucky mistake... A new Wemos is on the way. I might be incorporating the opto between GPIO and IN A after all, just to make sure it doesn't happen again.
As for the battery I'll indeed use extra caution. I heard many bad experiences after mishandling of these cells. This is why I want to triple check all the solutions. I lean towards using the Dewalt since it provides 6 amps which is what I need to drive my 2x2.5A solenoids. But this battery pack is 20V, I didn't find 12V packs that provide 6A. That means that I have to remove 4 batteries to drop it's voltage to 12 while keeping the parallel pairs to maintain 6A. I'm not sure how the pack's bms pcb will react to that since it seems to be designed for 10 batteries, not 6 (see image below). I'm not sure what is the safest route: buying 18650 batteries from known reputable source and a good bms system that we can easily find for those, or continue with the Dewalt pack and venture on a path that is uncertain.
Last edited: