How to find CPU Load for microcontrollers
Is it possible to find the CPU load for example PIC controllers? I mean i want to know if the controller is executing every task properly or not? It is just a vague idea to find out the CPU load and...
View ArticleTheory Question About Pull Down Resistors
Hello all. I have a generic theoretical question about pull down resistors and GPIO pins. If I had a microcontroller pin configured as an output, which is then connected to an LED and current limiting...
View ArticleNeed to control diesel fuel injector using microcontroller
Hi Guys, Previously I have posted a question but due to the circuit diagram in the post, it deviated from the original question. If you haven't seen the previous post, it's fine. I'll explain...
View ArticlePIC18F4520 circuit not functioning
why the multiplexed dual 7-segment display only showing 00 - 04 then loop again 00 - 04 until 20 and freeze. Code: LIST P=18F4520 #include <P18F4520.INC>...
View ArticleOS coding style
First, I would like to thank all the members here who don't get annoyed when someone asks a very general or basic question. I really appreciate that about this community, because I don't find this kind...
View ArticleTeensy 4.0 & Audio Board RevD Guitar Input
Thanks for reading. I am working on making a simple guitar buffer circuit that will connect to the audio input of the Teensy Audio Board Rev D. 1. Is it ok to connect RIN and LIN together? 2. The...
View Articleone sensor with multiple protocol [SOLVED]
I have a bit of a weird question, and I’d really like to hear how someone with practical experience would approach it. Suppose you have a temperature sensor that can provide temperature data through...
View ArticleCastles UPT1000F: accessing Program Manager or supported application-loading...
I am repurposing a Castles UPT1000F that still runs its existing preinstalled software. A USB keyboard connected to the documented host interface is detected at the hardware level—the lock-key LED...
View ArticleATmega64A EEPROM Not Retaining Data After Flashing Main Firmware
I am trying to flash EEPROM data into an ATmega64A using USBasp and AVRDUDE. I first flash the EEPROM code, which is supposed to store the MAC address in EEPROM memory. After that, I flash the main...
View Articleone sensor with multiple protocol
I have a bit of a weird question, and I’d really like to hear how someone with practical experience would approach it. Suppose you have a temperature sensor that can provide temperature data through...
View ArticlePIC18f27k42 EEPROM
Hi, Format using to read/write to eeprom has changed according to error message and an advice to use MCC. However MCC is not working on my systems. char data = EEPROM_read (byte) or char data =...
View Articleupditerm - working serial coms using only the UPDI pin on AVR including...
Xpost with edits. I'm surprised I haven't seen more notice or discussion of this. If you aren't using an official AVR/Microchip programmer or toolchain, this is neato. Using streef's upditerm, I have...
View ArticleFM80 solar charge controller datalogger
https://www.outbackpower.com/downloads/documents/charge_controllers/flexmax_6080/owner_manual.pdf The FLEXmax Charge Controllers use continuous Maximum Power Point Tracking (MPPT), which seeks out the...
View ArticleTN87C196KC question?
Hi All, I'm trying to repair a PCB with a TN87C196KC processor on it, it also has a KAM regulator, this should pull the reset pin low for a period then allow it to go high. At the moment reset never...
View ArticleTimer TCA PWM latency/synchronization with TCB on ATtiny 2 series.
I've found something a little weird and I can't figure out the cause. I may be missing something in the data sheets. The TCB errata for the TCB_SYNCUPD doesn't apply to this series. In my example, TCB...
View ArticleReplacing 7805 with a Buck Converter
I have a circuit board that I've made for the Teensy 4.0 and Audio board. Currently using a 7805 with a 9V power adapter. The 7805 gets very hot, so thinking about using the muRata...
View ArticleAm I on the Right Track – CAN Protocol ?
I ran some CAN example code on my Arduino setup, and it worked as expected. Now I'm trying to understand the CAN protocol in depth instead of just using the example code. I've written down my...
View ArticleBoth Methods Change Voltage Levels, Why Can Only One Communicate Over Long...
I am trying to understand what fundamentally changes when RS-485 transceivers are added between two microcontrollers. Suppose I have two MCUs, MCU A and MCU B, connected directly by a single data line....
View ArticleBattery Power Options for an ESP32 Rooftop Water Level Monitoring System
Hi everyone, I'm fairly new to electronics, and this is my first ESP32 project, so I'd really appreciate some advice. I'm building a water level monitoring system for my home's rooftop water tank. The...
View ArticleAll previously paid versions of our MPLAB XC PRO compilers are now free,...
https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers Available as free, unrestricted-use downloads with a range of optimizations, our award-winning MPLAB® XC C compilers are...
View Article