Skip to main content

A toolchain bringing the best of software development to the real-world!

Project description

Shows a black logo in light color mode and a white one in dark color mode.


Logo atopile

📖 What is atopile?

atopile is a tool to build electronic circuit boards with code.

🗣️ Join us on Discord

What's your story in electronics? What would you like us to build? Come talk on discord.

Discord Banner 3

⚡️ato code examples

Votlage divider

import Resistor from "generics/resistors.ato"

module VoltageDivider:
    signal top
    signal out
    signal bottom

    r_top = new Resistor
    r_top.footprint = "R0402"
    r_top.value = 100kohm +/- 10%

    r_bottom = new Resistor
    r_bottom.footprint = "R0402"
    r_top.value = 200kohm +/- 10%

    top ~ r_top.p1; r_top.p2 ~ out
    out ~ r_bottom.p1; r_bottom.p2 ~ bottom

RP2040 Blinky Circuit

import RP2040Kit from "rp2040/rp2040_kit.ato"
import LEDIndicator from "generics/leds.ato"
import LDOReg3V3 from "regulators/regulators.ato"
import USBCConn from "usb-connectors/usb-connectors.ato"

module Blinky:
    micro_controller = new RP2040Kit
    led_indicator = new LEDIndicator
    voltage_regulator = new LDOReg3V3
    usb_c_connector = new USBCConn

    usb_c_connector.power ~ voltage_regulator.power_in
    voltage_regulator.power_out ~ micro_controller.power
    micro_controller.gpio13 ~ led_indicator.input
    micro_controller.power.gnd ~ led_indicator.gnd

    led_indicator.resistor.value = 100ohm +/- 10%

🔨 Getting started

Find our documentation and getting started video.

atopile is on pypi.org: https://pypi.org/project/atopile/

❓ Why atopile?

Describing hardware with code might seem odd at first glance. But once you realize it introduces software development paradigms and toolchains to hardware design, you'll be hooked, just like we've become.

Code can capture the intelligence you put into your work. Imagine configuring not the resistance values of a voltage divider, but its ratio and total resistance, all using physcial units and tolerances. You can do this because someone before you described precisely what this module is and described the relationships between the values of the components and the function you care about. Now instead imagine what you can gain from reusing a buck design you can merely configure the target voltage and ripple of. Now imagine installing a servo drive the same way you might numpy.

Version controlling your designs using git means you can deeply validate and review changes a feature at a time, isolated from impacting others' work. It means you can detangle your organisation and collaborate on an unprecedented scale. We can forgo half-baked "releases" in favor of stamping a simple git-hash on our prototypes, providing an anchor off which to associate test data and expectations.

Implementing CI to test our work ensures both high-quality and compliance, all summarised in a green check mark, emboldening teams to target excellence.

🔍 Discover what people build

Browse and submit your modules at packages.atopile.io

Project details


Release history Release notifications | RSS feed

This version

0.2.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atopile-0.2.5.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

atopile-0.2.5-py3-none-any.whl (163.0 kB view details)

Uploaded Python 3

File details

Details for the file atopile-0.2.5.tar.gz.

File metadata

  • Download URL: atopile-0.2.5.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for atopile-0.2.5.tar.gz
Algorithm Hash digest
SHA256 70539cae7e31cb99102a2844d993b6ce3ead8e490de21411fdd65b869515f3b2
MD5 dc74aacba6ef4f718b01b3ed01b4bb56
BLAKE2b-256 ca7f39686d35cc24900782402791d1bd174507dc0b00eb4b4b6fcfe57e7a8cc8

See more details on using hashes here.

File details

Details for the file atopile-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: atopile-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for atopile-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f788c89e6de4a1715f2596f75629f6f3ce8732e114fd98b74aa35252d8a36422
MD5 b572523dd2e5409a7afb01188ac96453
BLAKE2b-256 38364631e55edacf1e4b4e597ac2d542916bb6fee0cc01812441f1738bf0ada1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page