Post Created date
minimum sample frequency for potentiometer, button and encoder
I agree that testing switches, pots, and encoders need not be done more than 20 times a second (0.05 second per update).   That is as fast as humans can change those...
Sunday, 27 February 2022 - 04:20
Referencing voltage from another regulator
I would first suspect the expression:  uint8_t s0 = PINB & (1 << PIN_B_S0_IN); this seems rather academic for an 8-pin microcontroller.  Try changing it to the...
Thursday, 24 February 2022 - 00:54
Total newbie seeking help with USBasb and AT90S1200\2313
Since the 90S1200 is the absolute first AVR from 1998, it is possible that it doesn't have an internal RC system clock generator.   I recommend adding a crystal between...
Thursday, 24 February 2022 - 00:23
faking a POT 500ohm with a filter pwm?
No one should use the terms "PWM" and "voltage reference" in the same sentence.   If you need precision analog voltage levels in your design, then use a precision DAC chip....
Tuesday, 22 February 2022 - 15:18
ATTINY404 I2C Examples
Although this seems to be a really round-about way to learn to do I2C on the ATtiny404,  I recommend downloading and installing the latest Arduino IDE. Then install the Core...
Saturday, 19 February 2022 - 16:09
Blink using Atmega88-20PU
First determine if it is hardware or software.   Load the program (with mods) to Arduino:   void setup() { // PBG is Arduino D8     DDRB |= 1 <...
Friday, 18 February 2022 - 17:04
Toggling a switch without delay
First you take one the timers and cause it to interrupt every 0.001 Second (1 milliSecond).  In the interrupt routine  you increment a global volatile unsigned long...
Thursday, 17 February 2022 - 17:03
Basic Stamp
Are you interested in a platform that specifically uses BASIC on a small microcontroller, or are you looking for a cheap microcontroller development module that can be programmed...
Wednesday, 16 February 2022 - 14:41
Your Three Favourite Technical Books?
   This book and especially its Part II, which actually built a 6502 assembler, was most helpful.   In the 1980s, the major electronics companies all decided to...
Tuesday, 15 February 2022 - 14:51
Multiplexed leds 8x8 display
I wish that when people upload projects like this that they also inform us about how difficult or easy it is in their location/country to get parts from China through eBay and...
Sunday, 13 February 2022 - 03:49
[Help] ATMEGA32U4 Unkown USB device with default bootloader
Try it without the CKDIV/8 fuse being active.
Thursday, 10 February 2022 - 16:38
Circuit for self powered atmega32u4
I recommend using the Arduino Leonardo, which is based on the ATmega32u4.  It has the bootloader installed and is ready to work right out of the packing envelope. It's a...
Wednesday, 9 February 2022 - 21:17