In another thread a question came up about modding the DS3231 ZS-042 module so it can be used to switch circuit power. So I decided to post separately to make future searches easier. Here's the story:
The INT/SQW pin of the DS3231 RTC can be used to switch circuit power on at the pre-set alarm time. That pin is open drain, and goes low when the alarm triggers. That action can then turn on a P-channel mosfet which controls power to the entire circuit. This may be better for battery life if there are parts of the circuit that cannot effectively be put to low-current sleep. Here is a schematic showing such a power switching circuit:
The DS3231 typically comes in a "ZS-042" module which also includes an EEPROM and a backup coin cell. Three or four modifications may be needed to make the module work well, or at all, in controlling power. Three can be done by cutting traces. The modifications are shown in red in this schematic of the module:
This circuit works because the INT/SQW pin stays low after the alarm triggers until the alarm flag bit is reset. The Arduino powers up and does its thing, then turns on Vcc to the DS3231 and sets the next alarm time. (You must have power at the module's Vcc pin to communicate because the pullup resistors on SDA and SDL connect to Vcc.) Then the processor sends the command to clear the alarm flag, and the power shuts down. Some DS3231 libraries have the bad habbit of clearing the alarm flag automatically as a part of other processes, such as setting the next alarm time. If so, it may be necessary to modify the library code.
The choice of P-channel mosfet will depend on the battery voltage and the circuit's current requirements. For the N-channel mosfet in the high-voltage circuit, I believe a 2N7000 or BS170 would work ok, but something with a threshold voltage closer to 1V might work better as the coin cell voltage drops over time. I believe there are complimentary pair P-channel and N-channel mosfets in a single package that would be perfect for the high-voltage circuit. Hopefully someone will post some part numbers.
Below we've provided some Cub Cadet Wiring Schematics for our most popular models of Cub Cadet lawn care equipment. These schematics are for reference purposes only - when you are ready to purchase a specific part, please type that number into the search box above. If you need assistance looking up an exact part number, you can click 'Part Lookup' on the main menu to use our advanced Cub Cadet parts search, or use our 'Live Chat' feature to speak with one of our part experts. In addition to these Cub Cadet Spec Sheets, you can also view a number of Cub Cadet Manuals for some of the most popular Cub Cadet outdoor power equipment.
Just wanted to add that this simple config also worked for me. However, I do have another form of this module, which is not meant to be used with an RPi, and is meant to be used with a rechargeable CR2032 battery.
Talking about this thing:
image800800 106 KB
I had a similar experience with the cheap zs-042 modules that can be found on ebay. They keep good time but the charging circuit must be disabled. I made a blog post about it which I have included here.
The ZS-042 module is a very cheap DS3231 breakout board. Common on eBay and Amazon units can be had for less than a dollar. It is a bonus that the module comes with a 4K eprom as well. In my experience these units work well as a clock but damage the LIRC2032 battery that it is supposed to keep charged. I used one with the charger enabled for about a month and found the LIRC2032 had swollen and would not take a charge. So to use these ZS-042s the charging circuit needs to be disabled and a standard CR2032 battery used instead.
There are a lot of discussions on the net about this module. The best discussions can be found at the Arduino forum, the Cave Perl Project and One Transistor . All three sites discuss the charging circuit issue but the Cave Perl Project offers advice on how to make the board more power efficient. One Transistor gives a detailed explanation as to why the charging circuit is a problem on this board.
The following schematics are free of charge and available for your sole use by registering as a user. We ask that you do not distribute these without prior consent from Jensen Transformers Inc. We thank you for your support and understanding.
Find your BadBoy mower parts here. The categories have been sorted according to each part it is associated with. If you don't know the part number you need, check out our Serial Number Lookup or parts lookup function to search diagrams for your Bad Boy mowers. You will find our diagrams and schematic views of all of the Bad Boy mowers. Our interactive diagrams allow you to choose your year and model, then select the section for the mower you are working on. We are your Bad Boy Zero Turn mower parts source. If you have any problems finding the Badboy parts in the list below, please call us at 318.654.8520 or text us. We are happy to help you find the Bad Boy Mowers parts, and Bad Boy Accessories you need. Thanks for shopping with us for all your Bad Boy Mower parts online needs.
Find all of your fast moving parts here. We have the Belts, blades, deck wheels, dust covers, oil drains, PTO clutches, pulleys, service kits, deck spindles, and springs for your Bad Boy mower. Here at BadBoyMowerParts.com keep all of the hard to find Bad Boy Mower Parts in stock and ready to ship. Bad Boy Lawn mower parts are what we specialize in and deal with on a day in day out basis. If you are having problems finding your parts use our Bad Boy parts lookup to find what your looking for. Our detailed mowers parts diagrams list all the parts you will need to rebuild your Bad Boy Mower near me.
At BadBoyMowerParts.com, we have the full line of Bad Boy accessories you need. We have the options to make your mower stand out from the rest. Whether you are looking for an accelerator grass catcher, advanced chute system, bagger, mulch kit, cargo basket, hitch, trash bucket, Bad Boy rops, mount assist handle or a light kit, we have all of the Bad Boy Mower Accessories. If you are not looking for Bad Boy Mower Attachments but need parts, we have the Bad Boy parts diagrams for your mowers, including the Rambler, MZ Magnum, ZT Avenger, ZT Elite, Maverick, Maverick HD, Rebel, Rogue, Renegade, AOS, CZT, PUP, Lightning, MZ models, Outlaw Series, Stand-On, ZT Limited and, more.. Find all of your Bad Boy Mowers accessories here. Don't forget we have Free Shipping on orders over $100! Thanks for shopping with us for all of your Bad Boy parts and accessories needs. If you have any problems finding the parts in the list below, please call us at 318.654.8520 or text us.
You have selected the Hydraulic Pumps & Wheel Motors diagram for your 2016 Bad Boy Outlaw XP. BadBoyMowerParts.com has the diagrams you need for the 2016 Outlaw XP models. Find all of your Bad Boy parts for your 2016 Outlaw XP parts here. We are your Bad Boy mower parts source. The Bad Boy parts diagram below is for the 2016 Outlaw XP Hydraulic Pumps & Wheel Motors . If you are not able to find the Bad Boy parts for your 2016 Outlaw XP please contact us using our Bad Boy parts live chat or toll free at 318.654.8520. Thanks for shopping with us for all of your Bad Boy parts needs.
c80f0f1006