Adjusting LED Brightness with PWM and a PotentiometerThe CircuitLet’s walk through each part of the circuit:Putting It All TogetherNow for the CodeBreaking Down the Code: Adjusting LED Brightness with PWM Using a PotentiometerCode OverviewThe Endless LoopSummary...
Using a Potentiometer to Control an LED and Monitor Values with Serial FeedbackThe CircuitSetting Up the Circuit: Adding Serial Feedback to the MixPutting It All TogetherNow for the CodeBlinking LED with Serial FeedbackInside the Endless LoopWhat’s Happening...
Using a Potentiometer with a PIC Microcontroller To Change Flash Rate of LEDSetting Up the CircuitHow It All Fits TogetherAnd Now The CodeCode OverviewThe Endless LoopWhat’s Happening in the LoopCore MCU Framework LinksHave a Project or Idea!?Seeking Bespoke...
Using a Potentiometer with a PIC MicrocontrollerUnderstanding What a Potentiometer DoesWhy Use a Potentiometer?Setting Up the Circuit: Connecting the Potentiometer to a PICReading Analog Values: From Voltage to DataA World of PossibilitiesSeeking Bespoke Technology...
Alternating Blinking LEDs : Building on the Basics with the CORE MCU FrameworkFirst Things First: Setting Up the CircuitNow, Let’s Dive into the CodeWhat’s Happening Here?What Does It All Look Like?Why Start Here?A Dynamic Pattern GeneratorCore MCU...
Why Choose a Microchip PIC Over an Arduino?Why Choose a PIC?But Isn’t a PIC Harder to Use?When Does It Make Sense to Move to a PIC?Choosing the Right Tool for the JobSeeking Bespoke Technology Solutions?jamie@jamiestarling.com Why Choose a Microchip PIC Over an...
Building Smarter : The Power of Reusable Firmware with Core MCU FrameworkWhat is Reusable Firmware?Why Reusable Firmware MattersCore MCU Framework: A Platform for Reusable FirmwareBuilding Reusable Firmware: A Step-by-Step GuideHow Core MCU Framework is EvolvingA...
Introducing the Core MCU Framework: Making Embedded Development EasierWhat is the Core MCU Framework?The Core Problem: MCU PortabilityHow Core MCU Framework Makes Development EasierA Framework That Grows With YouWhy It MattersSeeking Bespoke Technology...
Blinking an LED with the CORE MCU Framework PIC16F15313 First Things First: Setting Up the CircuitBreaking Down the Code Step-by-StepWhy This Code MattersEndless PossibilitiesCore MCU Framework LinksHave a Project or Idea!?Seeking Bespoke Technology...
How to Easily Connect Your PIC Microcontroller to a PC Using a USB to TTL Serial ConverterWhy Use a USB to TTL Serial Converter?First, Let’s Cover Some BasicsWhat is TTL Serial Communication?So, What’s Serial Communication?Why Doesn’t My Computer...
How to Use an LDR (Light Dependent Resistor) in MCU ApplicationsWhat Is an LDR (Light Dependent Resistor)?How Does an LDR (Light Dependent Resistor) Work?Why Use an LDR (Light Dependent Resistor)?Where LDRs (Light Dependent Resistor) Are UsedCommon (Light Dependent...
Making Music with PIC10F322 : Twinkle Twinkle Little StarCreating the MelodySteps to Create the MelodyThe Circuit:The Code:Have a Project or Idea!?Seeking Bespoke Technology Solutions?jamie@jamiestarling.com Making Music with PIC10F322 : Twinkle Twinkle Little Star In...
Sound Generation with PIC10F322 NCO and XC8: Emulating the IBM PC/XT BeepThe IBM PC/XT BeepUnderstanding the NCO (Numerically Controlled Oscillator)Key Features of the NCO:Implementing the IBM PC/XT Beep with PIC10F322 and XC8The Circuit:The Code:Have a Project or...
In a previous post, we discussed setting up the PIC10F322 ADC to read the internal temperature sensor. While the primary use of this sensor is to monitor the die’s temperature to ensure it operates within its thermal limits, there are creative ways to utilize...
PIC10F322 Internal Temperature Module The PIC10F322 microcontroller is equipped with an internal temperature indicator module that measures the operating temperature of the silicon die. This feature is crucial for ensuring that the microcontroller operates within its...
SetupHigh-Level OverviewDetailed ExplanationHardware ConfigurationThe Circuit…The CodeFuture ImprovementsSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions? In this tutorial, we will create a light-activated switch using the PIC10F322 microcontroller...
PIC10F322 ADC and PWM for LED Brightness ControlOverviewThe CircuitAnd now… for the code.How the Code WorksSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions? PIC10F322 ADC and PWM for LED Brightness Control In this guide, we will explore how to...
Getting Started with ADC on PIC10F322 Using XC8Enabling and Using the ADCStep-by-Step ProcessConfigure the Port:Configure the ADC Module:Select ADC input channel:Turn on the ADC module:Start ADC Conversion:Wait for ADC Conversion to Complete:Read the ADC...
Why Replace __delay_ms()?The CircuitSetting Up Timer0 and InterruptsHow the Code WorksAdvantages of Using Interrupt-Based Delay TimerSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions? In this post, we will explore how to create an interrupt-based...
Implementing interrupts on PIC10F322 using the XC8 compiler is straightforward. This guide provides a quick overview to help you get started. Defining the Interrupt Function To handle interrupts, you need to define an interrupt function (also known as an interrupt...
Replacing the 555 Timer with PIC10F322: Cascaded Timer ApplicationsCascaded Timer OverviewThe CircuitXC8 Code for Cascaded TimerHave a Project or Idea!?Seeking Bespoke Technology Solutions? Replacing the 555 Timer with PIC10F322: Cascaded Timer Applications In this...
How to Build Basic Astable Circuits with PIC10F322 NCO as a 555 Timer AlternativeUnderstanding the NCOSetting Up the NCO for a 500kHz OutputChanging the FrequencyAdditional ConsiderationsExample CodeSummaryHave a Project or Idea!?Seeking Bespoke Technology...
PIC10F322 Applications: Replacing 555 Timer with PIC10F322 for Basic Astable CircuitsOverviewXC8 Code for Basic Astable CircuitExplanation of the CodeAdjusting the Pulse Width and FrequencySummarySeeking Bespoke Technology Solutions? PIC10F322 Applications: Replacing...
Introduction to Timer0 on PIC10F322Timer0 ModesCounter Mode:Timer Mode:Timer0 PrescalerPractical Example: LED Blinker Using Timer0Code OverviewLogic Scope ViewCircuitThe CodeExplanation of the CodeTimer0 Calculation ExampleSummaryHave a Project or Idea!?Seeking...
How to Use PIC10F322 for Basic Monostable Circuits: A 555 Timer AlternativeWhy Use PIC10F322 Instead of a 555 Timer?The Monostable CircuitAbout The CircuitXC8 Code for the Monostable CircuitAdjusting the Pulse DurationSummaryHave a Project or Idea!?Seeking Bespoke...
Understanding and Implementing PWM with the PIC10F322 Using XC8PWM Output PinsPWM Setup InstructionsUnderstanding PWM TermsHow PWM WorksAbout the PIC10F322 PWM ModuleSetting Up PWM on PIC10F322Calculating PWM Duty CycleHere is the logic analyzer on the 33% duty...
Creating a Trigger-Activated Dual Alternating Flasher with PIC10F322 for Model Train Level Crossing LightsPIC10F322 Project OverviewThe CircuitXC8 Code for Trigger-Activated Dual Alternating FlasherExplanation of the CodeSummaryHave a Project or Idea!?Seeking Bespoke...
PIC10F322 Button Debounce Tutorial : Step-by-Step XC8 CodeHow Debouncing WorksExplanation of the Debouncing ProcessThe CircuitDebouncing CodeHow to Use This CodeTroubleshootingSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions? PIC10F322 Button...
What Are Weak Pull-Up Resistors?Setting Up Weak Pull-Up ResistorsExample CodeThe CircuitXC8 Code for Weak Pull-Up ResistorsHow It WorksTroubleshootingSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions? Understanding and Using Weak Pull-Up Resistors on...
OverviewInternal Oscillator FrequenciesXC8 Code to Generate Clock Reference Output on PIC10F322Have a Project or Idea!?Seeking Bespoke Technology Solutions? This guide demonstrates how to generate a clock reference output on PortA.2 of the PIC10F322 microcontroller...
A Simple Traffic Light Controller Using PIC10F322 and XC8The Traffic Light Circuit based on PIC10F233XC8 Code for Traffic LightCustomizing the TimingSum it upHave a Project or Idea!?Seeking Bespoke Technology Solutions? A Simple Traffic Light Controller Using...
The CircuitXC8 Code for Dual Alternating FlasherHow to Customize the Blink IntervalSummaryHave a Project or Idea!?Seeking Bespoke Technology Solutions?jamie@jamiestarling.com Looking for a way to create eye-catching model train level crossing lights? This guide...
Blinking an LED on a microcontroller is often considered the “Hello World” program for embedded systems. It’s a great starting point for learning how to control hardware with software. This guide provides the XC8 code and circuit setup to blink an...
Simplifying Your PIC10F322 Projects with a Standard Header FileCreating the Header FileContents of the Header FileBenefits of Using a Standard Header FileHave a Project or Idea!?Seeking Bespoke Technology Solutions? Simplifying Your PIC10F322 Projects with a Standard...
How to Set a Pin as an Output on the PIC10F322 Using XC8Overview of I/O Pins and RegistersStep-by-Step InstructionsConfiguring a Single Pin as an OutputConfiguring Multiple Pins as OutputsConfiguring All Pins as OutputsConfiguring All Pins as OutputsImportant...
Understanding the TRISA Register on the PIC10F322 in XC8Basics of the TRISA RegisterConfiguring Pin RA0 as an OutputDisable Analog Functionality:Set the Pin Direction:Set the Pin High:Important Note about Pin RA3Example CodeSummaryHave a Project or Idea!?...
The Evolution of MCU Programming : From ASM to CThe Shift to CPortability:Efficiency:Ease of Learning:Readability:Industry Relevance:Summing It UpHave a Project or Idea!?Seeking Bespoke Technology Solutions? The Evolution of MCU Programming : From ASM to C When I...
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...
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...