hardware-help
coding-help
official-product-help
project-showcase
general-help
pcb-help
adafruit-help
official-product-help
robotics-help
sensors-help
coding-help
hardware-help
esp-help
pi-help
i2c-serial-help
does anybody know how to build arduino with cmake?
The reason I want to do this is I want to build arduino with raylib
So I can use the arduino as an interface for a game controller
If anybody knows how to build raylib in the arduino IDE that's fine too but the first solution would be better for me...
Int not kinda working?
So i have these two integers:
iint staccQuart= 214.2857143; int staccQuart= 60 / 140 / 2;
maybe they should be float, but it didnt make any difference here, anyway.
...
I'm very bad at coding and would appreciate any help🙏
hi I'm working on an esp8266 project. I want to build a sound button that can play two different sounds. the first 19 presses of the button it plays 01.mp3, then on the 20th press it plays 02.mp3, and the counter resets. additionally, I want to attach led lights that are always on, but turn off when I press the button (and then turn back on). I've never had experience with arduino coding so it'd mean a lot if someone helped me. I'm using a df player for the audio files in case it's important
Arduino toggle button
So this is the code I made A toggle button with.
So when I press the button, the counter stays on 1 and when i press again it goes to 0.
But Im actually not sure how this works exactly, I cant bring my self to understand, could somebody smart kinda explain the process here?...
Alternative for WiFiUDP ?
Hello, i am developing an RC plane powered by esp32 boards with peripherals. It involves an esp32-cam sending 240x240 images over to another esp32 and displaying them on a 240x280 display. Im currently using WiFiUDP for wireless communication, which comes with a couple of problems: high latency, low throughput and low reliability/packet loss, mostly due to small packet size i assume. I would be very glad if you would inspect my repo and suggest any improvements regarding the wireless protocol!! I might think about switching to RPI with a camera and some kind of FPV module, but again, suggestions and product links would be appreciated
Here is my repo: https://github.com/dababyduck/esp32-RC-plane...
Arduino Steering Wheel
Hi, I recently started the realization of a steering wheel with 10 keys and pedal using Arduino Pro Micro but are totally inexperienced with Arduino's programming. Can anyone kindly help me?
Give me a mini coding problem involving while loops.
Im a beginner and wanna learn while loops better. thanks
Why do I need this?
why do I need to use the "int" again on counterLED below void loop, if I had already used it in void setup? It says that counterLED wasnt enabled in this scope, but I thought the int counterLED inside the for loop at void setup would have done the job.
I fattened the code that Im trying to understand.
The code:...
WiFiUDP Packet Loss
Hello, I am having issues with WiFiUDP silently abandoning my packets.
Summary of the system
- Board: ESP32s3 (Fake freenove style one with camera support)...
Optimize re-drawing the ili9341 screen in my code
What i'm trying to achieve.
I'm trying to achieve a basic "terminal". Basically - I want to draw a buffer (which is
1024 in size) and add to it when i press a button.
What's my issue?
My issue is, that the way i "clear" the screen is not really well optimized. It's heavy on my poor esp8266 - this is what I'm doing....
For Loops
I've been trying to figure out for loops for a while now but never seem to get the hang of it. Could someone help me?
Need help with alarm setup.
Hello all, thank you very much for reading.
I am working on a project to take the sound produced by a buzzer from my NVR system by using a microphone sensor, then i need the Arduino to activate a relay that will power the 30 watt siren. I have a separate power supply for the siren so it won't be running off the Arduino.
I am more mechanically inclined and have been unable to find the required code online. ...
Help Thats IT
so i am trying to make an IR car which needs roating wheels so i am using a servo motor with this goal
GOAL:
Holding Right key makes it trun Right
Holing Left key makes it trun Left
If i release a Key the motor stops rotaing and comes to its original direction...
Help attaching LED to Arduino
I’m currently working on a project that involves attaching an LED strip to an arduino and I’m having the problem of getting it to change colors correctly. I believe I have it all wired properly as the LED strip turns on when it is first plugged in and when the code is run to change its color it does. However the problem is that it’s supposed to be turned off when the circuit is first is powered on. Instead when it turns on the light flickers on and off a couple times then stays on. I had it working correctly with some regular RCGB LEDS prior however the LED strip I have is wired differently so I had to change it around. Attached is a few pictures of the irl breadboard and the tinkercad of how it’s supposed to look. (I also currently only have one of the strips I need but that doesn’t change anything) help is appreciated, thank you!
https://www.tinkercad.com/things/lLxN06ZuU3o-copy-of-three-phase-demo/editel?returnTo=%2Fdashboard%2Fdesigns%2Fcircuits&sharecode=AX09JXeALERnybYABb3N1n8rVAQ4A5K5EpQmXJ8EemQ...

I need help with my code. I'm trying to make a code with PID control.
Hello! Sorry for the inconvenience! I have a robot with these components: TCRT5000 sensor with 5 channels, an Arduino Uno board, an L298N board and 2 motors (the L298N board is powered by 6 AA batteries of 1.5V each, and the Arduino Uno board is powered by 4 AA batteries of 1.5V each) and I have a code for it that works, but I heard on the internet and in various places that for a line-follower robot, like mine, there is another type of code, that is, with PID control. I would like, if anyone ca...
Solution:
Thank you !
Is this code good for something ?...


