Post Created date
Filtering receive data on UART echo
My MIDI parser code in #4 works well.  Each MIDI-IN byte gets placed into an SRAM buffer.  This buffer has to be about 16 bytes in order to handle MIDI SysEx messages...
Tuesday, 12 November 2019 - 00:32
atmega328p Pro mini strange behaviour
If the USBASP supplied +5 to the system's Vcc bus, then the whole AVR system would have been running at that +5 Vcc.  Which is within AVR's voltage range.  The only...
Monday, 11 November 2019 - 23:34
Parasite noise on atmega328p outputs
You show all the output lines of the HT16K33 connected together.  If the HT is causing the problems, take it out of the circuit.  Why do you need 128 LED (always...
Monday, 11 November 2019 - 20:31
variable sine wave generation
The variable "counter" never gets beyond 255.  So when "counter" gets shifted right eight times, it always becomes zero.  The value sine_255[ 0] is always sent to PORTB...
Monday, 11 November 2019 - 18:36
Tri-State
Setting the pin high before making it an output ensures that it will be high logic (as a result of the pull-up resistor being on) when made an output.   There will be no...
Friday, 8 November 2019 - 23:52
hidden gem
I would avoid this construction (x-->0) because the symbols are too close to the syntax used for accessing a structure member when using a pointer to the structure: x->0:...
Thursday, 7 November 2019 - 00:44
Help arround USART communication
Test both parts of the code (send and receive from PC) separately to see if both are working.   Add a single LED (with a 150-1000 ohm resistor to limit the brightness current...
Thursday, 7 November 2019 - 00:24
Help with serial communication in atmega328p using assembly
Please don't mind me asking, because you haven't told us:   Is this a real full-sized licensed car that carries human passengers on a public road?   Or is this a small...
Monday, 4 November 2019 - 00:32
Microchip trying to wean people off Arduino to Atmel Studio?
Arduino started as CPU teaching systems called "Wiring" and "Processing".   These are two examples of using a English present participle as a proper name: something that...
Friday, 1 November 2019 - 22:23
Defeated by undefined reference to ...
A DS18B20 is an inexpensive three-terminal TO-90 temperature sensor.   The terminals are Vcc (+3.3--+5), gnd, and data.  Data has a 4.7K ohm pull-up resistor...
Friday, 1 November 2019 - 22:01
Low Frequency Oscillator (LFO) 0.3 Hz to 20Hz
I recommend getting one or a few of these AD9833 module boards from eBay: https://www.ebay.com/itm/AD9833-...     They will do in hardware easily the frequency range...
Thursday, 31 October 2019 - 01:29
Deciding cut off frequency for low/high pass filter
These look like Salen-Key 6db/octave filters that probably have a flat response at the cut-off frequency.    They won't be cutting off the frequency pass band very...
Thursday, 24 October 2019 - 20:18

Pages