Questions tagged [ATmega] (43)

3
answers

What is my error in AVR where I need to loop, or what to do?

Can't understand what I need to do to fix this miracle, like no breaks, and if there is something where I loop in General please explain. Here is where the code breaks in memory 0xfffff And here is what
Dillon.Upto asked April 4th 20 at 01:36
1
answer

Why not respond to the controller?

Stopped sewn Board mega 2560 (now 4 in a row) and the led on leg 13, the quartz blank, just empty. Stitch using a different mega 2560.spoilerArduino: 1.8.5 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine-hardware C:\Pr...
royal_Bednar95 asked April 3rd 20 at 17:38
4
answers

What is the most convenient IDE?

What is in your opinion the best IDE at programming microcontrollers?
Bradley_Rippin asked April 1st 20 at 16:18
2
answers

Who worked with the two wire interface (I2C), why is it so difficult to confirm the transmission of the address and data?

ATmega8 hardware TWI interface, read the Datasheet, the scheme gathered on the pry bar, master transmitter ATmega8, slave receiver PCF8574. Lifting lines SCL, SDA to VCC used the internal resistors ATmega8. Using the example in the Datasheet, entered a code in AVR ASM and ran for the beginning in Proteus 8. Works correctly ...
Laurence_Schuppe55 asked March 21st 20 at 13:06
1
answer

How to make avrdude and atmega168v-10au?

Bought on a famous Chinese website arduino pro mini (atmega 168). Installed chip ATMEGA168V-10AU Hooked via Arduino as ISP (as a programmer using arduino uno), the fee is determined. Run avrdude:avrdude -p m168p -P /dev/ttyACM0 -c avrisp -b 19200-U flash:r:test.hex Error:avrdude: AVR device initialized and ready to accept i...
boris.Williams asked March 17th 20 at 08:36
2
answers

How to make a frequency generator at the GPIO Arduino?

You need to get into Arduino (Leonardo compatible ATmega32U4, 16MHz) on one of the GPIO pins homogeneous signal with a frequency of 200 kHz. Ideally sinusoidal, but square. I see 2 approaches: 1) to program the system timer, so he ruled GPIO (no interrupt processing timer). This approach I like best, but it is unclear wheth...
abigale.Lubowitz60 asked March 16th 20 at 13:54
2
answers

How to handle holding the button in the MC AVR?

Hello ! Sketched a small code that handles pressing and holding the button on the timer. The button is pulled up by resistor to +5V and to the PORTA4 pin. With the appearance of 0 on PA4 starts the timer(START_HOLD_DOWN_TIMER), ~every 10ms the timer interrupt checks the status of the pin. If caught in the condition of 300 t...
lydia asked March 13th 20 at 14:02
1
answer

Adruino — O Baka

Certainly, many have read about O Baka odnoshevnyy Arduino, and then collected their similar schemes Kimio Kosaka, But on the page of the author of the project just below there is a photo with the implementation of this using mini-b socket. Actually a question: where to find diagrams of the collections from this socket to ...
Waldo asked October 8th 19 at 06:55
3
answers

ATmega8, processing of the video stream

Arduino (ie, ATmega8 microcontroller) will pull a very simple processing of the video stream a small resolution...? If any examples of this?
Lydia.Littel asked October 8th 19 at 06:39
1
answer

Atmega / LED Driver?

Good time of day. Is: * Atmega32 * 8 RGB LEDs (or 8*3 = 24 led) Why such a question, could you tell me the led driver, which can control 24 channels (and adjust the brightness, PWM). Availability of libraries for this driver in C for Atmega16/32. Perhaps, of the mandatory requirements — accessibility and popularity.
Noble.Halvorson58 asked October 8th 19 at 02:34