Post Created date
Stepper motor not working as expected
avrcandies wrote: 4.5 KG   That's a big (10 pound) motor...   A NEMA 17 motor is less than 2" square.  If it weighs 4.5kg - yikes!  I wonder if the OP...
Sunday, 25 October 2020 - 05:00
Interrupt Based Seven Segment
As another aside (bit OT):   barnacle wrote: As an aside - where logical expressions are being used, I prefer to see them expressed using booleans ... (even though they are...
Thursday, 22 October 2020 - 07:37
Clearing flags by writing a logical one
The first line of the table is correct - writing a '1' will NOT set the bit.   In fact, the whole table is correct, but that's the important one, I guess.  The other two...
Thursday, 22 October 2020 - 02:45
Questions about PRNGs
A pseudo-random number generator (at this point I'm thinking an LFSR) will generate a certain sequence, and the only difference the seed makes is where in that sequence you are....
Tuesday, 20 October 2020 - 05:25
Rotary pulse encoder issue generating pulses
I would ask if your "Rotary Pulse Encoder" is in fact an encoder that outputs two square waves in quadrature - meaning 90 degrees out of phase.  If your waveforms look...
Tuesday, 20 October 2020 - 02:50
Strobe Bits of ATmega
Or, putting it another way, it's a bit that when you write '1' to it, on the very next cycle it writes itself back to '0', thus saving you (programmer and CPU) the hassle of...
Friday, 16 October 2020 - 03:50
Timer overflow ISR execution is delayed - precise timing needed.
It's worth noting that if you really need 'to-the-clock-cycle' timing precision you need external hardware, because the AVR will finish executing what might be a multi-cycle...
Wednesday, 14 October 2020 - 12:28
Interrupt Based Seven Segment
Another thing or two:    Why are all your '_init' routines inside set_timer()?  Do you really need to re-initialize them every trip through your while{} loop?...
Monday, 12 October 2020 - 23:11
Interrupt Based Seven Segment
I might hazard a guess that the interrupt priority of PCINT is greater than that of TIMER_COMP - so if you sit in PCINT with a button held down, TIMER_COMP will never fire - nor...
Sunday, 11 October 2020 - 16:35
Desoldering Station
I was sorta idly considering buying hot tweezers at some point, but your remarks upon how mechanically poor they are have changed my mind.  I'll stick with the heat gun and...
Thursday, 8 October 2020 - 07:03
Desoldering Station
Anyhow, a bit OT:   I got to yell at my father for something like that.   To be fair, the house he lived in was wildly weirdly wired, with multiple switches on every...
Thursday, 8 October 2020 - 00:00
Desoldering Station
I have cooked 44-pin SMT AVRs off of boards with a heat gun, but I'll freely admit it was a bit brutal.  Everything else got carefully wrapped in aluminum foil, to start......
Wednesday, 7 October 2020 - 23:01

Pages