Skip to main content

All Questions

Tagged with
0 votes
4 answers
59 views

What does it mean the MCU has 1 ADC and 10 ADC channels?

I got this AVR Microchip MCU ATtiny 204 chip. Now what I can't get, what do they mean in the datasheet it has 1 ADC and 10 channels ADC? The datasheet:https://datasheet.octopart.com/ATTINY204-SSF-...
Hazardous Voltage's user avatar
0 votes
1 answer
44 views

LCD Entry Mode Set and AVR MCU

I want to simulate **the Entry set mode ** function of and LCD based on HITACHI 44780 Controller. (Here is the datasheet.) The "Entry set mode" is given the following code of the 8 bits data ...
learn design's user avatar
  • 1,020
0 votes
0 answers
24 views

AVR128Dx TCB Input Capture issue

Ive made a code for reading SENT sensor using TCB interrupt with event system. It works 90% of the time, but those 10% seems like it doesnt read correct high pulse duration, mby someone will see, what ...
Ralfs Volis'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
2 votes
1 answer
117 views

AVR32DA VIH threshold

I am looking into using an AVR32DA48 MCU for a design. The MCU will be powered at 5V and needs to interface with an IC at 3.3V. The IC is 5V tolerant and I am trying to figure out if a level ...
Mr.Y's user avatar
  • 153
0 votes
2 answers
79 views

Can I treat the USB controller in the ATMEGA8U2 as seperate from the rest of the microcontroller?

I'm working on a project that runs on a battery, but can be connected to a computer for a serial connection/charging. In the documentation it lists an example of a bus powered USB controller with ...
Elliot Smith's user avatar
1 vote
2 answers
478 views

Assembly: AVR Studio alternatives for Linux [closed]

I had been using using AVR Studio on Windows to write assembly code for my MCUs (mainly for atmega8515) for a couple years. However, recently I transitioned to Linux and turns out there aren't any ...
Heather7283's user avatar
0 votes
0 answers
62 views

avr debugWIRE On chip debug system

I am new into avr and am working on atmega328p. I am not able to understand the avr debugwire system. What is this and how it works. I am seen the datasheet but am not getting a good clear ...
kam1212's user avatar
  • 669
0 votes
1 answer
134 views

Why is nothing happening on my CLKOUT pin, despite the RTC working fine? [closed]

I apologize for the (probably) trivial question -- I'm just starting to get back into coding for MCUs after a long hiatus, so please be patient with me. I'll preface this by acknowledging that there ...
uWaveMan's user avatar
1 vote
1 answer
66 views

Cannot stop Microcontroller's Hardware Timer from running

I'm using an Atmel ATMega8 microcontroller to control a stepper motor. (Datasheet). Timer1 (a 16-bit hardware counter) is used in CTC mode to modulate an IO pin to provide the stepping signal to the ...
Wossname's user avatar
  • 657
1 vote
1 answer
387 views

How do I measure distance of Ultrasonic Sensor HC-SR04 using the ATmega328P Timer Input Capture?

I am using an ATmega328P MCU with an 16 MHz external oscillator. I need to measure distance of Ultrasonic Sensor HC-SR04 using the ATmega328P Timer 1 Input Capture interrupt. I have to measure the ...
Pumbaa's user avatar
  • 25
0 votes
0 answers
52 views

AT90USB1286 as a potential storage device for a few kilobytes of data

I have a few trays of AT90USB1286 microcontrollers leftover from a previous project that I would like to make use of. Is it possible to make this chip act as a block device when connected to a PC? I ...
00728M's user avatar
  • 15
0 votes
1 answer
209 views

AVR Port pins: read and write

As the ports are connected to pull-up resistors; the port pin values should be at level 1 when not connected to the outside world.I wrote the below code to set the lower half of PORTA as input and the ...
KM23's user avatar
  • 13
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

15 30 50 per page
1
2 3 4 5
28