Skip to content

Southern Fried Science

Over 15 years of ocean science and conservation online

  • Home
  • About SFS
  • Authors
  • Support SFS

Charging the OpenCTD is annoying, so we fixed it.

Posted on April 9, 2024 By Andrew Thaler
Open Science

Last month, I wrote a heartwarming little story about how doing a fun weekend hardware project with my daughter led to fixing one of the most annoying non-critical problems with the OpenCTD. After a month of testing, we have fully implemented the new power management system into the next iteration of the OpenCTD.

Currently, there are hundreds of OpenCTDs scattered around the world that don’t have the new implementation, so in addition to updating the guide and files, I’ve spent the last few days putting together a hackers guide to upgrading your OpenCTD if you have the older rev 6 carrier board. This will, of course, all go up on the OpenCTD GitHub repository imminently, but, since the blog reaches far more OpenCTD users, I am also posting it in its entirety, here.

Enjoy!


OpenCTD Power Management Upgrade

One of the more frustrating problems with the current OpenCTD is that in order to charge, the device must be turned on. This is due to the use of an electromechanical switch that breaks contact with the battery to power down the device. The design results in users failing to charge their device if they forget to turn it on or producing massive, empty data files if their OpenCTD is left on and charging for long period of time. This is bad design. We can fix it.

Fortunately, we have developed a solution that has be implemented in the next revision of the OpenCTD carrier board. Unfortunately, almost all of the carrier boards currently in circulation are the OpenCTD rev 6 carrier boards with the annoying charging protocol. The good news is that we have a workaround.

If you have an OpenCTD custom carrier board labeled OpenCTD 7c, congratulations, you have the new and improved board. There are a few changes to the current build guide (Construction and Operation of the OpenCTD, Fourth Edition) that will make the build a tiny bit simpler. In Chapter 8 – Power the CTD, you can ignore steps 2 and 3, the two pins labeled J1 no longer exist and the power is routed through board to the EN pin on the Adalogger M0, the switch is also in a slightly different location.

Figure 1. OpenCTD 7c carrier board (board color can vary).

If you have an OpenCTD custom carrier board labeled OpenCTD rev 6, then you have the older power management solution that only charges the battery when the entire device is turned on. There are a few steps involved in re-routing the power management to make the board charge while the batteries are off. You will have to solder jumper wires between a few pins and break the trace which connects the Atlas EZO EC chip to the battery. To do this, you will need a knife, a soldering iron, wire cutters, and some short solid core or stranded wire to jump the pins.

Figure 2. OpenCTD rev 6 carrier board (board color can vary).

It is easiest to do this after you’ve populated the custom carrier board with header in Chapter 6.2 Prepare the Carrier Board.

Rerouting power to the Atlas EZO EC Chip.

The first step is to break the connection between the Atlas EZO EC chip and the battery so that you can connect it directly to the 3V3 output on the Adalogger M0.

  1. Expose the +BATT trace under the Atlas EZO EC chip. Using a knife scrape away the coating over the large trace that runs from the pin labeled +BATT on space the Atlas EZO EC chip. This trace is the only trace on the topside of the board between the two 3-pin headers for the EZO EC chip. You will know that you have scraped down far enough when you reveal the bare copper underneath.
  • Break the +BATT trace under the Atlas EZO EC chip. Using the same knife, scrape away the copper trace, as shown in figure 3, to break the connection between the EZO EC chip and the battery.
Figure 3. OpenCTD rev 6 board populated with headers, resistors, and the 3-pin switch, with the trace connecting the Atlas EZO EC chip to the battery pin broken.
  • Jump the +BATT pin to the 3V3 pin for the Adalogger M0. On the reverse side of the board, solder a lead wire to the +BATT pin for the Atlas EZO EC chip and the pin labeled 3V3 on the headers for the Adalogger M0. Refer to figure 4 below.

Redirecting the 3-pin toggle switch to GND and EN

Neither GND nor EN are labeled on the Rev 6 custom carrier board, but both are labeled on their corresponding pins on the Adalogger M0, which can be used for reference.

GND is the fourth pin from the left on the longer of the two pin rows for the Adalogger M0. If you flip the board over, you will see that the traces for the GND pin form an X, connecting the pin to the universal ground for the board.

EN is the second pin from the left on the shorter of the two pin rows for the Adalogger M0. It is next to the pin labeled +BATT. EN is short for “engage” and it is a signal pin which tells the board to turn on when the pin is connected to GND.

  1.  Connect one of the pins labeled J1 to GND. It does not matter which of the J1 pins you route to the pin labeled GND on the headers to the Adalogger M0. Refer to figure 4 below.
  • Connect one of the pins labeled J1 to EN. Route the unused J1 pin to the header pin for EN, which is to the right of the pin labeled +BATT. This pin is unlabeled on the carrier board but its corresponding pin on the Adalogger M0 is labeled. Refer to figure 4 below.
Figure 4. Reverse side of OpenCTD rev 6 carrier board with the necessary jumper cables to enable power of charging.

Your board is now ready to charge, even when powered down. Populate the board with components according to the manual and plug the battery directly into the JST connector. You no longer need to cut the battery wire.  

Congratulations, you’ve just hacked your OpenCTD for improved functionality!

A new 3D printable chassis will shortly be available on the OpenCTD GitHub Repository. It replaces the existing chassis and work with either board.

Share this:

  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Facebook (Opens in new window) Facebook
  • Share on Reddit (Opens in new window) Reddit
  • Share on Threads (Opens in new window) Threads
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon

Related

Tags: hacking how-to OpenCTD soldering

Post navigation

❮ Previous Post: Space Crabs, Big Boats, and Fake Sharks: What you read on Southern Fried Science in March
Next Post: Here’s what I teach my students about finding jobs in marine biology and conservation ❯

You may also like

Weekly Salvage
“We’re in the midst of a sea change in who has access to the core tools of marine scientific research,” Weekly Salvage: November 11, 2019
November 11, 2019
Education
Comparing the OpenCTD to a YSI Castaway
September 21, 2024
Uncategorized
Watch Blue Pints Episode 6: Science Online Oceans and Hacking the Ocean
April 30, 2013
Uncategorized
Watch Blue Pints Episode 9: Building a low cost open-source CTD and why dolphins make terrible midwives
May 27, 2013

Popular Posts

I can serve on your graduate thesis committee. Here’s what you can expect of me, and what I expect in return.I can serve on your graduate thesis committee. Here’s what you can expect of me, and what I expect in return.October 16, 2025David Shiffman
Marine Biology Career AdviceMarine Biology Career AdviceMay 30, 2025David Shiffman
Shark of Darkness: Wrath of Submarine is a fake documentaryShark of Darkness: Wrath of Submarine is a fake documentaryAugust 10, 2014Michelle Jewell
Severely injured great white shark found, are scientists responsible?Severely injured great white shark found, are scientists responsible?March 29, 2011David Shiffman
Florida angler catches (and likely kills) Endangered great hammerhead sharkFlorida angler catches (and likely kills) Endangered great hammerhead sharkFebruary 13, 2012David Shiffman
What Ocean Ramsey does is not shark science or conservation: some brief thoughts on "the Shark Whisperer" documentaryWhat Ocean Ramsey does is not shark science or conservation: some brief thoughts on "the Shark Whisperer" documentaryJuly 2, 2025David Shiffman
Walking Backwards Into the Future: Applying Indigenous Knowledge to Deep Sea MiningWalking Backwards Into the Future: Applying Indigenous Knowledge to Deep Sea MiningFebruary 5, 2026Angelo Villagomez
Full video of injured shark shows numerous natural injuriesFull video of injured shark shows numerous natural injuriesMay 3, 2011David Shiffman
What does the new species of hammerhead mean for shark science and conservation?What does the new species of hammerhead mean for shark science and conservation?November 11, 2013David Shiffman
I'm getting married! Want to honor us? Here are some great charities you can donate to.I'm getting married! Want to honor us? Here are some great charities you can donate to.January 23, 2026David Shiffman
Subscribe to our RSS Feed for updates whenever new articles are published.

We recommend Feedly for RSS management. It's like Google Reader, except it still exists.

Southern Fried Science

  • Home
  • About SFS
  • Authors
  • Support SFS


If you enjoy Southern Fried Science, consider contributing to our Patreon campaign.

Copyright © 2026 Southern Fried Science.

Theme: Oceanly Premium by ScriptsTown