# Adafruit 555 PWM Output STEMMA

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/130/060/medium800thumb/adafruit_products_5963-04.jpg?1715864120)

How many times have we heard "hey you could have just replaced that microcontroller with a 555"? Maybe 555 times! But we always find wiring up a timer chip to be a bit of a pain, you need quite a few components - especially if you want a buffered output.

That's why we designed the **Adafruit 555 PWM Output STEMMA** - a fully-assembled 555 timer board with adjustable PWM square-wave output.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/953/medium800/adafruit_products_5963-03.jpg?1715355039)

We originally came up with this idea when someone requested we make a 'PC Fan Dummy' board, that can generate a 100Hz signal for faking a PC fan's tachometer signal to a motherboard. But then we thought that sometimes we want a square wave for driving a piezo, or as an audio input, or to modulate an IR signal. So we made it a little more general-purpose.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/954/medium800/adafruit_products_5963-01.jpg?1715355088)

You can select between two 'ranges': approximately 1.4K~25 KHz or 1.4~250 Hz. The onboard trimmer pot will tune the actual output between those values. You can use a logic analyzer, oscilloscope, multimeter with frequency-counting, or even an audio input jack on a computer, to determine the precise value if you need more than a rough number. The output is a DC square wave, driven by a [74HC1G04](https://www.digikey.com/en/products/detail/nexperia-usa-inc/74HC1G04GW-125/1022913) buffer so it can sink/source up to 12.5mA.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/955/medium800/adafruit_products_5963-02.jpg?1715355116)

You can power the board from 3V to 12VDC, an onboard regulator will pin the input to the 555 and buffer to 5V max. That means that between 3V and 5V power, the signal peak will be at the same logic level as the power. Above 5V, the output will be pegged to 5V.

Each STEMMA board is a fully assembled and tested PCB but no cable. No soldering is required to use it, but you will need to pick up [a 2mm pitch, 3-pin&nbsp;STEMMA JST PH cable](https://www.adafruit.com/?q=jst+ph+3&sort=BestMatch). Alternatively, if you _do_ want to solder, there's a 0.1" spaced header for power/ground/signal.

# Adafruit 555 PWM Output STEMMA

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/129/975/medium800/adafruit_products_double.jpg?1715606979)

Info: The 50% duty cycle for the output cannot be changed.

## Power Pins

- **VIN** - this is the power pin. To power the board, provide 3V to 12VDC. There is an onboard regulator that will pin the input to the 555 and buffer to 5V max. That means that between 3V and 5V power, the signal peak will be at the same logic level as the power. Above 5V, the output will be pegged to 5V.
- **GND** - common ground for power and logic.

## Signal Output

- **SIG** &nbsp;- this is the output signal from the 555 timer. It is a DC square wave, driven by a [74HC1G04](https://www.digikey.com/en/products/detail/nexperia-usa-inc/74HC1G04GW-125/1022913) buffer so it can sink/source up to 12.5mA.

## STEMMA JST PH

- [**STEMMA JST PH**](https://learn.adafruit.com/introducing-adafruit-stemma-qt) - 2mm pitch STEMMA JST port for use with [3-pin STEMMA JST PH cables](https://www.adafruit.com/category/619). It has connections for:
  - **GND** &nbsp;- common ground for power and data. It is the black wire on the JST PH cable.
  - **VIN** &nbsp;- power input for the 555 timer. It is the red wire on the JST PH cable.&nbsp;
  - **SIG** - signal output from the 555 timer. It is the white wire on the JST PH cable.

## Range Selection Switch

On the top right of the board is a slide switch labeled **250 Hz** and **25 KHz** on the board silk. This switch selects between two 'ranges' for the 555 timer output: approximately 1.4~25 KHz or 1.4~250 Hz.

## Frequency Adjustment Trimmer Pot

At the end of the board, opposite the JST PH port, is a trimmer pot. It is labeled **Freq. Adjust** on the board silk. This pot adjusts the&nbsp;actual frequency output from the 555 timer between the value range that you select with the selection switch.

## Signal LED and Jumper

- **Signal LED** - to the left of the JST PH connector is the signal LED, labeled **Sig**. It is the red LED. It will light up when a signal is output from the 555 timer.
- **LED jumper** - in the center of the back of the board is a jumper for the signal LED. It is labeled **Sig** &nbsp;on the board silk. If you want to disable the signal LED, cut the trace on this jumper.

## Power LED and Jumper

- **Power LED** - to the right of the JST PH connector is the power LED, labeled **ON**. It is the green LED.
- **LED jumper** - in the center of the back of the board is a jumper for the power LED. It is labeled **On** on the board silk. If you want to disable the power LED, cut the trace on this jumper.

# Adafruit 555 PWM Output STEMMA

## Use

You can use a logic analyzer, oscilloscope, multimeter with frequency-counting, or even an audio input jack on a computer, to determine the precise value from the output of the 555 timer. This breakout lets you adjust the frequency of the output from the 555 timer. The output is always a 50% duty cycle square wave driven by a [74HC1G04](https://www.digikey.com/en/products/detail/nexperia-usa-inc/74HC1G04GW-125/1022913) buffer.

Info: The 50% duty cycle for the output cannot be changed.

## Wiring

You can power the board with 3V to 12VDC. You can connect the **SIG** pin to your chosen analyzer input. The following is the board wired up using a JST PH cable:

- **Power supply VOUT** to **breakout STEMMA Vin (red wire)**
- **Power supply GND** to **breakout STEMMA GND (black wire)**
- **Breakout STEMMA SIG** to **analyzer input (white wire)**

![adafruit_products_555_stemma.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/001/medium640/adafruit_products_555_stemma.jpg?1715629769)

### STEMMA JST PH 2mm 3-Pin to Male Header Cable - 200mm

[STEMMA JST PH 2mm 3-Pin to Male Header Cable - 200mm](https://www.adafruit.com/product/3893)
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" male header plugs on the end. We're carrying these to match up with our Hallowing, for extending and connecting sensors or LEDs - and the wires are even color coded!

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/3893)
[Related Guides to the Product](https://learn.adafruit.com/products/3893/guides)
![Angled shot of STEMMA JST PH 3-Pin to Male Header Cable - 200mm.](https://cdn-shop.adafruit.com/640x480/3893-03.jpg)

The following is the breakout wired up using a solderless breadboard:

- **Power supply VOUT** to **breakout Vin (red wire)**
- **Power supply GND** to **breakout GND (black wire)**
- **Breakout SIG** to **analyzer input (white wire)**

![adafruit_products_555_bb_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/002/medium640/adafruit_products_555_bb_bb.jpg?1715629896)

## Analysis

After the 555 is powered up, setup your chosen analysis tool. Select your frequency range with the slide switch and then fine-tune the frequency using the trimmer pot on the board. You'll see the frequency change on your tool as you adjust these settings on the board.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/061/medium800thumb/adafruit_products_5963-04.jpg?1715864158)

# Adafruit 555 PWM Output STEMMA

## Downloads

## Files

- [555 Datasheet](https://cdn-learn.adafruit.com/assets/assets/000/129/950/original/lm555.pdf?1715354952)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit-555-PWM-Output-STEMMA-PCB)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20555%20PWM%20Output%20STEMMA.fzpz)

## Schematic and Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/129/951/medium800/adafruit_products_schem.png?1715354980)

![](https://cdn-learn.adafruit.com/assets/assets/000/129/952/medium800/adafruit_products_fab.png?1715354985)

# Adafruit 555 PWM Output STEMMA

## PC Fan Dummy

![](https://cdn-learn.adafruit.com/assets/assets/000/130/825/medium800/adafruit_products_fan55-9914b.jpg?1718994885)

https://www.youtube.com/live/UTI9Q43ec-0?feature=shared&t=844

Here's how to use the 555 PWM Output STEMMA to trick your PC into thinking there's a fan running. This is useful when you've replaced the air cooling fans on your CPU or other parts of the system with liquid cooling radiators and pumps, such as a water cooled or oil cooled rig.

Some motherboard and BIOS combinations may not allow you to disable the fan alarms and may not allow you to boot past the POST test without a fan (or fan dummy) in place.

Since the fan headers on the motherboard contain a signal pin that watches for 5V square wave pulses, we can plug the 555 PWM Output STEMMA in and tell a big fat lie to the motherboard!

## Normal System Fan Operation

Here we have a small (and noisy!) system fan connected to the motherboard SYS FAN header.

As it spins, a small magnet on the fan hub spins and triggers pulses from a Hall effect sensor. It's reporting&nbsp;`Current SYSTEM FAN Speed  1190 RPM`, which makes the BIOS happy.

![adafruit_products_fan55-9889b.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/873/medium640/adafruit_products_fan55-9889b.jpg?1718997698)

![adafruit_products_fan55-9891b.jpeg](https://cdn-learn.adafruit.com/assets/assets/000/130/874/medium640/adafruit_products_fan55-9891b.jpeg?1718997786)

![](https://cdn-learn.adafruit.com/assets/assets/000/130/828/medium800/adafruit_products_fan55-9892.jpg?1718995116)

## Fan Unplugged

I've unplugged the system fan!

The BIOS causes the system speaker to blare a horrible, annoying beep and reports `Current SYSTEM FAN Speed  0 RPM`

![adafruit_products_fan55-9893.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/831/medium640/adafruit_products_fan55-9893.jpg?1718995134)

![](https://cdn-learn.adafruit.com/assets/assets/000/130/833/medium800/adafruit_products_fan55-9894.jpg?1718995223)

## 555 PWM Output STEMMA

Here comes the 555 PWM Output STEMMA to the rescue!

I've plugged in a [STEMMA JST 3-pin cable with DuPont female connectors](https://www.adafruit.com/product/3894):

- Red to 5V
- Black to GND
- White to tachometer signal

Consult your motherboard's manual to be certain of pinout.

![adafruit_products_fan55-9896.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/836/medium640/adafruit_products_fan55-9896.jpg?1718995256)

![adafruit_products_fan55-9897.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/837/medium640/adafruit_products_fan55-9897.jpg?1718995280)

![](https://cdn-learn.adafruit.com/assets/assets/000/130/843/medium800/adafruit_products_fan55-9899.jpg?1718995408)

## 555 Range

The range selector switch on the 555 PWM Output STEMMA should be flipped left, to the lower range.

The LED indicators will light up for power (green LED on top) and signal (red LED on bottom, which pulses at the output frequency).

![adafruit_products_fan55-9902.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/844/medium640/adafruit_products_fan55-9902.jpg?1718995420)

![](https://cdn-learn.adafruit.com/assets/assets/000/130/861/medium800/adafruit_products_fan55-9915.jpg?1718995866)

## Fake-out!

Ha! The BIOS now reports that the "fan" is spinning along happily at `3648 RPM`.

&nbsp;

![adafruit_products_fan55-9904.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/849/medium640/adafruit_products_fan55-9904.jpg?1718995533)

## SUPER SONIC

You can use a small flathead screwdriver to turn the trimmer pot to the right to increase the pulse speed. Now the BIOS thinks the fan is roaring along at over `8500 RPM`!

This won't impact the computer at all, although some BIOS setups may dislike speeds outside of a normal range, usual around **`1000 RPM`**.

![adafruit_products_fan55-9910.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/850/medium640/adafruit_products_fan55-9910.jpg?1718995614)

## Slowpoke

Turn the trimmer pot to the left and -- oops, too slow! Now it reads around `675 RPM`.

![adafruit_products_fan55-9912.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/851/medium640/adafruit_products_fan55-9912.jpg?1718995739)

![adafruit_products_fan55-9913.jpg](https://cdn-learn.adafruit.com/assets/assets/000/130/852/medium640/adafruit_products_fan55-9913.jpg?1718995756)

## Just Right

There we are, `1025 RPM` ought to keep everyone happy and now you can get on with your liquid cooling dreams! All thanks to a venerable 555 timer and a little bit of fibbing.

![](https://cdn-learn.adafruit.com/assets/assets/000/130/866/medium800/adafruit_products_fan55-9914b.jpg?1718995926)


## Primary Products

### Adafruit 555 PWM Output STEMMA - 1.5K~25 KHz or 1.5~250 Hz

[Adafruit 555 PWM Output STEMMA - 1.5K~25 KHz or 1.5~250 Hz](https://www.adafruit.com/product/5963)
How many times have we heard "hey you could have just replaced that microcontroller with a 555"? Maybe 555 times! But we always find wiring up a timer chip to be a bit of a pain, you need quite a few components - especially if you want a buffered output. That's why we designed...

In Stock
[Buy Now](https://www.adafruit.com/product/5963)
[Related Guides to the Product](https://learn.adafruit.com/products/5963/guides)

## Featured Products

### STEMMA JST PH 2mm 3-Pin to Male Header Cable - 200mm

[STEMMA JST PH 2mm 3-Pin to Male Header Cable - 200mm](https://www.adafruit.com/product/3893)
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" male header plugs on the end. We're carrying these to match up with our Hallowing, for extending and connecting sensors or LEDs - and the wires are even color coded!

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/3893)
[Related Guides to the Product](https://learn.adafruit.com/products/3893/guides)
### STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm

[STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm](https://www.adafruit.com/product/3894)
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" female header sockets on the end. We're carrying these to match up with our Hallowing, for extending and connecting sensors or LEDs - and the wires are even color coded!

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/3894)
[Related Guides to the Product](https://learn.adafruit.com/products/3894/guides)

## Related Guides

- [Quickstart - Raspberry Pi RP2040 with BLE and CircuitPython](https://learn.adafruit.com/quickstart-raspberry-pi-rp2040-with-ble-and-circuitpython.md)
- [Adafruit LPS25 and LPS22 Barometric Pressure and Temperature Sensors](https://learn.adafruit.com/adafruit-lps25-pressure-sensor.md)
- [Adafruit PCA9548 8-Channel STEMMA QT / Qwiic I2C Multiplexer](https://learn.adafruit.com/adafruit-pca9548-8-channel-stemma-qt-qwiic-i2c-multiplexer.md)
- [Adafruit NeoKey BFF](https://learn.adafruit.com/adafruit-neokey-bff.md)
- [Adafruit NeoPixel Driver BFF](https://learn.adafruit.com/adafruit-neopixel-driver-bff.md)
- [MP3 Playback on RP2040 with CircuitPython](https://learn.adafruit.com/mp3-playback-rp2040.md)
- [Porting an Arduino library to CircuitPython: VL6180X Distance Sensor](https://learn.adafruit.com/porting-an-arduino-library-to-circuitpython-vl6180x-distance-sensor.md)
- [What’s Fresh Today? In-Season Produce Reminder for Adafruit MagTag](https://learn.adafruit.com/seasonal-produce-for-adafruit-magtag.md)
- [Working with Multiple Same Address I2C Devices](https://learn.adafruit.com/working-with-multiple-i2c-devices.md)
- [Introducing the Adafruit WICED Feather WiFi](https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi.md)
- [CircuitPython Libraries on Linux and Raspberry Pi](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux.md)
- [Adafruit Floppy FeatherWing with 34-Pin IDC Connector](https://learn.adafruit.com/adafruit-floppy-featherwing-with-34-pin-idc-connector.md)
- [Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor](https://learn.adafruit.com/adafruit-dps310-precision-barometric-pressure-sensor.md)
- [Interactive Map with Circuit Playground Express](https://learn.adafruit.com/interactive-map-with-cpx.md)
- [Navi10 MacroPad with KB2040 and KMK CircuitPython keyboard firmware](https://learn.adafruit.com/navi10-macropad-with-kb2040-and-kmk-circuitpython-keyboard-firmware.md)
