Questions tagged [seeeduino-xiao]
12 questions
2
votes
1 answer
Functions delaying gesture sensor recognition
I am working on a simple little robot to cure my boredom and all it has is a 64 x 32 OLED for the eyes, and a PAJ7620 Gesture recognition sensor with a Seeeduino Xiao as the main board.
Basically, when people swipe above the head where the sensor…
Renier Jr.
- 99
- 1
- 8
2
votes
0 answers
BLE disconnect during code "pause"
I have a code that should pause the script for a specific time (x_time). if x_time is above 30-40 sec the BLE connection to the android phone is lost. Any suggestions on how to avoid the lost connection and creating a pause in the…
Masilila
- 121
- 1
2
votes
2 answers
How do I solve the sensor’s abysmal abnormal output?
Problem description
When XIAO microcontroller is connected to the sensor signal output pin, keep printing unexpected values.
Sketch
I haven't sensor circuit diagram, you can machine translate and read the…
C.SH.K
- 45
- 6
2
votes
0 answers
Is a PWM phase duration set with OCR1A a reliable way to communicate values to other Arduinos?
I am working on communicating 4 switch states across multiple Arduinos using only one pin. It must be as fast as conceivably possible.
Currently I have a master Arduino reading all 4 switches (multiplexing) and encoding them as 4-bit values: 0001 =…
MeSo2
- 177
- 10
1
vote
1 answer
Arduino board with StandardFirmata doesn't respond to C# and Python client
I have a Seeeduino XIAO board with Firmata running on it. I'm currently trying to write C# client to communicate with this board.
I have tried using Iot.Device.Arduino, SolidSolis.Arduino and pyfirmata for that purpose but I'm struggling with…
Cregennan
- 21
- 4
1
vote
1 answer
Code review for timer using RTC and OLED screen
I am building a small art project to display my current age with an accuracy of 1/100th of a second. I am using a XIAO SAMD21, a DS3231 RTC, and a 128x32 OLED screen. Here is what it looks like right now without the battery:
My aim is to fit this…
Mir
- 113
- 3
1
vote
0 answers
Need help with debugging a heartrate/filter code (the heart rate calculation does not work)
The code below is a program that aims to apply the Pans-Thompskin algorithm to a signal attained from a ECG filter. The filter seems to work alright but it fails to blink the LED and collect a correct heart rate. The threshold might be the problem…
David Chan
- 11
- 2
0
votes
1 answer
Xiao ESP32-C6 in CircuitPython
So I recently bought two Xiao ESP32-C6 from SeeedStudio; they work with Arduino code out of the box. Now I want to flash the CircuitPython bootloader from here https://circuitpython.org/board/espressif_esp32c6_devkitm_1_n4/ to see if it works.
The…
Clóvis Fritzen
- 123
- 5
0
votes
1 answer
Seeeduino XIAO read PWM duration (period) using timers change Pins freom D2 to D1
I designed a circuitboard and need to proof the function.Therefore i have to modify the code to read from Pins D1 instead of D2.
Unfourtunatly i am not that familar with the high level programming so im not sure if i got all changes.
Basically all…
Hannes
- 3
- 1
0
votes
1 answer
Seeeduino XIAO write and read PWM duration (period) using timers
I am trying to communicate between two Seeeduino XIAO (chip: ATSAMD21G18A-MU) by way of TCC capture using register timers.
Square wave pulse duration varies from 200ns to 4us.
I found these two code samples, and I am now trying to change them up to…
MeSo2
- 177
- 10
-1
votes
1 answer
Error in Compiling for Seeed Xiao nRF52840
I am using Arduino IDE 2.3.4 to program a XIAO nRF52840 Sense. I added the board using the instructions on the official getting started page.
After installing the board in Arduino IDE, I open up the blinky example. When I press Ctrl+U, a long…
paki eng
- 99
- 4
-1
votes
1 answer
passive buzzer is drawing 500mA
I am having a ridiculously hard time trying to make a passive buzzer work correctly on my Seeeduino XIAO.
Here is the buzzer module :
Here is how I believe it works, assuming the SOT23 smd is a PNP transistor? :
I plugged VCC to a +5V rail, GND to…
Musa
- 167
- 1
- 8