Gareth's blog

4xADS1115's (giving 16 Analog to Digital channels)

Gareth's picture

Here are some details of how I cobbled up a 16 channel ADC rig for use with MRL's Ads1115 service

As you can see above the i2c SDA/SLA lines require 10k resistors as pull up loads.

The trick to keeping it compact is to the stack and common through the GND,SDA,SCL,VCC pins (see below)

Matrix X,Y plotting Numeric's with the Neopixel service

Gareth's picture

Plotting character sets to the Neo_Pixel Service.

Numbers can be fitted into a 4x5 (with a little flare) matrix, so here is a simple set based in Python to get you going.

Worthy of note is Python has a triple """ option for text declaration, which means you can include new lines in the text input, so I was able to separate the character bitmaps to some degree.

Usage :-

Matrix X,Y plotting with the Neopixel service

Gareth's picture

Python code to enable x,y plotting from the neopixel service, an inviting rabbit hole.

Many Matrix displays have a serpentine LED pattern. This means that odd and even columns are reversed.

Quartus II web version 15.0 - Intels FPGA Programming Suite

Gareth's picture

Quick Schematic Guide to programming FPGA's using Intels Quartus II programming Suite.

Goals :-

Logisim - Logic Simulator (inc. FPGA compile)

Gareth's picture

Just a Quick "Periscopes Up" for anyone looking for a Free Logic Simulator - Quick bash up above as taster.


Hacking Servo's for Positional data...

Gareth's picture

Ever wanted to know the positions of your Servos before you attach them from Cold Boot Reset.

This Quick Hack gives a good positional check of your Servo's , meaning that you can the "Ease" your Servos from a random position to Start position.... without the "Warp at Max speed" - saving your nerves and Plastic bits and gears... (falling in line with Asimov’s Three Robotic Laws of preservation).

Retrofitting InMoov with Interactive Eyes..... aka >reducing the servo count.

Gareth's picture

I Picked up a couple of round 240*240 pixel OLED display modules, as luck would have it they scale easily into the InMoov face frame-work.

Driving the display is an ESP32 using SPI bus for control... meaning that two displays can be controlled with it.

STM32F103 C8T6 PWM Timer and NE555 redundancy Part 002

Gareth's picture

Latest iteration of the Neon supply 170 - 240 Volt generator.

The original circuit sported a "NE555" to drive the "Fly-Back" inductor N-Channel MOSFET, then after a hour sitting in its cosy socket (and an elvish brainwave later) it has been made redundant in preference to some"PWM Code..."

STM32F103 C8T6 3.3V meets 170Volt Neons. ... Part 001

Gareth's picture

Over the last few months these "Coloured Neon lamp indicators" have been popping up on the matrix, so I could not resit...well who could not resist mixing 3.3volt logic with 170volt.

They come in a variety of colours "Green","Blue" and "Orange" , the glow intensity is good even in daylight.