Post Created date
Under what circumstances would you *NOT* want to use the BOD?
gchapman wrote: 8 - Most Brown-Out Reset Circuits Don't Work [a periodic battery test]   I read the linked article and it led to Texas Instruments' Application Report ...
Tuesday, 16 July 2019 - 01:29
ATmega8 vs Atmega88
Arduino can be used without the software.  Bare metal. I use the IDE to program chips because it's available on Mac and is a single mouse click to compile and upload. The...
Sunday, 14 July 2019 - 22:49
Measuring EC for hydroponics
Top with diced tomato and onion and you have a picobagel.   --Mike  
Sunday, 14 July 2019 - 05:40
Help with DDS and PWM
Change 65535 to 65536 to remove some jitter.   Also, the update of OCR1A is buffered, but the write to PORTD is not, so they are out of sync.   Not sure you can do any...
Sunday, 14 July 2019 - 00:16
allocating memory to an array of pointers doesn't work
Maybe you need a cast?   strings[i] = (char*) safe_malloc(255);  --Mike  
Saturday, 13 July 2019 - 20:23
Help with DDS and PWM
ColdfireMC wrote: Every 2 seconds, waveform jitters 50us   Probably due to dropping the lower 24 bits of phase_acc.   Ideally you'd use those bits to interpolate the...
Saturday, 13 July 2019 - 05:09
Help with DDS and PWM
Mode 7 is 10-bit Fast PWM.  OCR1x is buffered so changes happen at the right moment (BOTTOM).   For a nice smooth output waveform, you need to update OCR1A exactly once...
Friday, 12 July 2019 - 21:36
Memory corruption?
MAX_DP has the value 128 which doesn't fit in an int8_t (range is -128..127).   --Mike  
Friday, 12 July 2019 - 16:30
Measuring EC for hydroponics
Siemens are just the reciprocal/inverse of ohms.       1 ohm  = 1 siemens   10 ohms = 0.1 siemens 100 ohms = 0.01 siemens   etc.   --Mike  
Friday, 12 July 2019 - 16:04
Help with DDS and PWM
ColdfireMC wrote: ISR(TIMER1_COMPA_vect) { static uint32_t phase_acc = 0; phase_acc += phase_inc; OCR1A= sine[phase_acc>>24]/gain; PORTD=(phase_acc>>24); //...
Friday, 12 July 2019 - 01:17
Memory corruption?
Turn on all compiler warnings and make sure to fix all of them.   --Mike  
Thursday, 11 July 2019 - 20:09
Nichicon Alternative
meslomp wrote: Did digikey not give you an alternative?   They did, but it was just one part from Illinois Capacitor for each.   Quote: Vishay BC componetns is the old...
Thursday, 11 July 2019 - 16:20