Post Created date
Using SoftI2C with INA219 (curent sensor)
There is a three-channel version of the INA219 called the INA3221.  Ebay has a cheap module board:   However this particular module...
Friday, 17 January 2020 - 23:48
Bad DS1307?
Change your default real-time register values to hours = 1, minutes = 59, and seconds = 50.  Now after ten seconds, see if the hours goes to 2, goes to 0, or stays at 1....
Friday, 17 January 2020 - 19:05
Using SoftI2C with INA219 (curent sensor)
The SDA/SCL PORT/PIN values are set to the default values for TWI (AVR term for I2C).  PORTC PIN4 is Arduino's A4.      Change these values in the .ino file to...
Friday, 17 January 2020 - 18:36
1wire ds2401
Here is an Arduino library for the DS2401 device:   This is a complicated device.   Study the library source code and the data...
Friday, 17 January 2020 - 01:07
OLED Display with 1306 on 328p
{You have 1D initialisers for a 2D array?}    I don't know what this means.   Each I2C device type has a seven-bit address that has a value between 1 and 127 [0x01-...
Friday, 17 January 2020 - 00:44
OLED Display with 1306 on 328p
The wire.h library drives the Arduino's I2C interface.  There are two types of interface for the OLED SSD1306.   The SPI (serial peripheral interface) and the I2C (...
Thursday, 16 January 2020 - 00:50
ATTiny13 + Nokia monochrome lcd
Try connecting Reset on the display to Reset on the AVR.  You may be able to reset the display with the AVRs long power-on/reset pulse.  You can also stretch the reset...
Thursday, 16 January 2020 - 00:34
MAX7219 led matrix
You either have an alignment problem with the connection between the MAX72 and the 8x8 LED modules, or the alignment of the font table is 90 degrees off the font alignment of the...
Saturday, 11 January 2020 - 23:45
ATMEGA328P I2C Speed Issue
I recommend using the 16mHz Arduino and reading the sensor at the minimum number of times per second as possible.   Do you update the DAC value with each sensor read?...
Friday, 10 January 2020 - 19:48
Working code for ssd1306 display
The BigDigits font characters are 24 pixels high (vertical) and 12 pixels wide.  To make a digit appear, set the cursor position of the SSD,  then get the first 12 bytes...
Tuesday, 7 January 2020 - 23:40
USART Interrupt Keeps Firing with No Data Input on RXCIF Flag
Try NOT reading usart0. RXDATAH.                 DATAH
Tuesday, 7 January 2020 - 23:12
sampling smal DC 0-40mV with Atmega8
Some of the AVRs have ADCs that have differential inputs with low-voltage ranges.   With one of these you won't need an op-amp to buffer the signal.   But if...
Monday, 6 January 2020 - 22:55