Post Created date
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
Sorting algorithm
The simplest way would be to rename the first ten elements from "test0..test9" to "test00 .. test09".   Manually, if only 10 entries.     There is always a...
Thursday, 24 October 2019 - 20:10
Help with Ultrasonic sensor
The echo pin goes high (active) about 10-15 microseconds after the six pulses are generated.   Those six pulses are generated a few microseconds after there is a pulse...
Tuesday, 22 October 2019 - 21:19
RTC MONTH NAME DISPLAY
Here is another common way to use strings that are stored in flash memory.  You need to include the library for accessing program memory.     const char month01[]...
Sunday, 20 October 2019 - 23:34
Filtering receive data on UART echo
Here is some MIDI code in C.   This first section is in the main()  or  loop().  It tests for a newly arriving MIDI byte.  The Serial library uses...
Friday, 18 October 2019 - 23:04
I2C LCD with Atmega328p - No IDE
Accept that your teacher is forcing you to do something that is simply not done outside of the engineering school environment: use naked winAVR for a non-trivial project. ...
Friday, 18 October 2019 - 22:38

Pages