element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog Just Encase Solar Super Capacitor - Design - Blog 3
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 20 Jan 2022 4:17 AM Date Created
  • Views 1673 views
  • Likes 10 likes
  • Comments 3 comments
  • doug wong
  • super capacitor
  • solar cell
  • weather station
  • just encase
Related
Recommended

Just Encase Solar Super Capacitor - Design - Blog 3

dougw
dougw
20 Jan 2022

image
Interface Circuit Design

imagePower Management Circuit Description
The power management circuit allows periperal power to be turned off when the peripherals are not being used.
Q3 controls power to the temperature sensor and the capacitor voltage monitor while Q1 controls power to the Bluetooth module.
Q2 allows V+ (which is 3.3V) to turn on Q4 (which is switching super capacitor voltage) when peripheral power is active. Q4 connects super capacitor voltage to a voltage divider that connects to an A/D input. The voltage divider is needed because the capacitor voltage can exceed the maximum A/D input voltage.
U3 is a low current, low drop-out linear regulator that consumes 2 microamps while outputing 3.3 volts. This isn't terribly efficient (63%) when the super capacitors are fully charged, but efficiency increases as the capacitor voltage decreases, reaching about 94% when they are sufficiently discharged. I actually purchased a switching regulator that is slightly more efficient on average than this one, but decided this performance was adequate for my application.
The Schottky diode (D1) protecting the solar cell for external chaging of the super capacitor probably isn't needed and will be shorted out if this is the case.
J4 allows the voltage of one of the super capacitors to be directly monitored, eleminating the need for Q2 and Q4, but is not needed if those transistors are installed.
J 6 allows an external source to initially charge up the super capacitors before turning on power to the circuit using switch S1.
Hopefully the serial Tx pin driving R2 can be set low when the Bluetooth module is turned off, but the R2 resistor is there to limit current in case it isn't easy to do this.

Note that the interface includes connections for a Bluetooth module.

Power Management Booster Pack PCB Layout

imageVideo of Main Project Components & Preliminary Firmware

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Preliminary Firmware - LCD

//
//  Super Capacitor Weather Station
//
//
//  Author :  Doug Wong
//  Date   :  2022
//  Version:  1.00
//  File   :  SuperCapWeather.ino
//
//

// Include application, user and local libraries
#include "SPI.h"
#include "OneMsTaskTimer.h"
#include "LCD_SharpBoosterPack_SPI.h"

// Variables
LCD_SharpBoosterPack_SPI myScreen;
uint8_t myOrientation = 0;
uint16_t myCount = 0;
uint16_t TMP = 23;
uint16_t MV = 5400;

#define LCD_VERTICAL_MAX    myScreen.getSize()
#define LCD_HORIZONTAL_MAX  myScreen.getSize()


// Add setup code
void setup()
{
    Serial.begin(9600);

    myScreen.begin();
    myScreen.clearBuffer();

    myScreen.setFont(0);
    myScreen.text(4, 4, "Super Capacitor");
    myScreen.text(4, 20, "Weather Station");
    myScreen.text(26, 40, "T: 22");
    myScreen.text(20, 60, "mV: 5300");
    myScreen.text(64, 84, "DougW");
    myScreen.flush();

    for (uint8_t i = 0; i < 20; i++)
    {
        delay(100);
    }

}
void loop()
{
     myScreen.text(44, 40, String(TMP));
     myScreen.text(44, 60, String(MV));
     myScreen.flush();
     
    for (uint8_t i = 0; i < 20; i++)
    {
        delay(100);
    }
}

Super Capacitor Protection Circuit Description

image

imageThe TL 431 is a shunt regulator that abruptly conducts when the voltage at its reference pin exceeds 2.5V. This turns on both transistors, clamping the voltage at about 2.7 volts in this case. R1, R2 an Q1 dissipate any power needed to clamp the voltage. In my system, the current won't exceed 100 mA, so the power that converts to heat in these components at each capacitor will be less than 0.27W. I still need to confirm the accuracy of this protection circuit in my application.

Project Status
The interface schematic is complete.
The PCB layout is complete.
The PCB has been fabricated and it has arrived.
The solar cell has been tested and characterized.
The wiring diagram is complete.
The super capacitors have been tested.
The capacitor protection circuit has been analyzed and tested.
Preliminary firmware to place data on the LCD has been written and tested.

Next Steps
Design the chassis to hold all components in place
Assemble the power management PCB
Test the power circuitry
Write firmware to test circuit connections and sensors

Relevant Links

Just Encase Solar Super Capacitor Experiment - Blog 1
Just Encase Solar Super Capacitor - Project Outline - Blog 2
Just Encase Super Capacitor Solar Weather Station - Design - Blog 3
Just Encase Super Capacitor Solar Weather Station - Assembly - Blog 4
Just Encase Super Capacitor Solar Weather Station - Bluetooth - Blog 5
Just Encase Super Capacitor Solar Weather Station - Indoor Operation - Blog 6
Just Encase Solar Super Capacitor Weather Station - Outdoor Tests - Blog 7


Just Encase Design Challenge
Tube Amp using Hammond transformers
GPS location and distance tracking using LoRa on a MKR WAN 1300

  • Sign in to reply

Top Comments

  • DAB
    DAB over 3 years ago +1
    Nice update Douglas.
Parents
  • DAB
    DAB over 3 years ago

    Nice update Douglas.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 3 years ago

    Nice update Douglas.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube