# PLASMA 2040 packages

**URL:** <https://forums.pimoroni.com/t/plasma-2040-packages/20336>\
**Category:** Support\
**Created:** [September 21, 2022, 2:00pm UTC](https://forums.pimoroni.com/t/plasma-2040-packages/20336 "2022-09-21T14:00:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mouldy](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Mouldy](https://forums.pimoroni.com/u/Mouldy)\
**Post date:** [September 21, 2022, 2:00pm UTC](https://forums.pimoroni.com/t/plasma-2040-packages/20336/1 "2022-09-21T14:00:13Z")

</div>

Afternoon,

I’ve recently purchased a PLASMA 2040 and been enjoying using it to create various lighting scenarios. However, I am completely stumped by one thing.

I have found [this post](https://forums.pimoroni.com/t/plasma-2040-pinouts/18105/4) which specifies the pins to use for a PIR Sensor. I am comfortable with that and the soldering required. However, for the life of me I cannot work out what packages I need to import to gain ‘access’ to the GPIO pins.

Has anyone managed to use the pins and would be able to share what packages they have used in order to access them?

Many thanks,

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [September 21, 2022, 2:50pm UTC](https://forums.pimoroni.com/t/plasma-2040-packages/20336/2 "2022-09-21T14:50:03Z")

</div>

It’s `machine` in MicroPython to do things with the GPIO pins, it’s a built in module.

Looks like lovely Les wrote a guide that might help! [How to Use a Motion Sensor with Raspberry Pi Pico | Tom's Hardware](https://www.tomshardware.com/how-to/raspberry-pi-pico-motion-sensor)
