Skip to main content

All Questions

Tagged with
0 votes
0 answers
29 views

Problems with OCR1B on Atmega328p

Trying to control 4 servos (SG90) using 4 pots on an arduino nano and the one connected to OC1B keeps having problems, with bits of jittering and it just not moving correctly (occasionally spinning), ...
jimothy's user avatar
0 votes
2 answers
68 views

Extended IO registers handling in AVR using Assembly language

I want to program the ADC module of arduino Mega2560 using Assembly language (for simulation and learning), I can initialise the ADC Module using Assembly and my program converts in the first ...
learn design's user avatar
  • 1,020
1 vote
1 answer
49 views

Manipulating EEPROM in AVR using assembly programming

In the following video(at 10min): https://www.youtube.com/watch?v=YELGX5XDCiY&list=PLgwJf8NK-2e55CdbY_WnY6pejPHoojCkJ&index=18 The microcontroller used in the video series is ATmega32. Let's ...
learn design's user avatar
  • 1,020
0 votes
1 answer
82 views

ATTiny85 won't reprogram

I am using a tiny AVR programmer to program code specifically this one, https://www.amazon.com/dp/B00B6KNJRY?psc=1&ref=ppx_yo2ov_dt_b_product_details , I can successfully upload code onto a blank ...
Ash Ketchup's user avatar
0 votes
1 answer
52 views

How to make a circuit which can give divided voltage to ADC and can send a trigger pulse to INT0 when I press a button?

I connected 4 buttons to the ADC module of AVR-ATMega328p with different resistor values, To know which button is pressed this ...
in.yssh's user avatar
  • 45
0 votes
0 answers
251 views

ESP32 UART TX slow response rate

I`m having issue with UART communication between AVR and ESP32. Issue is with TX response rate. Here is what I`m sending with AVR, first 2 bytes are command, last 3 are data: ...
Ralfs Volis's user avatar
3 votes
0 answers
69 views

Minimum circuitry for robust operation of the "new" ATtinys (1614) with Optiboot

I have spent hours now trying to catch up on the replacements for the old ATtiny's, there does not seem to be a robust (meaning, with protections that we could find in an UNO or Mega for example) ...
user325962's user avatar
0 votes
1 answer
104 views

Audio processing from Arduino

The project is to design a device with multiple audio inputs and multiple audio outputs. The device should be capable to map input and output audio channels. Output almost same as the input. At what ...
kachaya's user avatar
  • 11
0 votes
1 answer
110 views

Is there a way send pulses over a DC line?

more details : we have 12V dc & we have master mcu board supply voltage to other slave mcu board the length of 12v dc cable between two boards can reach 50 meters so what is suggestion communicate ...
Smarta's user avatar
  • 9
0 votes
3 answers
346 views

Generate a signal with 8 fixed-width pulse with varying interval

I am working on an ultrasound device. We want to generate a particular signal to drive the 1 MHz piezoelectric transducer at various resonance frequencies point. The goal is to write a code using ...
Techno KG's user avatar
0 votes
2 answers
427 views

AVR reset pin capacitor causes chip to enter bootloader on powerup

I have a circuit using an ATmega32U4 and am using the Arduino Leonardo/Micro Caterina bootloader (the one that comes with arduinoIDE v1.8.13). The problem I am having is on power-up (via USB ...
Scott's user avatar
  • 191
3 votes
2 answers
512 views

The function setup () executes after ATmega328P wake up from the sleep mode

I am using ATmega328P in deep-sleep mode in Arduino IDE. For wake up I am using PCINT. I can see it is working but setup () also executes after wakeup. Is it ...
Dharmik Prajapati's user avatar
1 vote
1 answer
203 views

Missing 1 bit shift Bitbang I2C Atmega328p

I implement bit-banging I2C on Atmega328P and met the problem when the Master receives data from the slave. I'm in depression in debugging this code since I found no problem. Master Write work ...
MinhTem's user avatar
  • 33
0 votes
1 answer
143 views

Uncertain of 8-bit vs 32-bit alternatives to AVR32 [closed]

I was browsing a distributor to find options for simple 8-bit and 32-bit RISC uCs and came across AVR32. After some searching on the web, it seems that AVR32 is a bit dated and possibly not a good ...
Bryan A.'s user avatar
0 votes
1 answer
836 views

temp1:12:3: error: 'DDRA' was not declared in this scope DDRA = 0x00; /* Make ADC port as input */

Trying to upload code on atmega328 to display temp but throws me this error : temp1:12:3: error: 'DDRA' was not declared in this scope DDRA = 0x00; /* Make ADC port as input */ ^~~~ Here's ...
yagna thakkar's user avatar

15 30 50 per page
1
2 3 4 5
16