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.

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.

27 questions
4
votes
1 answer

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 come with bootloader included, but after I wired…
4
votes
0 answers

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 also has a function dedicated to configuring analog…
Hac Le
  • 41
  • 4
2
votes
1 answer

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 interrogate the results by reading chip memory and…
2
votes
3 answers

analogRead() hangs

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. If it is used, it will compile but it will never…
Thijs
  • 432
  • 1
  • 6
  • 21
2
votes
1 answer

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 drive with the attiny85 (random blinking pattern),…
2
votes
2 answers

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?
Sagnik Pradhan
  • 520
  • 2
  • 7
  • 17
2
votes
0 answers

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 stream/one wire) signal and map the values 1000-2000…
Brad
  • 35
  • 5
2
votes
1 answer

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 online regarding how to develop a standalone, very…
J Fung
  • 41
  • 1
  • 2
1
vote
2 answers

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.
1
vote
0 answers

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 interrupt pin. The interrupt routine is supposed to…
Joe Nestor
  • 11
  • 1
1
vote
1 answer

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 dependencies to my main code. The dependency tree looks…
Andrew
  • 107
  • 1
  • 13
1
vote
1 answer

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 below from an attempt to upload a new sketch: void…
Rick Dearman
  • 163
  • 5
1
vote
1 answer

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 this will make the atmega32 to be slower? I want…
user255471
  • 11
  • 2
1
vote
2 answers

Half-duplex for Atmel SAMD21

I'm using an Arduino MKR GSM 1400. I know this board uses the Atmel SAMD21 and the SAMD21 supports half-duplex (USART with full-duplex and single-wire half-duplex configuration). My question is, how can I configure one of the SERCOMs to use it as…
1
vote
0 answers

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 wondering could an issue with the power supply…
reeftastic
1
2