Skip to the content
PCBKitNew board
2 layers42 × 23.5 mmATtinyStep, the printed circuit board in 3D

An ATtiny powered step counter and speed/distance measuring device that fits in the palm of your hand.

Size
42 × 23.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
27
Pads
86
Tracks, vias
136, 42
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Oct 2026
Updated
19 Oct 2026

Overview

ATtinyStep is an open-source printed circuit board by penayush-tronics, from the penayush-tronics/ATtinyStep repository on GitHub. It is a 2-layer board of 42 × 23.5 mm with 21 parts on 27 nets, routed with 136 tracks and 42 vias.

It is built around the ATTINY1624-SSU, AP2112K-3.3 and LSM6DSL. Its parts include 4 capacitors, 4 resistors, 4 connectors, 3 ICs and 2 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

ATtinyStep

alt text

ATtinyStep is a compact, rechargeable, and portable offline step counter as well as speedometer. It helps in reaching your step goals at a healthy pace, while enjoying the outside world instead of doomscrolling with your neck down. It uses a 6-axis Accelrometer+Gyro IMU (Interital Measurment Unit) and the processing capabilities of the ATtiny1624 to easily count your steps automatically. As a bonus, it doubles as breakout board for the ATtiny1624, so it can be used for more projects other than a speedometer.

How to use the ATtinyStep

Here is a labelled diagram:

alt text

As step counter

Connect a single cell 3.7V li-ion battery to the battery header (with correct polarity; labelled on the back). It has an built-in voltage. After that, connect the I2C OLED screen. To use it as a step counter, flip the switch to turn it on. On the top left corner is a Mode select button, which allows the selection between speed display and step counting modes. On the top right corner there is a Reset button to reset the Attiny chip in case of some error/restart. Below this button is the UART programming header, labelled for convenience. The device will automatically start counting steps and calculating the speed of your walking or any motion.

As development board

You can also use it as a breakout board for the ATtiny1624 with built in 6-axis Gyro+Accelerometer and easy to use I2C header. When powering it as a development board, make sure to use only 3V3 power (3.3V), on the VCC pin either on the breakout pins, the programming header, or the I2C header. Make sure to connect GND-Ground too. Be careful with polarity. Pins 8 and 9 are always pulled high due to the I2C, so use them primarily for I2C. Pin 13 is connected to the onboard Mode Select button, using active low. This pin can be reconfigured. Use the reset button to restart the Attiny1624.

Programming

ATtinyStep uses UPDI programming for the ATtiny1624, via UART. Make sure to use 3V3 only. An appropriate resistor is already placed in series with Tx, so an external series resistor is not required, only a UART to USB converter is needed for programming. Connect the GND VCC pins, and connect UART-USB Rx to ATtinyStep Tx, and Tx to Rx, like cris-cross. After that it can be programmed using ArduinoIDE with the MegaTinyCore board library.

Labels

alt text

The board is thoroughly labelled with all components and pins labelled. Here you can see the breakout pin labels, header labels, battery label -- PLEASE DONT PUT REVERSE POLARITY-- , and accelerometer direction label. Use these as a guide for usage.

How does it work

The ATinyStep works by letting the ATtiny1624 continuously gather angular orientation and acceleration data. By comparing these continuous values to known patterns, such as walking with it in your hand or pocket, it can accuratley detect a step. These actions create very specific accelration and rotation patterns, hence they can be used as reference. For example, walking with it in your hand will result in a big arc-like path, with maximum acceleration at the edges of the arc, and least in the center. This also is how your mobile device, like a phone, counts steps. The sensor being used here is from the LSM6DS series by STMicroelectronics, where the 6 stands for 6-axis. Six-axis means three-axis accelrometer and three-axis gyroscope.

Schematics

alt text

KiCAD schematics can be found here

PCB design

Front side:

alt text

alt text

Back side:

alt text

alt text

KiCAD PCB design can be found here. Gerber files for fabrication are here. Position file for pick and place is here.

Why ATtinyStep exists

One day I was walking around my community and talking to my friend online. We were talking about walking as an exercise, and how walking faster is important. Hence, they said that they were sure I wasn't walking fast enough. I told them I walk at 6km/h, but they did not believe me. That day I had two realisations: I should take a break from my phone during walks, and I need a speedometer for myself. So, this idea was born. An offline hardware speedometer. So I can make sure I am walking at a healthy speed. The name comes from when I was thinking about a title, and realised ATtiny sounds like 'A tiny', and well it's a step counter. So ATtinyStep came. It is pronounced 'Ay Tee tiny step' or just 'A tiny step'.

The extra breakout board pins were because it felt like a waste to have so many pins unused. So the breakout enables them to be used.

Demo

Coming soon :)

Bill Of Materials (BOM)

Sr No.Component DescriptionMin Order QtyQty for boardUnit Price (INR)Unit Price (USD)Ext. Price (INR)Ext. Price (USD)Reference Link
1ATTINY1624-SSU-MICROCHIP-8 Bit MCU11226.002.38226.002.38Robu
2LSM6DSOETR3-Stmicroelectronics11292.003.07292.003.07Robu
30.96 inch Yellow-Blue OLED Display Module11179.001.88179.001.88Robu
4AP2112K/AP2125K -3.3TRG1-Diodes Incorporated1113.000.1413.000.14Robu
53.7V 1500mAH Li-Po Rechargeable Battery (523450)11232.002.44232.002.44Quartz Components
6Toggle Slide Switch115.000.055.000.05Quartz Components
7Green LED - SMD (1206 Package) - Pack of 505010.720.0136.000.38Quartz Components
81K Ohm 1206 Package 1/4W SMD Resistor 5% Tolerance (Pack of 20 Pieces)2010.500.0110.000.11Quartz Components
94.7K Ohm 1206 Package 1/4W SMD Resistor 5% Tolerance (Pack of 20 Pieces)2030.600.0112.000.13Quartz Components
10TSB005A2518B-BZCN-3.6mm 2.5mm 50mA 8mm 30,000 Times 180gf 12V SMD Tactile Switches422.850.0311.400.12Robu
11A7 / 1N4007 SMD Diode (Pack of 10)1011.100.0111.000.12Quartz Components
12100nF / 0.1uF (104) 50V 1206 SMD Capacitor (Pack of 10 Pieces)1021.600.0216.000.17Quartz Components
1316V 10uF X5R 1206 Multilayer Ceramic Capacitors MLCC324.570.0513.710.14Robu
14MLCC SMD Capacitor - 100UF, 10V, 12101146.000.4846.000.48Robu
15TP4056 - Battery Charging1114.000.1514.000.15Quartz Components
16Male/Female headers119.000.099.000.09Robu
17Custom PCB51188.801.99944.009.94Lion Circuits
Totals:22********2070.1121.79

Price per board: ~1230 INR or ~ $12.9 USD

The spreadsheet BOM is here

Parts

21
QtyValueFootprintReferences
34.7KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3
20.1Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3, C4
2Conn_01x04_SocketConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J2
2Conn_01x07_PinConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ3, J4
2SW_PushButton_Switch_SMD:SW_SPST_CK_RS282G05A3MODE, SW1
110Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2
1100Capacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC1
11KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR4
11N4007Diode_SMD:D_SOD-123FD2
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U3
1ATtiny1624-SSPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU1
1BatteryConnector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_VerticalBT1
1LEDLED_SMD:LED_1206_3216MetricD1
1LSM6DSLPackage_LGA:LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4yU2
1SW_SPDTButton_Switch_THT:SW_Slide_SPDT_Straight_CK_OS102011MS2QPWR

Questions

How big is the ATtinyStep PCB?

It measures 42 × 23.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ATtinyStep use?

21 parts, built around the ATTINY1624-SSU, AP2112K-3.3 and LSM6DSL. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ATtinyStep KiCad files?

From the penayush-tronics/ATtinyStep repository on GitHub, at the commit this page was made from: the board is PCB_Files/ATtinyStep.kicad_pcb and its schematic PCB_Files/ATtinyStep.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ATtinyStep design in my own project?

Its repository states no licence, so its author keeps all rights: ask penayush-tronics before reusing the design.

Similar boards

  • 2 layers148.3 × 147.1 mmPilluxe PCB, the printed circuit board in 3D

    Pilluxe PCB

    inthrip/ECE196_Final_Project_PCB_SP26

    33 parts
  • 2 layers50 × 50 mmAttiny1624-ring, the printed circuit board in 3D

    Attiny1624-ring

    TheBeachLab/alphabets

    Open Source Mechanical Split Flap Display, AKA Solari display

    26 parts134MIT
  • 2 layers52.9 × 30.6 mmPower meter v3 1, the printed circuit board in 3D

    Power meter v3 1

    KrystianD/avr-power-meter

    AVR-based, galvanically isolated, bidirectional DC energy meter with Modbus RTU interface.

    50 parts4MIT
  • 2 layers54 × 29 mmWebasto heater controller, the printed circuit board in 3D

    Webasto heater controller

    matty337s/Webasto-Heater-WBUS-Controller

    Controller for webasto heater used in vehicles such as Land Rover Discovery 3. Used to turn on and off heater using ATTINY microcontroller, with inputs for USB, ignition and low-beam.

    39 parts3GPL-3.0
  • 2 layers70 × 50 mmK2g, the printed circuit board in 3D

    K2g

    adarwoo/k2g_demo_board

    The demo board used for the promotion video of K2G

    17 partsGPL-3.0
  • 2 layers121 × 67.2 mm1-synth badge, the printed circuit board in 3D

    1-synth badge

    lepi-labs/1-synth-badge

    ATTINY1624 powered PCB badge with light up eyes and horns

    14 parts
  • 2 layers62.5 × 63.8 mmNF SolderChallenge27, the printed circuit board in 3D

    NF SolderChallenge27

    NerdFlare/NF-SolderChallenge27

    Art, code, and pcb for the AY26-27 NF, IEEE, CPES solder challenge!

    22 parts
  • 2 layers55 × 84.5 mmConsole left, the printed circuit board in 3D

    Console left

    adarwoo/KiCad

    All KiCad projects

    56 parts