Post Created date
A program to help me roll back to older versions of my code
In the old days we used a folder called "revisions" and zip your project folder, call it r01 or r02 ect. Drop it in the folder. Would zip a revision before/after feature...
Tuesday, 26 January 2021 - 01:32
Raspberry Pi is now a microcontroller
What is the benefit of this over other arm cortex or esp? The pi zero has wifi and runs linux, which is a clear benefit, those zeros are fantastic little devices.
Friday, 22 January 2021 - 02:49
P-Channel FET Failing in Battery Protection Circuit
I use the same fet aod4189, I have had the same failures, short circuit mode failures. I used a pnp 3906 with sense resistor to the gate to make a current limit circuit, problem...
Thursday, 21 January 2021 - 06:32
closed source library with AVR and ARM Gnu toolchains
Ptouch is closed source.... Car head units use tons of open source code, and only list the open source code on their website for download, they always purposely omit their...
Thursday, 21 January 2021 - 06:17
ATTINY402 and UPDI Grief -- Reads as TINY406
Just so you know, their is a bunch of chips out there in the wild with wrong device ID's, I have some too. microchip made a buch and set wrong device id's and shipped them to...
Wednesday, 20 January 2021 - 04:53
MegaDB vs MegaDA vs Mega0 ?
DA DB mega0 are all new core series, you must clear ISR flags yourself now! When an ISR fires. Or the isr will loop forever! An unwelcome carryover from Microchip engineers PIC...
Wednesday, 20 January 2021 - 04:44
Interrupt Driven UART issue
What MCU? Tinyavr0/1 has uart errata.
Wednesday, 20 January 2021 - 04:39
Can pin be used to discharge a capacitor?
You can use an inline resistor to the GPIO, 15k and lower will not affect the ADC measurement. Rate that resistor for desired discharge rate. Another benefit of the inline...
Saturday, 16 January 2021 - 15:50
gcc vs XC8 for AVR
In tinyavr size matters, xmega not so much. Bloated code does not mean it's faster. an assembly comparison would be in order to investigate... in the compile flag for minimal size...
Saturday, 16 January 2021 - 07:00
Using battery and no switch
Agreed, ditch the LED display and go LCD if using batteries. That is your substantial battery drainer.
Saturday, 16 January 2021 - 06:14
AVR GCC generates infinite running code
Run ezstack on your elf and check if you have overflowed your SRAM. Without seeing the whole program, my guess is that is the issue.
Saturday, 16 January 2021 - 05:54
If your jumping into a ESP8266, you might as well replace your m328p with it. In the long run your project will be simplified, and the learning curve is minimal. Dont let the...
Saturday, 16 January 2021 - 05:46