Questions tagged [arduino-zero]

The Arduino Zero is a simple and powerful 32-bit extension of the platform established by the UNO. This board aims to provide a platform for innovative projects in smart IoT devices, wearable technology, high-tech automation, crazy robotics, and much more.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Use TCC1 timer to generate PWM on personnal board built with SAMD21E18A

I'm trying to generate a PWM signal from TCC1. I have a personnal board built with SAMD21E18A. I want to use pin 27 PA30, in my variant.cpp I have this line: { PORTA, 30, PIO_PWM, PIN_ATTR_DIGITAL|...
simon's user avatar
  • 133
2 votes
1 answer
61 views

Why does my Arduino stop uploading to the Thingspeak server after several hours?

I'm using a Maduino Zero 4G SIM7600 device to upload data from 28 sensors to a ThingSpeak IoT server. It works well for a few hours, then stops uploading the data. Sometimes it starts again after an ...
Zurn's user avatar
  • 21
2 votes
1 answer
45 views

Strtok operations on Arduino Zero seem to fail in runtime

I am trying to test functionality of strtok() on a new piece of hardware, as I ran out of memory to develop on my Nano. This is a basic example from the internet involving tokenizing the string and ...
Jacob Graber's user avatar
2 votes
1 answer
84 views

Remap SPI functions to default pins Arduino Zero via software?

I am looking at the documentation for the Arduino Zero, and I am a little confused. It indicates that pins 13, 12, and 11 can be used for CIPO, COPI and SCK, but using SPI.begin() puts the signals on ...
eramirez2024's user avatar
1 vote
1 answer
77 views

Maduino (Arduino Zero) at91samd21g18 - Unable to connect to the serial port

I have been using this device very little but it was use to work, and it also gave me the same issue in the past, the somewhat I was able to upload again. I tried to use the reset button, and short ...
Norcino's user avatar
  • 119
1 vote
1 answer
131 views

Does Arduino Zero need to be switched between USB EDBG and JTAG port debug use?

I wanted to compare the debug output of the Arduino Zero when connecting via two different debug paths. Via the embedded debugger (EDBG) connected to Arduino IDE via USB Via the JTAG hardware ...
RowanP's user avatar
  • 861
0 votes
1 answer
129 views

Temperature is not updated on OLED screen - Grove components

I am using 2 grove components in order to display a temperature. I use an I2C High Accuracy Temperature Sensor - MCP9808 and an OLED Screen using this script: #include <U8g2lib.h> #include <...
AsiJapan's user avatar
  • 113
1 vote
0 answers
106 views

Putting samd-based board into sleep mode

I'm using a SAMD21G18A based board - the arduino zero, for a battery-powered wearable project (a type of computer mouse). I'm trying to figure out how to put the device to sleep, when it hasn't been ...
Zhelyazko Grudov's user avatar
2 votes
1 answer
140 views

Achieving low power with Seeeduino Cortex-M0+ powered from 12V battery

I have Seeeduino Cortex-M0+, which is similar to Arduino Zero, both using Atmel SAMD21 MCU. It is powered from 12V battery directly to 12V PWRIN jack. Current draw for LED blink test is 18mA. I tried ...
Paul Jurczak's user avatar
1 vote
1 answer
106 views

Problems connecting to WiFi101 access point

I currently have two Arduino Zero boards (using the SAMD21 microcontroller), each with an ATWINC1500 wifi module attached. I have established one of these units as a wifi access point with a server ...
David's user avatar
  • 129
2 votes
1 answer
201 views

Multiplexer 74HC4067, conflict between channels

I am currently working on an Arduino Zero with a 74HC4067 multiplexer and I am experiencing inconsistencies when testing some of the channels. My class is the following (it should be functional for 8 ...
Fanch's user avatar
  • 23
0 votes
1 answer
302 views

Arduino Zero not recognised as MIDI device via native USB port

I'm currently trying to get an Arduino Zero to show up as a native USB MIDI device in my DAW (ableton). No matter what I try, I cannot get it to show up as a device in Ableton. I have previously used ...
Danny Herbert's user avatar
1 vote
0 answers
108 views

Using a level converter to adjust the voltage levels

we are currently working on a device that needs us to connect an sd card reader to 2 Arduino’s ( Uno and zero) , however, we just found that it is not possible to do so without a level converter , may ...
Alya's user avatar
  • 11
1 vote
0 answers
258 views

Arduino Zero and micro SD card not working

I have an Arduino Zero processor (atsamd21g18a) with a microSD shield connected (check images of schematics) The point is that I cant make it to work, not with sd.h sketch and not with sdfat.h sketch....
Espada86's user avatar
3 votes
3 answers
5k views

Proper Micro SD card schematic

I am using a micro sd card shield with an arduino zero, and I am not sure I am using a proper circuit with it. This is the circuit I am using right now: That is all it is there, just a capacitor for ...
Espada86's user avatar
2 votes
0 answers
328 views

Problems uploading arduino zero bootloader to atsamd21g18a

I am trying to upload the arduino zero bootloader (https://github.com/arduino/ArduinoCore-samd/tree/master/bootloaders/zero) to an atsamd21g18 breakout board that I made. The breakout has a 32KHz ...
Michaela's user avatar
0 votes
1 answer
315 views

5V pin out, 8 pins and micropython/circuitpython support: does such a board exist?

For a project, I am looking for a board to connect eight different neopixel-strips to, on eight different data pins. Because of the great length between the board and the first pixels of these strips, ...
Bart Van Loon's user avatar
1 vote
1 answer
202 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 ...
Andrew's user avatar
  • 107
1 vote
1 answer
121 views

Forcing bootloader startup through program

I am trying to find out if it is possible to trigger programmatically the double-tap on reset button function, implemented in modified version of Atmel's SAM-BA bootloader. The board of interest is ...
T81's user avatar
  • 23
0 votes
1 answer
387 views

Arduino zero programming port recognized as EDBG USB port

I am using Arduino Zero with Windows 10. I tried following the procedure listed in Getting started with Arduino to set up my Arduino/environment, however, when I connect the Zero's Programming Port to ...
jiggling_electrons's user avatar
1 vote
0 answers
205 views

Compile error with Arduino tensorflow lite library

I was reading the article about tensorflow lite on SAMD51 here and tried it and failed to compile. It was the example from the arduino tensorflow lite lirabry and doesnt seem to compile. Selected ...
Anson He's user avatar
1 vote
0 answers
60 views

Free touch big electrodes (arduino zero)

I want to try making big electrodes 20cm*1 cm but i got an effect i dont understand. In the picture red and blue are the diffrent electrodes at first touch the blue one and it rises. then i touched ...
PINGU's user avatar
  • 11
0 votes
1 answer
386 views

Arduino Zero RTC alarm not running loop

Using an ATSAMD21 with the Arduino core, I'm running into an issue where the RTCZero alarm callback won't continue running the loop() function. If I schedule another alarm inside the callback, the ...
JPM's user avatar
  • 1
1 vote
1 answer
403 views

Multiple variant.cpp entries for same physical pin

Some variant.cpp files have more than one entry that points to the same physical pin. For example (from Arduino Zero's file): // 14..19 - Analog pins // -------------------- { PORTA, 2, PIO_ANALOG, ...
Andrew M.'s user avatar
  • 145
0 votes
1 answer
2k views

High-frequency PWM on an Adafruit Feather M0

I'm trying to get a Bluefruit Feather M0, which has a SAMD21G on it, to do high-frequency PWM by accessing timer registers directly, rather than using the Arduino API to do PWM at ~1 kHz or ~500 Hz. ...
Craig Graham's user avatar
0 votes
1 answer
565 views

Arduino Zero to Arduino Zero SPI configuration

I am in the planning stage of chaning two ATSAMD21 with a Zero or Nano 33 bootloade r in a SPI connection. The rational for this is that i am in need of 30 pin GPIO expansion and using 2 mcp23s17 ...
Jack's user avatar
  • 213
0 votes
1 answer
125 views

How to conect multiple output pin from sensors to a single digital pin on a arduino

Hello i have several power management IC that have an active low indicator for a fault, it would be a waste to dedicate a single digital pin for each of them. So i thought of to interface them to a ...
Jack's user avatar
  • 213
-1 votes
1 answer
473 views

Audio Zero not responding on MKR Zero

I have a Arduino MKR Zero set up with a sd card in it and a speaker hooked up to the ground and DAC0. I have a .wav file on it called "test.wav" and it is 8 bit mono 88200hz recording. I am using the ...
Tucker Epp's user avatar
1 vote
0 answers
241 views

Bootloader and AtmelStudio

I am having issues getting the main program to run after flashing via BOSSA with a bootloader. Jump to the bottom for my question and TL;DR. Here is my current situation: UF2 bootloader successfully ...
naedru's user avatar
  • 11
0 votes
0 answers
219 views

How to get a hex file for Samd21 from .ino file

Can you generate a .hex file from an .ino file for the Atsamd21-zero? I can generate a .bin file but not a .hex file.
DAVID STEELE's user avatar
1 vote
0 answers
43 views

What is the fastest way to data to another Arduino SAMD21 boards

Hello I would be needing to transmit data from one arduino to another as fast as possible? how do I achieve this? Since my application need a lot of pins (its a compact system so mega and due are not ...
Jack's user avatar
  • 213
1 vote
0 answers
139 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 ...
Unsigned_Arduino's user avatar
1 vote
0 answers
71 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 ...
Jeff-Patriot's user avatar
1 vote
0 answers
53 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 ...
Andrew's user avatar
  • 107
0 votes
1 answer
436 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>&...
Geordie's user avatar
  • 195
1 vote
0 answers
243 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 ...
Konstantinos Tsirakos's user avatar
0 votes
1 answer
337 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 ...
UndeadTrashman's user avatar
1 vote
1 answer
442 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 ...
Raju KC's user avatar
  • 29
1 vote
0 answers
85 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(!...
Raju KC's user avatar
  • 29
-1 votes
1 answer
177 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); ...
Raju KC's user avatar
  • 29
-3 votes
1 answer
215 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 ...
Raju KC's user avatar
  • 29
1 vote
0 answers
279 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(!...
Raju KC's user avatar
  • 29
1 vote
1 answer
735 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 ...
Marco R.'s user avatar
0 votes
1 answer
616 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 ...
CircularRecursion's user avatar
4 votes
1 answer
4k 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 ...
juliusbangert's user avatar
2 votes
2 answers
2k 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 = ...
Cody Smith's user avatar
5 votes
4 answers
4k 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". ...
Jot's user avatar
  • 3,216
2 votes
1 answer
692 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 ...
artificer's user avatar
  • 123
0 votes
1 answer
794 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 ...
Cody Smith's user avatar
1 vote
1 answer
1k 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. ...
Cody Smith's user avatar