# Hardware test point

**URL:** <https://forum.pioreactor.com/t/hardware-test-point/152>\
**Category:** Hardware, PWM, and Optics\
**Created:** [August 24, 2023, 5:15pm UTC](https://forum.pioreactor.com/t/hardware-test-point/152 "2023-08-24T17:15:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chri-s](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/c/91b2a8/32.png) [@chri-s](https://forum.pioreactor.com/u/chri-s)\
**Post date:** [August 24, 2023, 5:15pm UTC](https://forum.pioreactor.com/t/hardware-test-point/152/1 "2023-08-24T17:15:09Z")

</div>

I’m playing with some hardware and also trying to look at this issue: [Frequency Setting off target · Issue #5 · Pioreactor/rpi\_hardware\_pwm · GitHub](https://github.com/Pioreactor/rpi_hardware_pwm/issues/5)

Is there a test point on the HAT? What ground are the PWM outputs tied to?

Also, I was wondering if the PCB design files are available anywhere. I didn’t see a repo immediately but thought I would ask. Just idle curiosity, no real plans to do anything with them.

---

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [August 24, 2023, 9:34pm UTC](https://forum.pioreactor.com/t/hardware-test-point/152/2 "2023-08-24T21:34:30Z")

</div>

Hi @chri-s,

By default, the PWM pins are tied to the same 5V rail and GND as the Raspberry Pi. The PWM outputs are controlled by PWMing a specific GPIO pin. The PWM ↔ GPIO mapping is:

```auto
 { 
    "1": 17,
    "2": 13, # hardware PWM1 available
    "3": 16,
    "4": 12, # hardware PWM0 available
}

```

For that issue, you could look at PWM 2 and 4, then.

Note: I haven’t given that issue much attention, because the Pioreactor (so far) hasn’t cared about specific frequencies. The pumps/fans/etc work well enough at 200 hz as they do at 200.1 hz. So I’ve back-burned that issue.

* * *

PCB design files will be coming out as we start to open-source the Pioreactor! PCB will be the last part open sourced, but I expect by EOY.
