Type in the full discussion title or a part of it.
Discussion Title Created date
20x4 LCD: 2 rows on, 2 rows off
  I'm trying to simply display some text on a 20x4 LCD display. I did same thing many times before; however, this LCD has a strange behavior. It always shows below pattern....
Sunday, 4 October 2020 - 07:31
Spring in digital mutimeter
There is a spring on my digital multimeter PCB (DT-830B): It is really soft and weak so I don't think it is there to help opening back cover! Any idea?
Saturday, 11 July 2020 - 17:22
simple ammeter using a 5 volt ADC
I want to create a simple ammeter using a 5 volt ADC (for example mega avr internal ADC). If I pass the current through a low resistance and measure the voltage across...
Saturday, 1 February 2020 - 09:49
Accurate 8-bit timer using 16MHz crystal
I created a program that toggles an LED every 1 second. To achieve high accuracy, I used CTC mode in this way: 16MHz crystal (main MCU crystal oscillator), prescaler = 256, OCIE2A...
Monday, 20 January 2020 - 19:17
Optimize code for speed and power consumption
In a project, I want my code to be: 1)Accurate 2)fast 3)Power efficient (sorted by priority) I can use assembly but it is a little hard. Currently I'm using -O3 optimization level...
Sunday, 5 January 2020 - 15:50
Atmel Studio simulator fails to turn off BOD while sleep
Hi. I want to disable BOD (Brown-Out Detection) while MCU (ATmega328P) enters sleep mode. Here is my code: C: sleep_enable(); MCUCR |= (1<<BODS)|(1<<BODSE);...
Wednesday, 1 January 2020 - 04:40
best way to protect ADC from over voltage
Hello. I'm building a circuit to test linear regulators up to 24V using avr ADC. There is a voltage divider in output line to reduce voltage to 1/5 (4kOHM and 1kOHM); for...
Saturday, 9 November 2019 - 15:39
Send program to chip and set fuses and lock bits automatically
Hello. Today, I wrote a program and pressed F5 (Debug) to send it to the MCU (STK500 programmer-ATMega16a). I always use this way because when I'm using stk500, it just sends the...
Friday, 20 September 2019 - 16:31
Interrupts cause reset in bootloader program while IVSEL is enabled
I'm trying to write a custom bootloader that uses UART to communicate with PC. I want to add a timeout to USART_ReceiveByte(); So I used timer 1 and interrupts. The program works...
Tuesday, 17 September 2019 - 13:35
Transmit data between PC/Android phone and MCU
Hello. I'm working on a device that receives a command, measures something and returns the results. (MCU: Atmega32) I used a 3x4 matrix keypad and a 16x2 LCD to enter command and...
Friday, 5 July 2019 - 09:12