A comprehensive web-based electronics calculator application designed for breadboarding and circuit design, specifically tailored for working through "Make Electronics: Third Edition."
- Ohm's Law Calculator - Calculate voltage, current, resistance, and power
- LED Current Limiting Resistor - Determine resistor values for LEDs with presets for common LED types
- Voltage Divider - Design voltage divider circuits with quick presets (5V→3.3V, etc.)
- Resistor Combinations - Calculate series and parallel resistor combinations with dynamic add/remove
- 555 Timer - Both astable (oscillator) and monostable (one-shot) modes
- RC Time Constant - Charging/discharging calculations with visual curve graph
- Capacitor Calculator - Series/parallel combinations and energy storage
- BJT Transistor Calculator - Base resistor calculation for NPN/PNP switching with diagrams and presets (2N3904, 2N3906, TIP120, etc.)
- Op-Amp Calculator - Inverting and non-inverting amplifier gain calculations
- Filter Calculator - RC low-pass and high-pass filter design
- Linear Regulator Power - Power dissipation and heatsink requirements (7805, LM317, etc.)
- Battery Life - Estimate runtime based on capacity and current draw
- Resistor Color Code - Decode 4-band resistor color codes
- Unit Converter - Convert between voltage, current, resistance, and capacitance units
- Standard Value Finder - Find nearest E12/E24/E96 series resistor values
- Wire Gauge Calculator - AWG wire sizing for current capacity and voltage drop
- Live Calculations - Results update instantly as you type
- Dark Mode - Toggle between light and dark themes (persisted to localStorage)
- Component Presets - Quick access to common LED specs, IC values, and standard components
- Visual Aids - Graphs for RC charging curves, circuit diagrams
- Help Content - Each calculator includes contextual help with formulas and key concepts
- Standard Values - Automatic suggestions for nearest standard component values (E12/E24/E96 series)
- Safety Warnings - Alerts for power dissipation, current limits, and heatsink requirements
- Responsive Design - Works on desktop, tablet, and mobile devices
- Sidebar Navigation - Easy access to all calculators organized by category
- Node.js (v18 or higher recommended)
- npm or yarn
# Install dependencies
npm install# Start development server
npm run devThe application will be available at http://localhost:5173/
# Build static files
npm run build
# Preview production build
npm run previewThe built files will be in the dist/ directory and can be served by any static file server or opened directly in a browser.
- React 18 - UI framework
- TypeScript - Type-safe code
- Vite - Build tool and dev server
- TailwindCSS - Utility-first CSS framework
- Zustand - Lightweight state management
- Recharts - Chart library for visualizations
- Radix UI - Accessible component primitives
- Framer Motion - Animation library
- Lucide React - Icon library
electro/
├── src/
│ ├── components/
│ │ ├── calculators/ # All 15 calculator components
│ │ ├── ui/ # Reusable UI components
│ │ └── layout/ # Header, Sidebar, Grid layouts
│ ├── lib/
│ │ ├── calculations/ # Pure calculation functions
│ │ ├── constants/ # Standard values, component specs
│ │ └── utils/ # Formatters, converters
│ ├── store/ # Zustand state management
│ ├── types/ # TypeScript type definitions
│ ├── App.tsx # Main application component
│ ├── main.tsx # Application entry point
│ └── index.css # Global styles
├── package.json
├── vite.config.ts
├── tailwind.config.js
├── tsconfig.json
└── index.html
- Quick Navigation - Use the sidebar to jump between calculators
- Mobile Menu - On mobile, tap the menu button (bottom right) to access the sidebar
- Standard Values - Look for "Nearest Standard Value" results to find real components
- Power Warnings - Pay attention to power dissipation warnings to avoid burning out components
- Presets - Use preset buttons for common voltage conversions and component selections
- Help Content - Click the info icon (ℹ️) on any calculator to see formulas and tips
- Open LED Current Limiting Resistor calculator
- Select your supply voltage (e.g., 5V from breadboard power supply)
- Choose LED type (color determines forward voltage)
- Enter desired current (typically 20mA)
- Use the "Nearest Standard" value shown
- Open Linear Regulator Power calculator
- Enter input voltage, output voltage, and current
- Check power dissipation - use heatsink if needed
- For adjustable regulators, check formulas in help content
- 555 Timer for oscillators and pulses
- RC Time Constant for simple delays and debouncing
- Use graphs to visualize timing behavior
- Resistor Combinations calculator
- Add/remove resistors dynamically
- See nearest standard value for the combination
This project is open source and available for educational and personal use.
This tool was designed for practical breadboarding work. Suggestions and improvements are welcome!
- Designed for use with "Make Electronics: Third Edition" by Charles Platt
- Built with modern web technologies for offline-first usage
- Component values and formulas based on standard electronics references
Happy breadboarding! 🔌⚡