Post Created date
Frequency meter
Let's all just assume that the poster means four 7-segment LED units for the frequency display and that the frequency is going to range from 0 to 9999 Hz. And assume that the...
Monday, 21 June 2021 - 19:36
How can I operate a servo using 8-bits on Fast PWM
I assume that you have three periods here:  the first is logic High for 1 milliSecond,  the second is logic High with a variable length between 0 and 1000 microseconds,...
Saturday, 19 June 2021 - 21:58
Interrupts
I assume that you are testing this with a push button on INT1.  When you press this button, you will get most likely many tiny pulses because the button has no debouncing....
Saturday, 19 June 2021 - 21:22
'interrupt set' was not declared in the scope
Your Timer2 interrupt is way too long!  The interrupt routine should only set a global volatile boolean flag which indicates to the main code that the Timer2 interval period...
Saturday, 19 June 2021 - 20:58
ATmega328P: I2C/TWI Slave+Read
In the MPU8060, the slave register 3B contains only one byte of data.  All the registers have one byte of data.  To read 14 bytes of data starting at register 0x3B, call...
Tuesday, 15 June 2021 - 17:23
Anyone have a working WS2812 Library for the DAs?
Each WS2812 module consists of three internal LEDs: Green, Red, and Blue.  Each LED has 255 levels of brightness (8 bits).  To select a color and light the WS2812, ...
Monday, 14 June 2021 - 20:14
I installed Optiboot onto my ATmega324PB, how do I get applications on it now?
I suggest that you completely stop trying to use a bootloader on your ATmega324PB, and use the standard ISP method of loading flash code and EEPROM values.  I believe that...
Saturday, 12 June 2021 - 18:22
DS 3231
First you need to know how to use the TWI peripheral of the atmega328p... then verify that the DS3231 has a good working battery... then set the internal registers of the DS3231...
Saturday, 12 June 2021 - 18:00
how to code for TXC interrupt
The TX IRQ is different from all the others.  It is designed to work with a queue of bytes that are to be sent out of the UART in the background of the main program. ...
Saturday, 5 June 2021 - 21:51
Push Button that follows sequence
I respectfully and humbly beg to differ.  Given the vast amount of resources available in the Arduino platform for this specific processor, the Atmel AVR ATMega328P, then...
Friday, 4 June 2021 - 22:37
Push Button that follows sequence
You haven't told us enough information about the circuit.  For example, does the code have to be "my code" written in assembler and occupying the smallest space possible in...
Friday, 4 June 2021 - 22:00
IR TV remote
I don't think that you will get any useful output from the IR LEDs unless you really blast them with with several hundred milliAmps for the millisecond intervals that they are...
Friday, 28 May 2021 - 17:05

Pages