Understanding and Configuring the PIC10F322 System Clock Speed Upon reset or power-on, the PIC10F322 microcontroller defaults to a system clock speed of 8MHz. This default setting remains until you modify it in your code. Default Clock Speed and OSCCON Register When...
PIC10F322 Configuration Bits for XC8 You’ve just written your first XC8 program for the PIC10F322 and uploaded it to the chip, but nothing happens. The issue might be that you haven’t set up the Device Configuration Bits correctly. Proper configuration of...
Understanding PIC10F322 Reset and MCLR The PIC10F322 microcontroller features a reset pin known as MCLR, located at pin RA3 or physical pin 8 on a PDIP device. This optional external input can be used to reset the device when needed. Here’s a detailed guide on...
In my work with 8-bit microcontrollers, including the PIC10F322, I often rely on a +5V power supply. It’s a tried-and-true method, appreciated for its reliability. Precision Power Regulation for the PIC10F322 To ensure optimal performance of the PIC10F322, a...
Streamline Your Projects with my PIC10F320 and PIC10F322 Pin Out Diagrams Are you seeking tailored, innovative solutions that streamline your work with PIC10F320 and PIC10F322 microcontrollers? Look no further. My custom visual map is crafted precisely to meet your...
{Content System Abstract}{Content System – Core Concept }{Focus on Long Tail Niches}{Content Aggregation}{Automation}{Attractors (Magnetic Mechanisms)}{Targets}{Optimization}{AND HERE IS THE PROBLEM – Or Problems}{Phase One}{Phase Two}{Phase Three}Local...
Using RabbitMQ to Scale Automations, because at some point you are going to need to scale your application – maybe it is doing something that take a while – like running reports, or generating something in which you have a large amount of work to do. In...
Some Thoughts on Automation: Stop Doing Manual Tasks Do you find yourself spending too much time on repetitive manual tasks that add little to no value? Whether it’s small tasks or larger ones, manual work that needs to be repeated over and over can feel like...
In case you didn’t know – I enjoy model building – specifically model railroading. I have a website – Model-Rail Crafters where I sell the things I create. I thought I would run through the process of creating a simulator. In this case...
PIC16F15214 MCU Overview The PIC16F15214 is an cost effective upgrade from the PIC10F322. This MCU will give you two more I/O pins compared to the PIC10F322 – About 14 times the flash program space, 8x the SRAM space, and various other peripherals such as...
So, what is the Difference between the PIC16F15213 and PIC16F15214? FLASH Program Space and SRAM Size. PIC16F15213 has 3.5K Program Flash Memory and 256 Bytes of SRAM. PIC16F15214 has 7K Program Flash Memory and 512 Bytes of SRAM. You get double the Program Space and...
PIC16F15213 Pin Diagram – Image. PIC16F15213 Pin Out Diagram VSS – GroundVDD – Operating Voltage Range: 1.8V to 5.5V **NOTE RA3 – {MCLR} If used for IO is an input pin only! Cannot be used as Output. Cannot be used for Analog ADC Pin...
PIC16F15213 MCU Overview. The PIC16F15213 is a 8 Pin cost effective upgrade from the PIC10F322. This MCU will give you two more I/O pins compared to the PIC10F322 – About 7 times the flash program space, 4x the SRAM space, and various other peripherals such as...
Capture Image From Webcam – Using Python and OpenCV. 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...
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....
Introduction to the Z80 CPU The Z80 CPU, introduced by Zilog, marks the company’s first foray into microprocessors. Conceived by Federico Faggin in late 1974 and developed by him and his team of 11 employees starting in early 1975, the Z80 quickly became a...
Using OpenCV – Convert Image to Gray Scale in Python. 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 –...
Histogram for a Gray Scale Image – Using Python. 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...
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...
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...
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...
Color Image Arrays for image processing. Up to this point we have been dealing with Black and White images or Gray Scale images – that can be represented by a 2d array. Array(height, width) In which each element in the array represents one pixel and the level of...
Image Processing: Understanding Memory Usage When processing images, it’s essential to consider the memory usage, especially for high-performance applications. Here’s an in-depth look at how image size and type affect memory consumption and processing...
A list of my : Microchip PIC10F322 Resources Making Music with PIC10F322 : Using XC8 for Sound GenerationSound Generation with PIC10F322 NCO and XC8: Emulating the IBM PC/XT BeepUsing PIC10F322 Internal Temperature Sensor to Seed a Random Number Generator with...
Here is a little fun. Some Python code that will take a text file and turn it into an image. When I say, turn it into an image – I don’t mean it will read the text file and make some image from it that we could look at and say… oh the ocean. What it does...
As you recall – a black and white image can be represented by a 2d array. The below Python code takes a 2 x 5 array (checker board pattern) and using matplot converts it into an image we can see. #%% import matplotlib.pyplot as plt import numpy as np # 2d Image...
High level it is a binary representation (numbers) of visual information. And how is it represented? It depends on the format, we will get into that later, but it is nothing more than an array of numbers. For example – lets just take a 256 level black and white...
Image Processing in C and Python : Introduction My idea is to put together a collection of image processing code – that didn’t heavily use external pre-written libraries as a way to better understand the code and image processing itself. In other words, to...
My automation project is continually evolving, and I’m excited to share the latest advancements in my localized IoT setup. The image below shows the IoT Node Base, which includes a power regulator and is built around the ESP8266, specifically the Wemos D1 Mini....
I recently encountered a project requiring a small computer, and my initial thought was to use a Raspberry Pi. However, due to current shortages, Raspberry Pi prices have surged. For example, a Raspberry Pi 4 Model B with 2GB RAM is now selling for around $129, and...
This Python function will read and text file and return text file contents. #usage yourContentHolder = return_text_file_content(path to text file) def return_text_file_content(file): encoding_format = “utf-8″ textDataFile = open(file,...
Building and Automating a Hydroponic System I’ve been growing various herbs, lettuces, and other food plants using hydroponics for some time now. It’s a fantastic method for producing fresh veggies year-round. Recently, I’ve taken my interest a step...
Need to return list of files in directory based on the file extension? This is a Python Code Snippet that will return a list of files based on extension from a directory including full path. #Usage yourlist =...
Before starting any automation project, It is a good idea to have a plan. Automation With PowerShell and Python: The Importance of Planning Before embarking on any automation project, it’s essential to have a well-thought-out plan. With over 35 years of...
Movement Toward Localized Computing Is it just me, or have you also noticed the significant shift toward centralized computing models? Services like AWS, Azure, and Google Cloud have been dominating the tech landscape for a few years now. There’s no denying the...
Received a question about – How to separate a program into multiple files. Simple programs can be put in a single file, but when your program grows larger, while it isn’t impossible to keep it all in one file, it starts to become a big pain in the rear. The...
Enabling the PICKit or ICD to Supply Power to Your Target Device : In MPLAB – How to Enable the PICKit or ICD to Supply Power to Your Target Device – In MPLAB By default – when you are using the PICKit or other ICD – the power target circuit from device is...
Just, what is the difference between the PIC10F322 and PIC10LF322? Difference Between the PIC10F322 and PIC10LF322 The primary difference between the PIC10F322 and PIC10LF322 microcontrollers lies in their operating voltage ranges. The LF designation indicates a...
So, just what is the difference between the PIC10F320 and PIC10F322? Difference Between the PIC10F320 and PIC10F322 Both the PIC10F320 and PIC10F322 microcontrollers operate at speeds up to 16MHz with an internal oscillator. They share the following features: 4 I/O...
PIC10F322 MCU Overview : For in-depth technical details, please refer to the Microchip datasheet. This overview provides a high-level summary to help you get started with the PIC10F322 microcontroller. The Major difference between the PIC10F320 and PIC10F322 The major...