19,462 questions
3
votes
1
answer
108
views
HC-05 Bluetooth module not discoverable by PC after connecting to Arduino Mega
I'm working on a project that requires phone input via Bluetooth. I connected an HC-05 Bluetooth module to an Arduino Mega, but after powering on, the module is not discoverable by my computer in the ...
1
vote
1
answer
94
views
Tkinter can't delete something from a canvas on ubuntu
I created a programm on python to read serial data from an arduino and show it on a tkinter window. I made a Thread to read the from the arduino and the tkinter programm. My Programm runs perfectly on ...
2
votes
0
answers
63
views
How do you include multiple arduino board types to a project
I am using VS code, and have 2 Atmega2560 boards talking to each other. I am programming in pure C. Their .c and .h files are both found with in the src folder. I want to include an Uno R3 board as ...
0
votes
0
answers
30
views
ESP32 FFat fprintf garbage in text file
At first I wrote sketch and it worked. File "info.txt" was created correctly.
Then I tried to rewrite the sketch in the style
File file = FFat.open(path); file.print(message) etc.
But when I ...
0
votes
1
answer
133
views
Multiple SPI ports usage on ESP32
I'm fighting with this code to make it work... The aim of it is to control a LoRa module from the hspi pins of the esp32 while the vspi pins will be used by an sd module (not provided in this code).
I ...
0
votes
0
answers
91
views
Acknowledging Indication on ESP32 / Arduino BLE Communication
I have an ESP32S3 communicating to a proprietary device via BLE. I can connect to two of the services and underlying characteristics on the device and get notifications just fine. However one of the ...
2
votes
0
answers
142
views
Mouse Pointer does not wish to work well with Esp32 when using the FabGL library, using the PC Emulator example
I’m currently having a major problem with the Esp32, and using a mouse pointer in regards to getting the Esp32 to display a cursor upon my VGA or Video Graphics Array screen, I have successfully ...
0
votes
0
answers
92
views
Problem with Drawing a Line Graph in MPAndroidChart – Only One Point Updates, No Line Is Drawn
I’m currently working on an Android application that receives data from an Arduino via Bluetooth (HC-06 module). The app uses MPAndroidChart to display a real-time line graph that shows RPM on the X-...
0
votes
2
answers
107
views
How to filter a BLE Paxcounter to count phones only
Using a BLE and WiFi based Paxcounter to try and measure passenger flow doesn't seem to be very accurate, as I believe the code in this repository counts all devices with a Mac Address, such as ...
0
votes
0
answers
192
views
Wokwi simulation of custom chip via VSCode
I've made an Arduino Uno project and I would like to simulate it directly on my PC since wokwi online simulation takes too long and many times it's not even available. I've figured out how to do it ...
4
votes
0
answers
139
views
Why is a volatile symbol placed differently?
When an array is declared with volatile it ends up somewhere different than without:
static const char ARRAY[100];
$ nm a.elf | grep ARRAY
00010d00 t ARRAY
But:
static volatile const char ARRAY[100];...
0
votes
2
answers
82
views
How to create an if statement with serial data?
How would I write the code so if I recieve 'hello' it runs a function?
import serial
ser = serial.Serial(port='/dev/tty.usbmodem11201',baudrate=9600)
while True:
value= ser.readline()
...
0
votes
0
answers
47
views
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). ESP32 using local Raspberry PI InfluxDB Database
I encounter this error whenever I try to connect to the InfluxDB Server Version 2.x that is locally hosted in my network. I've been looking for a solution but can't find any.
I use an ESP32 without ...
1
vote
0
answers
40
views
NittoBend Bendlab (ADS) 2-axis Sensor Code - ESP32 Feather Compatability
I am trying to initialize and use the NittoBend's 2-axis Bending sensor with the ESP32 Feather (coded in Arduino IDE).
I have the circuit setup correctly (GND to GND, VCC to 3.3V, nDRDY to GPIO 32, ...
0
votes
1
answer
45
views
Core Bluetooth usage for HM-10 arduino : failure reading data
I have set a basic Arduino project with HM-10 BLE module for sending some data as String (actually some temperature mesurements) and I see it works if I use an iOS app like BluetoothForArduino. I want ...
0
votes
1
answer
75
views
Tkinter lagging when data received from Arduino using serial module
I am trying to receive data from Arduino with a simple loop, sending data every 100 ms. I am trying to pull the same thing using Tkinter and display it on Canvas. but data is lagging. I tried queue ...
0
votes
0
answers
39
views
JSON Construction Issue - Arduino Nano 33 IoT Blocks on StaticJsonDocument Usage
I'm working on an SSI (Self-Sovereign Identity) system with an Arduino Nano 33 IoT. The device receives credential definition chunks successfully but blocks when trying to process them.
The device ...
-1
votes
2
answers
78
views
Problem Communication Bluetooth Communication with Arduino UNO
I have a school project in Internet of Things where I have to create a bluetooth connection on an Arduino UNO. Here is the code in C I use for that :
#include <SoftwareSerial.h>
SoftwareSerial ...
-1
votes
1
answer
25
views
Two functions reach the identical socketio.emit line. One emits the other doesn't. Can't wrap my head around it
from flask import Flask, send_from_directory
from flask_socketio import SocketIO
import time
import threading
import os
import serial
# Serial Configuration (Modify COM Port if needed)
SERIAL_PORT = &...
3
votes
2
answers
530
views
How to access PSRAM - Pimoroni Pico Plus 2 (RP2350) | PlatformIO
I'm trying to access the PSRAM on a Pimoroni pico plus 2 but im not very skilled in C++.
I'm using platform io.
platformio.ini:
[env:rpipico2]
platform = https://github.com/maxgerhardt/platform-...
1
vote
0
answers
42
views
nRF24 Stops Working When SD Card is Plugged In (NodeMCU + RF24 + SD + MPU6050 + BMP280)
I'm working on a NodeMCU project that uses an nRF24L01, SD card, MPU6050, and BMP280. Individually, both the SD card and nRF24 work fine, but when I plug in the SD card, the nRF24 stops working (doesn'...
2
votes
1
answer
89
views
Issue with linking .cpp files when running pio test with googletest
Resolved
I've resolved the issue when added next configuration options to platformio.ini:
build_src_filter =
+<**/*.cpp>
-<main.cpp>
test_build_src = yes
Original Issue
Noob ...
0
votes
0
answers
29
views
Adafruit Bluefruit SPI friend + Arduino code
How do I rename the service and characteristic ID's of the Adafruit Bluefruit LE SPI Friend?
I have created them and I can add only one property to each, but I don't know how to rename them.
I am ...
0
votes
1
answer
4k
views
Arduino IDE not compiling
Whenever I try to compile a valid project (with loop and setup) it just throws a rust error, don't know what to do.
The error:
thread 'main' panicked at 'assertion failed: `(left != right)`
left: `0`...
1
vote
1
answer
110
views
Is there a way to create a static array in the .data section, where its length is calculated by the size of the .bss section on the Arduino?
I'm just wondering if there is a way I can tell the compiler that I want to create a static array inside the .data section of the Arduino's SRAM, where the array's size is calculated using the size of ...