Post Created date
I want to show rpm by measuring proximity sensor pulses on AVR128DA48
You can measure period by using the timer capture feature. You might want to ask yourself what resolution you need and how fast you want to update it.
Monday, 10 May 2021 - 14:30
ATtiny202 - External Oscillator Circuit
What is the rx timing when cold vs timing when warm? For ease of testing, get a can of freeze spray to see how far the timing drifts.
Saturday, 8 May 2021 - 12:53
ATtiny202 - External Oscillator Circuit
Kevil wrote:The boost converter should be fine, it can provide up to 75mA@3.3V   Even though incorrect parts were chosen and the layout has issues? I'd be ruling out the...
Friday, 7 May 2021 - 09:54
ATtiny202 - External Oscillator Circuit
Are you sure your boost converter is not going silly at low temperatures? I’ve been battling such issues at the office recently. Class 2 ceramic caps get worse at low temps.
Wednesday, 5 May 2021 - 21:43
Attiny1616 Interrupt priority possible
In the rxc isr, test for dre and service if required, then handle rxc.
Wednesday, 5 May 2021 - 12:16
losing pin change interrupts
You want to minimise the amount of interrupts. If this is a hobby project then you can tolerate the unreliability. If it is a commercial project, you might want to rethink your...
Tuesday, 20 April 2021 - 23:28
Atmega1281 and Max31855 bit bang not works
You could've commoned all the SCLKs and the MISOs. That would save a few port pins. And the opto on the relay circuit - that's not doing much.
Sunday, 18 April 2021 - 07:05
Inverting Buffer, awkard legacy layout
Four layer pcbs are only marginally more expensive than two layer, so guess which way i'm heading......
Friday, 16 April 2021 - 11:10
How can i read with i2c
Why do you think it is the code? Have you proven the hardware? Pullup resistors in the SDA and SCL pins?   It's no use posting some random code and saying it doesn't work. Do...
Wednesday, 14 April 2021 - 12:12
ATtiny202 - Oregon Scientific temperature sensor replacement
If it doesn’t work, then you’ll know where to look. For one, L1 doesn’t look to be the right size. Pcbs are cheap, so just spin another if required.
Wednesday, 14 April 2021 - 04:03
ATtiny202 - Oregon Scientific temperature sensor replacement
If it works for you, then i’d say you’re lucky as you’ve violated a few design rules. 11thou tracks are ok for interconnects, but you want thicker for the power traces to minimise...
Thursday, 8 April 2021 - 23:41
LUA interpreter into the firmware of ARM MCU.
Lua has fallen off the radar in recent times. Micropython, ulisp and espruino are more recent and have better community support. From what I recall, elua was over 200k on a cortex...
Thursday, 8 April 2021 - 05:23