Questions tagged [arduino-zero]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Adafruit Feather M0 Basic Proto doesn't show up

I bought a Feather M0 basic from Amazon here. I installed all the board definitions and stuff from here I restarted the IDE and when I plugged it in, the Feather doesn't show up in ports or device ...
0
votes
0answers
35 views

Arduino core libraries

We have worked with a company to design a custom board based on the Arduino Zero and have also had them do some programming for us. In doing so, they have had to modify the following Arduino core ...
0
votes
0answers
33 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 ...
0
votes
0answers
50 views

Uploading code to custom SAMD20G15B board through Atmel ICEand Arduino IDE [duplicate]

This is my setup: SAMD21G15B with no external crystal (Addon possible with Epson MC-146 32.768Khz ) SWD connector I'm trying to upload code with the Arduino IDE via the Atmel ICE. But when I choose ...
0
votes
1answer
90 views

Large(ish) strings failing to send over WiFi101 using WiFiServer

I've based a sketch off the vanilla WiFi101 server examples. If I define a const char array like this: const char HTML_index[] = "<html><head></head><body>test</body>&...
0
votes
0answers
47 views

TinyDuino RadioHead compile error with TinyZero

I have a stack of TinyDuino boards including TinyZero and 433MHZ Long Range Radio TinyShield. I previously has this processor and had no problem compiling the sketch and uploading it. With the ...
0
votes
1answer
236 views

Output clock signal on MKRZERO

I have to port a Project written for an Arduino Micro to an MKRZERO. It communicates via UART with an IC and should also provide a clock signal. The former code I have used is this: #define ...
0
votes
0answers
39 views

Why does MKRZero code read value off of wire on A0, even though there is no voltage/current? [duplicate]

I have a MKR Zero running the code from the official Arduino site : https://www.arduino.cc/en/Tutorial/AnalogToMidi The circuit wasn't working (always reading a value of 0 on A0 -- as detailed in ...
0
votes
0answers
50 views

What might be some reasons this MKRZero circuit and sketch fail to read frequency?

I've built the following circuit on my MKR Zero I've also uploaded, compiled and deployed the code from the associated article (https://www.arduino.cc/en/Tutorial/AnalogToMidi) with no errors. Note: ...
1
vote
1answer
145 views

How to change the FFT function of the Arduino Uno for the Arduino Zero?

#define LIN_OUT 1 // Include the resources for the linear output function #define Adafruit_ZeroFFT 256 // Sets the ZeroFFT length to 256 points #define MERR 10 // Number of error values to ...
0
votes
0answers
52 views

The code does not produce the serial output

#include <Streaming.h> #include <StopWatch.h> #include <Albert.h> #include "avdweb_AnalogReadFast.h" const byte adcPin = A0; void setup(void) { Serial.begin(9600); while(!...
-1
votes
1answer
80 views

Arduino Zero Compiling Issues for “Test-AnalogReadFast-SAM”

#include <Streaming.h> #include "StopWatch.h" #include <Albert.h> #include "avdweb_AnalogReadFast.h" const byte adcPin = A1; void setup(void) { Serial.begin(9600); while(!Serial); ...
-2
votes
1answer
49 views

Can not find the download Zip button in the GitHub Page

I want to download a zip file for the following code from the GitHub. I am pretty new in the GitHub. Can anyone help me how to download the Zip folder for the following code from the GitHub library? I ...
0
votes
0answers
73 views

Arduino Zero AnalogReadFast Compiling Error

#include <Streaming.h> #include <StopWatch.h> #include <Albert.h> #include "avdweb_AnalogReadFast.h" const byte adcPin = A1; void setup(void) { Serial.begin(9600); while(!...
1
vote
1answer
331 views

Arduino MKR Zero problem with new UART comunication

I'm currently using an Arduino MKR Zero board and I need to add a new communication because the Serial1 on pins 13 and 14 is already used by another device. I've followed this tutorial from Arduino ...
0
votes
1answer
351 views

Multiple I2C devices on Arduino

I'm design a custom PCB based around the Arduino Zero/Adafruit Feather M0. The plan is to use a few I2C devices. I just had a few questions about whether I've designed the board correctly. You'll ...
3
votes
1answer
1k views

Built-in capacitive touch detection with SAMD21 development board (Arduino Zero Compatible)

I bought this SAMD21 development board which shows up as an "Arduino/Genuino Zero (Native USB Port)" when plugged in. And I've successfully got a blink sketch running on it all good so far: The ...
2
votes
2answers
1k views

Arduino Zero timer setup

Where would I find information on how to configure the Arduino Zero's timers? Because this... // Timer stuff // Set up the generic clock (GCLK4) used to clock timers REG_GCLK_GENDIV = ...
5
votes
4answers
2k views

Library to set internal analog gain of the Arduino?

My original question was if there is a library that covers the internal comparator and differential and gain modes for the Arduino Uno, Mega 2560, Leonardo, Due, Zero, M0. The answer is obvious: "No". ...
1
vote
1answer
197 views

Run program from SRAM on SAMD21?

I am looking for an example of how to load a program from sd card to SRAM and execute it from there on the SAMD21. I understand that the given MCU use the Von Neumann architecture and all code is ...
0
votes
1answer
655 views

Arduino Zero - Stepper control (interrupt)?

I have a stepper controller board that I need to pulse every 40 uS or so. I also have I2C sensors and Serial writes to preform. Currently I run an update call in a tight loop, but the I2C sensors ...
1
vote
1answer
408 views

Arduino Zero: Enable RTTI

I need dynamic casts for my project, I'm getting: error: 'dynamic_cast' not permitted with -fno-rtti It appears that RTTI (run-time type information) is disabled with the fno-rtti compiler flag. ...
0
votes
1answer
2k views

SAMD21 Programming with Atmel ICE Fail to Write

I am trying to program my Adafruit M0 with the SAMD21G18 chip with Atmel studio and the Atmel ICE programmer. I have pin 1 on the ICE connected to 3.3V on the M0, pin 2 connected to SWDIO, pin 4 to ...
1
vote
2answers
511 views

Is there any way to use a JTAG programmer with the Arduino IDE?

I am doing a lot of work with custom boards I've designed with the ATSAMD21G. I'd like to get away from using USB to program my boards since the USB port takes up space on the PCB and consumes extra ...
3
votes
2answers
974 views

M0 pro: SPI communication, code works on Uno, but not in M0. Using ICSP port

I am trying to establish a communication between a sensor and a M0 -pro using SPI. The code : #include <SPI.h> unsigned int result = 0; void readAngle(); void setup() { ...
1
vote
2answers
531 views

Arduino Zero (ATSAMD21G) - I2C - continuous wrong data flow

I encountered a strange behavior while running 2 way transmission tests between 2 Arduino Zero (ATSAMD21G), one master and one slave. Wrong data is being continuously transferred both ways. The ...
0
votes
1answer
51 views

How do you connect parts once all GPIO ports are used?

I have a rather ambitious project in mind. Lots of buttons, sensors, feedback. If I run out of GPIO ports to attach stuff to my Arduino, what's next? Do you have to buy a separate Arduino to run the ...
2
votes
1answer
5k views

Arduino zero Error: unable to find CMSIS-DAP device

I am uploading a test sketch(Blink) to my new Zero(with Wifi101 shield) and when I press Upload in the IDE, the Console says the following: Arduino: 1.6.10 (Linux), Board: "Arduino/Genuino Zero (...