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
34 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.
0 votes
1 answer
76 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 ...
1 vote
0 answers
104 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 ...
1 vote
1 answer
124 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 ...
  • 107
-1 votes
1 answer
559 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 ...
1 vote
1 answer
275 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 ...
3 votes
1 answer
902 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 ...
1 vote
1 answer
42 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 ...
2 votes
1 answer
82 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 ...
1 vote
1 answer
353 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 ...
0 votes
1 answer
270 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 ...
0 votes
1 answer
422 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 ...
1 vote
0 answers
34 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
51 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 ...
  • 107
1 vote
0 answers
281 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 ...
0 votes
1 answer
938 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 ...
  • 103
0 votes
2 answers
881 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&...
  • 121
1 vote
3 answers
8k 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 ...
  • 113
0 votes
0 answers
91 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 ...
  • 133
2 votes
3 answers
576 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. ...
  • 422
2 votes
1 answer
658 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 ...
2 votes
2 answers
184 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?
0 votes
1 answer
472 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.
0 votes
1 answer
524 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 ?
1 vote
1 answer
365 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 ...
2 votes
0 answers
750 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 ...
  • 35
2 votes
1 answer
3k 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 ...
  • 41
3 votes
0 answers
263 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 ...
  • 31