Post Created date
Problems with LDO regulator AZ1117lH-TRG3.3
My company blacklisted Diodes Inc; LDO and all of their voltage regulars after receiving a bad 3000pcs reel from them 5 years ago. About 60% failure rate on reel. They confirmed a...
Thursday, 8 July 2021 - 22:49
Random numbers using SRAM
If your app uses a button.... a simple rand generator can be... Rnd is always changing until button press is detected then value is passed in   //Main loop uint_16 Rnd =0;...
Wednesday, 7 July 2021 - 01:43
PCB pick and place machine and component wastage
Our machine has a zero waste system, but we designed the machine and it's vision system. And can easily run low volume to high volume, the sacrifice is speed. Our machine is...
Saturday, 15 May 2021 - 13:19
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