An interactive calculator for solar panel charging calculations, built with React and TailwindCSS.
- Real-time calculation of charging parameters
- Interactive inputs for solar panel specifications
- Battery configuration options
- Automatic current calculation based on voltage and power
- Charging time estimation in hours and days
- Example case study with common configurations
- React 18
- TypeScript
- TailwindCSS
- Vite
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Enter your solar panel specifications:
- Voltage (V)
- Power (W)
- Input battery details:
- Single battery capacity (mAh)
- Number of batteries
- View the results:
- Charging current (mA)
- Total battery capacity
- Estimated charging time
The calculator uses these fundamental electrical formulas:
- Current (A) = Power (W) / Voltage (V)
- Charging time (hours) = Battery Capacity (mAh) / Charging Current (mA)
Feel free to open issues and pull requests for any improvements or bug fixes.