Posts by Chris Owens

Page 10 of 36

A4988 Stepper motor RaspberryPi

We’re using a 42shd0034-20B Geetech stepping motor taken from a 3d printer: We’ll be driving it with an A4988 stepper motor controller. You can pick up five packs of…

Read post

Change i2c address of ina219

Hi everyone, I wanted to use ina219 with pca9685 but they shared the same i2c address 0x4: 0. Luckily, there’s a fairly easy fix for this. All we need to do is solder…

Read post

String to Color - Avatar Helpers

Hi everyone, A quick post on a helper function I came across for generating avatars. This function generates a random color for the specified string: Thanks to…

Read post

AWS SAM Request Extremely Slow - Fix

Hi everyone, I’m currently using AWS SAM CLI with NodeJS and was surprised to find that the requests were significantly slower when run locally. Luckily, I came…

Read post

Get User Id in Lambda node.js

Hi everyone, A quick post on where to find the user id (sub) in a lambda requested that has been authenticated with a congito authorizer. You’ll be able to find…

Read post