My website is here to share my hobbies, passions, and interests with my friends, including the ones I have not met yet (drop me a line, lets do lunch!).
jamie@jamiestarling.com
Latest From My Blog

PIC10F322 and XC8 Code – Internal Temperature Sensor – Creative Use Seed Random Number Generator
In the pervious post - we setup the PIC10F322 ADC to read the Internal Temperature Sensor. Mostly the sensor is used to monitor the die to ensure that it is operating within its limits of thermal rating. In enclosed products, the microcontroller’s internal temperature...

PIC10F322 and XC8 Code – Internal Temperature Module – How To Read
The PIC10F322 is equipped with a temperature indicator module designed to measure the operating temperature of the silicon die. Why is it there - What is the use monitoring the die? It is useful to monitor the temperature of the silicon die of the...

Image Processing – Python and OpenCV – Capture Image From Webcam
Let's take a quick look on how we can use OpenCV2 to capture a single frame from a webcam. The code below uses a web cam to capture a single frame, that stores the results in the image variable. We are using direct show to communicate with the cam and adjust the...

Z80 – Pinouts
Z80 Pinouts CPU View Z80 CPU Pinout Grouped by Function Z80 CPU Pinout Signal Functions {Address Bus} A0-A15 - Address bus output tri-state (active High) 16bit Address Bus, provides address for memory data exchanges (up to 64K) and for IO device data exchanges. For IO...

Z80 – CPU Intro
The Z80 is an 8-bit microprocessor introduced by Zilog as the startup company's first product. The Z80 was conceived by Federico Faggin in late 1974 and developed by him and his 11 employees starting in early 1975. The Zilog Z80 is a software-compatible extension and...

Image Processing – Python and OpenCV – Convert Image to Gray Scale
In the past posts we looked at doing some image conversions using arrays and manual steps. All that is fun, it lets us see what is going on inside the black box. However, deadlines and everything else - we don't want to have to reinvent the wheel each time. Thankfully...

Image Processing – Python Generating a Histogram for a Gray Scale Image
What is an image histogram - it is a profile of the occurrences of each gray level present in an image. In the visual example below - we are using a bar graph to visualize it. It starts at 0 and goes to 255, each vertical bar represents the number of times the...

Image Processing – Python Convert Image to Gray Scale – Single Color Channel
In the last post we took a look at averaging the RGB channels to produce a gray scale image. It does require some math division to get the result. If you need a way that is even simpler and faster than averaging - we can extract the values from one of the color...

Image Processing – Python Convert Image to Gray Scale – Average
Let's us look at some ways of converting a color image into a black and white or gray scale image. The most straight forward approach is averaging the three color channels, RGB. GrayValue = (Red + Green + Blue) / 3 You do this for every pixel. It is quick and dirty....

Image Processing – Python Read Image File and Convert into an Array
There are a tons of image already - instead of going though the pain staking process of creating by hand our own images, I am going to use an image I already captured. And yes, it is of my three cats. I am also adding to the collection of cat images on the internet....