Skip to content

About

Free electronics bench tools: value converter, frequency and period, number bases, E-series finder, I2C address book, and printable cheat sheets. Includes a Drupal module.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Bench Tools

Converters, finders, and printable cheat sheets for the electronics bench, by TheMakersWorkbench.com. One page, six tools, no build step and no dependencies. Type values with prefixes like 4.7k or 470u, and the answers update as you type.

Bench Tools

The tools

Tab What it does
Value Converter A value in every engineering prefix.
Freq / Period Frequency, period, and wavelength with antenna fractions.
Number Bases Decimal, hex, binary, octal, signed values, and ASCII.
E-Series Finder The nearest standard resistor or capacitor value and the best combinations.
I²C Addresses A searchable address book of common chips, and a scan decoder.
Cheat Sheets Printable resistor, capacitor, wire, logic-level, and formula sheets.

Run it

Open index.html in a browser. To serve it locally: python -m http.server in this folder.

Run the tests (Node 18 or newer, no packages needed):

node --test tests/bench-logic.test.js

Embed it

Load bench.css, js/bench-logic.js, and js/bench-app.js, then add:

<div class="tmwb-bench" id="tmwb-bench" data-heading="h2"></div>

All styles are scoped under .tmwb-bench and sized in pixels.

Drupal module

drupal/tmwb_bench_tools is a Drupal 10/11 module (TMWB Bench Tools) that embeds the tool from a text-format filter. See its README.

Files

  • index.html, bench.css: the page and styles
  • js/bench-logic.js: all the math, no DOM access, tested in Node
  • js/bench-app.js: the interface
  • tests/: unit tests
  • drupal/tmwb_bench_tools/: Drupal module (run python scripts/sync_drupal_module.py after changing the tool)
  • SOURCES.md: where each formula and data table comes from

Accuracy

Reference tables follow the usual standards (IEC 60062 colors, IEC 60063 values). The I2C addresses are the usual ones for common breakout boards and can change with jumpers and variants. Confirm anything critical with the datasheet.

License

Apache License 2.0. Free for commercial and non-commercial use. You may modify it and add to it, as long as the license, the NOTICE, and the "Developed and Maintained by TheMakersWorkbench.com" attribution stay intact.

About

Free electronics bench tools: value converter, frequency and period, number bases, E-series finder, I2C address book, and printable cheat sheets. Includes a Drupal module.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages