Questions tagged [atmel]

Atmel Corporation was a designer and manufacturer of semiconductors before being acquired by Microchip Technology in 2016. It was founded in 1984. The company focuses on embedded systems built around microcontrollers.

Filter by
Sorted by
Tagged with
1 vote
2 answers
24 views

Can we use more than one timer when programming an Atmega32/16?

I tried to do a simple program using the ATmega16 microcontroller, the program is to toggle two LEDs the first one by using timer0 interrupt and the other using timer2 interrupt.
user avatar
1 vote
0 answers
14 views

Error while burning bootloader onto ATMega 8A using Arduino Mega 2560: stk500_getsync() attempt 10 of 10: not in sync: resp=0x80

I'm using an Arduino Mega 2560 to burn the bootloader onto an ATMega 8A without a 16MHz crystal. When I press the 'Burn Bootloader' button, it gives me this error: Arduino: 1.8.19 (Windows 10), Board: ...
user avatar
  • 11
0 votes
1 answer
40 views

Atmega328p with arduino without the board

Perhaps this is a beginners question and I am not sure. I currently have a custom made circuit with an atmega328p chip connected to an mpu6050. However, when I program in Arduino I am not sure what to ...
user avatar
1 vote
0 answers
86 views

External Interrupts, Mega2560

I have a question for you guys. I have some code that triggers an ultra-sonic sensor to measure distance. My code uses the EICRB register and executes in interrupt when it sees a transition on the ...
user avatar
1 vote
1 answer
66 views

Linking the Arduino Bootloader In Atmel Studio

I have been trying to get the Arduino bootloader to compile into my firmware binary in Atmel Studio. I got the bootloader project to link and compile. I use ArduinoCore and the bootloader as a ...
user avatar
  • 107
1 vote
1 answer
355 views

How to upload code to atmega32u4?

I recently created a pcb with the atmega32u4 to use it as a development board. The controller is connected to a micro usb port. Should I install the arduino bootloader instead of the deafult one? Or ...
user avatar
1 vote
1 answer
192 views

Device Signature Error uploading to ATMEGA168PA

I keep getting a device signature error and can't program my Atmega168pa chip. I'm using the board from: https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json I've pasted the error ...
user avatar
3 votes
1 answer
739 views

How to burn the bootloader and upload sketches on ATmega328P U (specifically this model)?

Recently I started to learn embedded electronics and C/C++ and for a couple of days I tried and I am still trying to burn a new ATMega328P U bought from Aliexpress. From what I know new ATMega328P's ...
user avatar
1 vote
1 answer
37 views

About maximum length of matrix can be use for matrix invertsion on atmega32

what is the maximum length for matrix can be used for matrix inversion on atmega32,for example,can we implement matrix inversion for 15x15 matrix on atmega32? And if it can be done on atmega32..does ...
user avatar
2 votes
1 answer
72 views

3-instruction remote machine coding Arduino Atmel chip over a serial line from a tethered (host) PC

I'm trying to write a program for AVR Atmel 328 chip on Arduino Nano board that will allow me to send machine code instructions to the chip over a serial line, run/execute them on the chip, and ...
user avatar
1 vote
1 answer
294 views

half duplex for Atmel SAMD21

I'm using Arduino MKR GSM 1400. I know this board uses Atmel SAMD21 and SAMD21 support half duplex (USART with full-duplex and single-wire half-duplex configuration). My question is, How Can I ...
user avatar
0 votes
1 answer
243 views

How to debug Arduino using Atmel studio?

I have an Arduino Yun board and an Atmel ICE programmer/debugger. There are 6 pins on the Arduino Yun to connect to Atmel ICE for programming only, but I can't find the pins for debugging. Anyway to ...
user avatar
0 votes
1 answer
291 views

Run a loop for only 60 secondes

How do run a code on arduino for only 60 secondes and than shut it down? I know I have to use the millis() function, but I do not know how to it in my code. Sorry if it looks unclear, but I only need ...
user avatar
1 vote
0 answers
33 views

Custom Arduino Due Random Lock up

I have built my own Arduino Due Circuit board. I am having issues with it randomly locking up. I have researched the libraries and have ruled out any issues with them such as the Wire library. I am ...
user avatar
1 vote
0 answers
50 views

Short Occuring Between Digital IO Pins on Arduino ZERO

I have a couple custom SAMD21 boards (similar to Arduino Zero) connected to a screen from which I am trying to read PWM screen touch signals. The two boards are identical - same components and same ...
user avatar
  • 107
1 vote
0 answers
245 views

ATmega328p keeps restarting

When I was programming an arduino uno with atmel studio via usb cable, everything worked fine. Now I am trying to upload a code via usbasp programmer, it works, whereas arduino keeps restarting and L ...
user avatar
0 votes
1 answer
815 views

Atmel atmega32u4 not recognized when connected by usb after attempting to flash new bootloader

I am making a mechanical keyboard using Atmel's pro micro as the controller. I decided I would try to replace it's bootloader, as the one it ships with doesn't seem compatible with QMK's RESET ...
user avatar
  • 103
0 votes
2 answers
822 views

interrupt pin of attiny85 unstable

I'm trying to learn how to program a MC, so maybe I didn't know much about a MC. I tried to test interrupt pin of ATtiny85 with this simple code #include <avr/io.h> #include <avr/interrupt.h&...
user avatar
  • 121
1 vote
3 answers
7k views

ATTiny85 Digispark clones failing USB handshake - how to program them?

I've recently bought a batch of ATTiny85 modules (Digispark clones) from China, and tried to write a first test program into them now. I noticed that they do seem to have some bootloader already ...
user avatar
  • 113
0 votes
0 answers
89 views

Bootloader atmel328P-PU Arduino

I have been trying to bootload a fresh ATmel328P-PU micro-controller with Arduino but it keeps on failing, giving this error: avrdude: Device signature = 0xff00ff avrdude: Expected signature for ...
user avatar
  • 133
2 votes
3 answers
542 views

analogRead() hangs [closed]

With this code I try to send a measurement over 443MHz using RadioHead. All parts work but when combined they fail. This chip used is an ATtiny85. The function 'measure' torpedoes the entire program. ...
user avatar
  • 392
2 votes
1 answer
635 views

Powering the attiny85 with a separate power source

I have an LED project for which i'm using a 9v power supply. For part of the project I'm using an off the shelf LED driver that is compatible with 9v however I have one LED component that I want to ...
user avatar
2 votes
2 answers
179 views

Programming Micro controllers using Arduino ISP

Can I burn my Arduino Code into this: http://www.microchip.com/wwwproducts/en/ATSAM3A4C or something similar by just using just the Arduino ISP?
user avatar
0 votes
2 answers
456 views

Programming other Atmel chips(excluding Atmega 328 and 168)

How can we program any other chips of Atmel using Arduino Nano as a Arduino ISP ? Excluding the Atmega 328 and 168.
user avatar
0 votes
1 answer
501 views

Programming Other Atmel chips using Arduino [closed]

Is it possible to burn Arduino code on any other third party Atmel products using an another Arduino ? And if its possible then how ?
user avatar
1 vote
1 answer
348 views

Problems powering standalone arduino with USB powerbank

I've successfully migrated and ATMEL328P-UP microcontroller from the Arduino Uno Board to a breaboard, following these instructions: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard. Everything ...
user avatar
2 votes
0 answers
720 views

ATtiny Mapping PPM Inputs to Move Servo Issue

Short Version: Not able to get a servo to move to mapped input from RC remote control PPM signal. Detailed Verison: I am trying to take an input signal from a hobby RC radio (D4RII receiver ppm ...
user avatar
  • 35
2 votes
1 answer
2k views

Barebones Arduino Zero with ATSAMD21G18

I have been using the ATmega328P TQFP32 chip for quite a while and I would like to try something new. I came across the ATSAMD21G18 used by Arduino Zero and M0. However, there aren't any information ...
user avatar
3 votes
0 answers
251 views

Arduino Due SAM3X ADC programmable input offset not working

In the datasheet of the SAM3X8E in Section 43.6.9 Page 1327 it clearly states that the SAM3X/A has a programmable offset for ADC input in Single-Ended mode and I believe that the Atmel ASF library ...
user avatar
  • 31