Arduino

A

Arduino

Official Arduino Discord - Discuss all things Arduino!

Join

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

I need help with my Arduino project for school

Hello thanks for reading this😁, I'm currently making a robot for school that should move his servo motors and must play saved wav files from the SD card, when a letter (for example h) gets sent trough Bluetooth (with HC-05) to the Arduino. My only issue is that for some reason I can't use the HC-05 and the SD Card Memory Modul at the same time. I can use the HC-05 while SD Card Memory Modul is unplugged and the letters arrive at the Arduino and the servo motors will move without any issue. And I also can send letters trough a USB cable connected to my pc, while the HC-05 is unplugged, and those letters arrive to the Arduino, the SD card will play the wav file and will move its servo motors without any problems. But every time I use both at the same time (HC-05 and SD Card Memory Modul, that's my goal) it seems like the letter gets sent to the HC-05 but will never arrive at the Arduino itself. I think the problem could be that the SPI of the HC-05 and the SPI of the SD Card Memory Modul are interrupting each other somehow, but I almost don't know anything about SPI lolšŸ˜…. I used Chat-GPT and watched tutorials online but nothing worked for me, I don't know how to fix this issue . ...
No description

Code-Review For Save & Play Robotic Arm

```c++ #include <Servo.h> const int maxFrames = 200; const int servoCount = 3;...

Part 3

Follow-up of last post. The code has changed since then. Problem 1: Input not adding to totl...

Part 2 of help!

Remember the thing of the string to double thing? I need help again! I made a few changes to my code For some reason the screen says: Type item price start over?nclDo...

Can't turn string into a double SOMEONE HELP ME

For some reason line 38 returns an error. The user is expected to enter the price of an item on a 16-key pad. Press * to accept, # to decline. It's expected to convert the price thing to a double to add to the total, but why it aint working?
No description

Save & Play Arm ā€œAnimationā€

I’m making an arm controlled by potentiometers and servos. An idea of mine is that a button will be made for recording a series of potentiometer inputs which can then later be played with another button. My questions are: A. How this would even work B. Does the Arduino Uno even have enough storage for that...

Arduino Giga code crashes(board flashes red) "randomly"

* What is this The following code is an arduino giga project with the arduino giga display shield. The project's goal is for the board to display 2 different group of buttons, users and modes. The person managing the board will have to choose a mode and then select an user to send the selected mode to, uppon which a mqtt message will be send to the user's topic....

Timing LED challenge

Task Blink at least 3 LEDs at the same time. Each LED should blink at a different interval. For example the first LED blinks every 200ms, the second one every 500 and the third one every 900. Rules...
No description