News for hackers. Stuff that matters.
Re:I Over-Engineered a Fast Fourier Transform for Arduino by kragen on Friday November 25, 2022 @08:10AM (#33742044)
> Now what if you want a medium current PWM output

mmbt2222, 2n7000, uln2003, tip122, irf540/9540, sheesh

its inputs have a schmitt trigger mode. if you can deal with 200mv hysteresis you can maybe use three resistors instead of an analog comparator

Re:I Over-Engineered a Fast Fourier Transform for Arduino by type111 on Friday November 25, 2022 @08:24AM (#33742132)
All options and all costing you more money on top of the 'only $1'.
Re:I Over-Engineered a Fast Fourier Transform for Arduino by kragen on Friday November 25, 2022 @08:32AM (#33742188)
an mmbt2222 costs 1.6 cents and handles three times the current and six times the voltage of an avr

technically yes it's a chip but not an ic

resistors are under a cent

Re:I Over-Engineered a Fast Fourier Transform for Arduino by type111 on Friday November 25, 2022 @08:38AM (#33742234)
Looks like you've cracked the code. AVR is obselete after all.
Re:I Over-Engineered a Fast Fourier Transform for Arduino by kragen on Friday November 25, 2022 @08:39AM (#33742247)
has been for ten years
Re:I Over-Engineered a Fast Fourier Transform for Arduino by type111 on Friday November 25, 2022 @08:48AM (#33742319)
Given that's the case, do you have an explanation for Microchip's development of numerous new AVR product lines since their acquisition of Atmel in 2016?
Re:I Over-Engineered a Fast Fourier Transform for Arduino by kragen on Friday November 25, 2022 @09:35AM (#33742714)
people buy them
Re:I Over-Engineered a Fast Fourier Transform for Arduino by ComputerGuru on Friday November 25, 2022 @02:29PM (#33745929)
Comfort and familiarity. They’re comfortable chips you can learn inside and out with a fairly huge ecosystem (importantly one that is approachable because it’s also powered by people in a similar position and with similar priorities/concerns to your own) around the parts/arch/IS and you don’t have to read scary looking 600-page datasheets (then realize there’s a separate datasheet for the core vs the rest), worry about soldering TQFN or TFBGA packages with your (t)rusty old Weller iron, don’t need to learn the distinction between the Cortex Core and the manufacturer-specific everything else around it, worry about things like initializing timers and peripheral buses, concern yourself too much with power states, etc.
Re:I Over-Engineered a Fast Fourier Transform for Arduino by kragen on Friday November 25, 2022 @06:43PM (#33748213)
yeah, good points

also they do have adcs and comparators and can drive 200ma. and they are reasonably tough

but you don't need much adc precision or speed or much drive current before you want something better