All those online meetings … part 2

Gertjan Assies
4 min readAug 1, 2022

--

A little over a year ago I blogged about a small project with a Raspberry Pi Pico and a couple of buttons to make a tool that could help me in all those online meetings when we all had to work from home during Covid.

I’m just explaining the changes here, so If you want to get the full picture, please read the first part of the article:
https://g-assies.medium.com/all-those-online-meetings-ae285801dd66

Now it works pretty well but there were some improvements to be made
- I needed one of the buttons to do a “raise hand”
- Because of that I needed another way to switch between Hangouts/Teams/Zoom

A 3–way slider switch should do the trick, now my schematic looks like this (power comes from the USB connector):

All I need is a change in the code to check GPIO13, 14 and 15 and whichever one is 0/false/low I had to set the keymap for the right conference tool.
Because I configured the GPIO ports to use a pull-up resistor an open switch will be 1 (resistor pulls the input to the + Voltage) and closing the switch will pull it to 0 (ground) with the resistor protecting it from shortening out.

Now about the hardware, the first version was done with Fritzing which is a nice enough tool. but it has some peculiarities, that make it hard to get right.
So for this one, I used KiCad 6 and I must say it has evolved a lot since I first started using it ages ago.

One thing with Electronic design software is always having the right part libraries and KiCad delivers here. I’m using Cherry MX keys that I have lying around. and those are fully supported. For the Raspberry Pi Pico board, a quick google revealed a GitHub repof with the part and PCB footprint

The switch part took a bit longer, I had already ordered and received the switch, but it wasn’t in the library, fortunately, its little brother a 2-way switch was. as you can see in the screenshot

Now the switch I had looked exactly the same but it had one more pin and some more spacing.
So in KiCad’s footprint editor, I copied the one above. saw that the pad spacing was 2 mm. so I could move on off the outer pins to the left and duplicate one of the other pins. update the pin numbers in the properties to match up with the 3-way switch schematic part. and for completeness updated the silkscreen mask and part number.

Now I have all the parts that I need, in the schematic, I assigned all the footprints to the relevant parts and after satisfying the Electrical Rules Checker I clicked Update PCB from Schematic.

Now in the PCB editor it’s just placing the components and routing everything but the GND on the top layer. and then creating a ground plane for the GND net on the bottom layer.
I had to make one via to get the GND from the raspberry pi board which will be soldered on top to the bottom layer and part of the ground plane.
Running the Design Rule Checker revealed some warnings but overall it was happy with my design.

Here’s the end result:

Last time I ordered the PCB boards from Aisler. and I found out that they have a plugin for KiCad, which makes it super easy to upload the PCB to Aisler (one click) and from there. a quick check, going over all the settings, the defaults were good enough. and pressing the produce button. and then waiting a week or so. I had to pay around 15 Euro. which is a really good value for the quality they deliver.

I’m very impressed with KiCad, of course having used other electronic design tools in the past (Ultiboard, Eagle. Fritzing) made it a bit easier. but I felt like KiCad had the most gradual learning curve of them all.
I managed to create the schematic, PCB and extra footprint in about 3 hours.

All the code and designs are here: https://gitlab.com/gertjana/conference-buttons

Thanks for reading. and hopefully, I inspired you to start doing your own little projects.

next steps: Create a 3D printed case for it…. is firing up Fusion360

Continueing in Part 3:
https://g-assies.medium.com/all-those-online-meetings-part-3-e54e3359bfdb

--

--

Gertjan Assies

Polyglot Functional Software Engineer, currently working as a Site Reliability Software Engineer