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
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 ?...

nodemcu esp8266 loses connection unless wifi is scanned constantly
I am trying to make something with nodemcu esp8266. However, I am having a bit of an issue. When I connect the esp to the network, it connects briefly (
WiFi.status()
returns WL_CONNECTED
). However, even when it is connected, it doesn't respond to pings or http requests. After about 5 seconds it disconnects (WiFi.status()
returns WL_DISCONNECTED
). Naturally, the esp is still not reachable. After just a little bit longer, WiFi.status()
returns WL_NO_SSID_AVAIL
. At this point, it just keeps returning that and the status never changes.
After tinkering around for a while I checked what would happen if I scanned the available networks. I did so via WiFi.scanNetworks()
I started scanning the networks periodically (about every second, which is also the period at which I am checking the WiFi status) after I started doing that, the esp no longer lost connectivity and was perfectly reachable.
Here is how I am connecting to the network:
```arduino...Arduino Project: RFID
Hello everyone my name is Fang and I've been trying to ask to work on this project for about 2-3 days now but still haven't figure it out. The goal for this project is have it where it can read the card ID in console so I can know which card ID is which. I'm having trouble trying to figure this out but still haven't gotten a solution to what this problem might be. I've tried resources from books and youtube videos which will be below this paragraphs but I still haven't uncover what the issue was.
If there is a way I can resolve this issue or if someone helps in this situation then that'll be good to but other than that I was wondering if anyone know what I'm doing wrong in order for me to continue having failure after failure....
8x8 Matrix games
Ok, so I'm making a quite complex but fun "Console" if that is the right word for it, I guess it is bc I'm gonna have a lot of different games on it. But anyways back to the subject. Im thinking about making games like snake and other similar games from my child hood. Though the problem is I just finished a tutorial from Freenove that came with the kit that I bought. So if there is anyone who knows what there doing inside the coding community and is seeing this and is willing to help it would be...
Servo Help
I have a honestly pretty dumb question but for whatever reason I cannot figure out how to make this servo work correctly. I have a couple problems. The first being that the servo always rotates 90 degrees no matter what when the sim is first started. The second being that when I do put a write function in the void loop it doesn’t work once nor loop with the lights. Here is the tinkercad, help would be greatly appreciated.
https://www.tinkercad.com/things/bm19ASxNey4-dazzling-leelo/editel?returnTo=https%3A%2F%2Fwww.tinkercad.com%2Fdashboard%2Fdesigns%2Fcircuits...
Arduino R4 wifi webserver
Hello, I'm fairly new to software development. Most of my experience is with B&R automation using structured text. I am using Platform.IO in VSC.
I have been wondering if i can use the Arduino R4 to set up a intranet site hosted on it using HTML or PHP with proper "live" input/output variables that are mapped to the variables in the actual C++ program?
Basically having a seperate file, like html/php along the regular main.cpp
...
OGX360_T4
I am attempting to add my VKB Gunfighter MCG MKIII and VKB Stecs Space Throttle to this project: https://github.com/Ryzee119/ogx360_t4
The goal is to enumerate the two devices, flight stick and throttle, and read their inputs for the steel battalion controller emulation. I have limited knowledge here and I've been throwing myself at this for a while now.
The main crux here seems to be that both devices are perhaps nonstandard HID inputs?
I'd greatly appreciate some coaching here....
help with arduino 4 wheeled robocar line follower
Hi, is someone still awake that could help with the coding for our school project?
Differential Steering
Guys, this is the code I found on the internet. Can I create a differential steering system with this? I am using a fs-ct6b TX
Chess Clock coding
Hi, I'm having a problem with Chess clock code.. I found a code on GitHub with schematics on new Chess clock circuit, but it is only for 16x2 LCD display and not for 20x4 I2C LCD display, which I have.
I'm not such a programmer to fix it, so I'm asking is there someone who could help with that problem?
AI was fixing it, but any tries it does weren't working.
Btw, here's the code: (with credit inside to not copy)...
Wifi R4 Controlling a Servo
How would I control one servo with the r4 wifi uno module from a website or an app that has a slider?
Tutorial links are also helpful!...
2 NRF24L01 Pal/na modules communication
Could anyone help me with making my nrf24-based transmitter and reciver? Im really new to arduino and my 13 year old son wanted to make a rc plane using arduino. He has everything needed to make a transmitter and reciver but dont know how to connect and code everything. So could anyone drop a script or schematics? Heres the parts list:
2x Arduino nano
2x NRF24L01 Pal/na
2x 3.3v step down
1x 4xAA battery box...