Post Created date
Programing ATtiny84 with BeeProg2
No, do not convert the output file of the AVR compiler/assembler into BIN (binary).    The output file that you will be using is the .hex file, which the BeeProg2...
Friday, 11 March 2022 - 00:37
Question About TCCR
You ask us to debug a timer operation but you don't tell us the system clock speed, so I'm going to assume that it is the factory default for the Mega8: 1MHz.  With a 1024...
Thursday, 10 March 2022 - 19:09
How to implement a wait loop for timeout using counter?
 The sensorStatus-testing while() loop should be inside the main()'s while(1) loop.  Don't turn the timer off and on.  Leave it to run as a 1mS system "heartbeat...
Wednesday, 9 March 2022 - 01:13
PIC32 Wi-Fi module
I have been looking at these devices (32-bit CPU_+_WiFi) for a few years to get beyond the limitations of the Arduino UNO/Nano (ATmega328P).  I bought a 10-pack of WeMos...
Saturday, 5 March 2022 - 14:34
One for the analog engineers
This is a pair of painted circuit boards with a lot of jacks, a row of rugged pots, an a 7-segment LCD display.  Internally there are, I estimate, four quad-op-amp IC...
Saturday, 5 March 2022 - 13:14
Do floating inputs consume power while in power-down mode?
I have never developed with the low-power modes, but from reading the datasheets, I believe that there are several of them.  As I recall, the deepest-sleep mode requires an...
Saturday, 5 March 2022 - 12:57
Atmega328p Timer 1 interrupt
With assembler you must take care about the order that you write and read 16-bit registers like the OCR1AH:OCR1AL.  Check the datasheet.   Your code has no way to turn...
Friday, 4 March 2022 - 17:55
Signals, Interruptions, a Button and a Timer, can the ATtiny85 handle it?
First let me tell you what this chip needs to get done: - Activate a timer while an input (let's call it In0) is HIGH; >>> a timer gets started when In0 goes HIGH...
Thursday, 3 March 2022 - 16:39
iterate over an enum
I've never seen namespace used in an embedded-systems program before.  Normally, this would be coded like: // kitchen door switch is on PortB2 Truth table: open=LOW closed=...
Wednesday, 2 March 2022 - 15:27
High voltage programmer for ATtiny10?
I don't believe that the Tiny10 actually has high-voltage (+12V) programming.  TPI interface is +5V on the pins.  Here's an overview:
Monday, 28 February 2022 - 16:51
Atmega328p problem with comparing ADC value
I would suspect that the ADLAR bit in ADCSRA (left-adjust the results) is wrong.
Monday, 28 February 2022 - 16:37
atmega128 code for atmega328
The code that is presented doesn't <do> anything but initialize vaguely an AVR controller.   We have no idea about what this device actually does or is supposed to...
Monday, 28 February 2022 - 16:19