Post Created date
ATTiny5: Can I use 12V_reset TPI entry regardless of RSTDISBL?
Yes. You can. Been doing this on thousands tiny10 and tiny5 chips, no issues.
Sunday, 28 March 2021 - 02:42
Measure supply voltage with ATtiny1614
Yes it can be done, I am already doing it with t1614, below is the formula and the code to do it... Below is code to measure the voltage of the VCC pin on the MCU using the 1.1v...
Sunday, 21 March 2021 - 14:27
Internal Eeprom reads 0xFF at Startup
Allow supply voltage to stabilize before reading eeprom, for drastic testing sleep 250ms to 500ms at bootup, do sleep at first line of code. See if eeprom read is resolved. I had...
Saturday, 20 March 2021 - 03:35
ATTiny1614-- What happens when Timer B Overflows?
For t1614... Sync Timer A with B and use A overflow. mind the sync errata. That is what I did. Microchip not having an overflow with capture was the stupidest idea in...
Sunday, 14 March 2021 - 22:54
How to "Test" ?
As MattRW said. Create an sd card simulator, basically simulate a sd-card using a raspberry pi or other hardware. Something that will pretend to be an sd-card. It will come in...
Sunday, 28 February 2021 - 01:18
ICP1: Delay between edge on ICP1 and copy of TCNT1 into ICR1
Delay changes if another ISR is running. Is this the only ISR being used?. Otherwise any other isr can increase that cycle count. If your trying to measure freq or info between...
Wednesday, 24 February 2021 - 14:10
Picture -> HEX
I recommend to use rle encoding, I wrote an rle decompression function in avr some time ago for a project, easy to implement and saves tons of flash space for images.
Sunday, 21 February 2021 - 22:56
Brief Update: AVR Debugger
cycle analysis, ISR analysis via standalone command line on an elf or hex would make for a very useful tool indeed. Outputting text analysis to command line. Maybe even a minimum...
Sunday, 21 February 2021 - 14:11
Linux AVR C Programming
I use command line only for linux avr... look at my tinyavr1 vusb library port for examples of linux command line only stuff. Everything you need is there, including how to create...
Tuesday, 9 February 2021 - 02:23
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