Posts From The Art of Technology
PIC16F15214 Device Peripherals
Dive into PIC16F15214 device peripherals. Learn about its unique features and functions for efficient system design. Click now!
PIC16F15214 Pin Diagram
PIC16F15214 Pin Diagram VSS - Ground VDD - Operating Voltage Range: 1.8V to 5.5V PIC16F15213 Pin descriptions and Pin Mappings
Creating the TV-50 A Model TV Simulator
In case you didn't know - I enjoy model building - specifically model railroading. I have a website - GizmoFoundry where I sell the things I create. I thought I would run through the process of creating a simulator. In this case - the TV-50 which uses one of the basic PIC10F322 boards I created, specifically...
PIC16F15214 MCU Overview – What You Really Need to Know
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 I2C, EUSART, and SPI. The PIC16F15214 is also can be used if you need more...
Difference between – PIC16F15213 and PIC16F15214
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 Double the SRAM space with the PIC16F15214....
PIC16F15213 Device Peripherals
Digital Peripherals: Two Capture/Compare/PWM (CCP) Modules: 16-bit resolution for Capture/Compare modes - 10-bit resolution for PWM mode Two Pulse-Width Modulators (PWM): 10-bit resolution - Independent pulse outputs One Configurable 8/16-Bit Timer (TMR0) One 16-Bit Timer (TMR1) with Gate Control One 8-Bit...
PIC16F15213 Pin Diagram
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 descriptions and Pin Mappings PIC16F15213 Pin descriptions and Pin Mappings **Notes BI-Directional output signals...
PIC16F15213 MCU Overview – What You Really Need to Know
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 I2C, EUSART, and SPI. Don't confuse the PIC16F15213 with the PIC16F15313. Both are...
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 can be monitored for protection of other...
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 microcontroller to ensure that it is operating within its...
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 captured image size. Once an image is capture it will...
Z80 – Pinouts
Explore the comprehensive Z80 CPU Pinout guide, providing valuable insights into Z80 CPU– Pinouts along with images. Your ultimate source for Z80 information!
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 enhancement of the Intel 8080 and, like it, was...
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 there is a powerful image library out there...
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 corresponding gray level occurred in the image. Histogram...
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 channels only. This method requires no calculations. All...
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. And produces an ok grayscale image. And for what we...
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. Here is the image below - feel free to use it in...
Image Processing – Color Image Arrays
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 gray, with 0 being black and 255 being white. A color image is made up of a combination of three...
Image Processing – Memory Usage
Something to consider is the memory usage for the images that you will be processing. Given a 100x200 image - black and white. That 100x200 array takes up roughly 20K of ram. If it is a color image, it would be 3 times that - because each color channel (RGB) is stored. Again, we are talking about RAW image data -...