I'm trying to connect a joystick and a motor wirelessly using 2 ESP32-C3 SuperMinis using ESP-NOW
The LEDs on my 28BYJ-48's ULN board do not light up when I plug in IN ports into pins 1, 2, 3, 4 respectively. I get an LED red solid light from pin 2, but no light from the others. If I re-wire to pins 2, 8, 9, 21 in any order, all the LEDs light up, although changing the code to those numbers doesn't change anything either. I plugged into the opposite ESP board to see if it was a hardware issue, however the same pin problem occurs. This may be same for the joystick on pin 0 however I'm not sure.
I am using ESP-NOW on 2 boards to connect the joystick and motor together and am getting a response from both ends with the code having no issues uploading. I had a look at a generic ESP32-C3 SuperMini pinout but I didn't see what any problem was or why the LED's motor wouldn't turn on. Someone told me that I need to have a look at a different mapping sheet which included PWM, however I couldn't find what I'm looking for
Note, I tested all the components wired together on an Arduino R4 and it worked fine (Pins 8, 9, 10, 11 & A0 for joystick). Many thanks in advance!
// === CONFIGURATION ===
#define IS_SENDER true // Set to false on motor board
#define joystick 0
// === STEPPER MOTOR CONFIG ===
#define STEPS 32
#define IN1 1
#define IN2 2
#define IN3 3
#define IN4 4
I'm not familiar with the ESP32-C3 SuperMinis but would recommend you double check the pin naming convention. (can you use 1, 2, 3, 4 or should it be D1, D2, ... OR GPIO1... ?)
In the future, when creating a topic please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Until you solder headers to those boards you are just wasting your time. And potentially damaging the boards in the process. You will never get reliable connections by just sticking dupont connectors through the holes.
It appears from your photo you have many bad or missing solder connections as per @van_der_decken. I recommend getting some materials to practice your soldering skills. Practicing on old boards will allow you to experiment without risking damage to valuable components.
Soldering Tips:
Use the Right Solder: I prefer 60/40 solder with a Rosin core flux because it’s easier to work with. For more information on different types of solder, you can check out this guide: Types of Solder.
Temperature Control Matters: Soldering is a basic skill in electronics, and mastering it is crucial if you plan to continue in this field. While inexpensive irons can melt solder, they often lack the precision needed for good results. Investing in a soldering workstation with temperature control is ideal.
Practice Makes Perfect: Practice on old circuit boards to build your skills without risking damage to your current projects.
Lead-Free Solder Considerations: Note that lead-free solders require higher temperatures, and some older soldering irons may not reach the necessary heat. Ensure your equipment is up to the task.
Looking at the pictures in post 6 you still have soldering problems. You need to leave the heat there long enough for the solder to flow like water and wet the surrounding metal.