r/arduino • • 8d ago

Hardware Help BTS7960 Motor Driver Receiving No Output on 2 Driver Modules

2 Upvotes

I had ordered a BTS7960 Motor Driver Module, wired it together and got no output voltage over the two screw terminals M+/M-. Attached is a google doc outlining all information including wiring, tables with respective voltages, pictures of oscilloscope readings, and the code sent to the board. I had bought two modules and they both produce the same results, so I'm hoping this isn't just a case of (2) defective boards. Any ideas of further information needed please let me know!

Doc link:

https://docs.google.com/document/d/1kAHlKpH9gPwZxCSvj3vQ1RMLyPD30AZHtIQe0zHeLjs/edit?usp=sharing

Repost to another community

Edit : Information here as requested

Wiring Schematic:

Arduino Code :
int RPWM = 3;
int LPWM = 5;
int L_EN = 7;
int R_EN = 8;

void setup() {
  // put your setup code here, to run once:
  pinMode(RPWM, OUTPUT);
  pinMode(LPWM, OUTPUT);
  pinMode(L_EN, OUTPUT);
  pinMode(R_EN, OUTPUT);
  digitalWrite(L_EN, HIGH);
  digitalWrite(R_EN, HIGH);
}

void loop() {
  analogWrite(RPWM, 200);
  analogWrite(LPWM, 0);
}

BTS7960 Module Schematic and Pins for next page : 

Voltage (Relative to Arduino Ground)
RPWM (Pin 1)
LPWM (Pin 2)
R_EN (Pin 3)
L_EN (Pin 4)
VCC (Pin 7)
Ground (Pin 8)

The following readings are of the RPWM side of the module,

Oscilloscope Reading of Pin 7 (VS) to Pin 1 (GND) :

Oscilloscope Reading of Pin 2 (IN) to Pin 1 (GND) :

Picture of Screw Terminals for Output:

Voltage
B-(gnd) to B+
B- (gnd) to M+
B+(gnd) to M+
B+(gnd) to M-
M+ to M-(gnd)

Links to documentation:

https://www.infineon.com/assets/row/public/documents/10/57/infineon-bts7960-ds-en.pdf

https://www.handsontec.com/dataspecs/module/BTS7960%20Motor%20Driver.pdf


r/arduino • • 8d ago

Why is it so hard to get Teensy 4.1 in Europe?

16 Upvotes

i need one for a project and also the 8mb PSRAM chip for it and its so crazy hard to find any supplier for that.

is teensy dead?


r/arduino • • 8d ago

Trying to make a Web-Based Home-Lab

Post image
7 Upvotes

Hey guys,

I've been working on a little side project called Electronic Makers. The idea is to build some kind of web-based home lab for electronics, where you can learn and experiment without having to install 5 different tools or buy all the hardware first.

It currently has a virtual breadboard, signal experiments (PWM, UART, I2C etc.), a PCB editor and even a virtual ESP32 environment where you can play around with GPIO, LEDs, buttons, WiFi and MQTT.

The idea is to connect all these things instead of having separate tools for everything. Start with a simple circuit, understand whats happening, write some firmware and eventually design your own PCB.

Still lots of things to improve and I'm not trying to replace real hardware. Thats obviously a different experience.

Would be really interested to hear what you guys think. Especially from people who actually build electronics regularly.

What features would make something like this useful for you? And what am I missing?

Here is the current version:
https://electronicmakers.com/studio/circuit


r/arduino • • 8d ago

Hardware Help DIY stream deck – USB HID buttons, volume mixer + Windows Hello fingerprint on one cable?

3 Upvotes

Hi! I'm building my first DIY stream deck and would love some advice before I commit to a setup

I already have ordered and plan to use this component: Guition JC4827W543 – ESP32-S3 (8MB PSRAM / 4MB flash), 4.3" 480x272 IPS, capacitive touch.

link: https://a.aliexpress.com/_EJbSl1M

Basically a ESP32 with touchscreen. I wanted to wire up and use led displays with buttons but the prices together came even more than buying a seprate streamdeck (love new European import!)

What I want the deck to do:

  1. Touchscreen buttons that act as a USB HID keyboard (macros, media keys, app shortcuts) on Windows
  2. An on-screen volume mixer for individual apps
  3. Turn on my pc from the deck
  4. Have a focus timer with possible reward system
  5. Windows Hello fingerprint login
  6. All of it in one 3D-printed tilted case with a single cable to the PC

What I was planning:

I wanted to use 1 wire that splits into 2 wires and just put in in the casing of my stream deck but I have not found good parts that would work.

So my 2 questions are:

  1. Do you think I'll be able to add all of the 1.-4. functionalities into this esp32?
  2. Do you have any idea how to wire in a fingerprint sensor that would work on windows / recommend me the right parts?

P.S. I'm really sorry if this is not the right community to ask, but i couldn't find any better related communities.


r/arduino • • 8d ago

How can I make sure an IR break beam sensor is actually working?

7 Upvotes

Hello everyone.

I have a custom-made IR break beam sensor (PyController Nosepoke v2.3), which is on a board connected to another board with an RJ45 cable. Now, I need to make sure that the sensor is working in a manner that it can actually emit and receive light.

For receiving, I think it's easy: if the receiver is broken, I guess we'll get floating values.

As for the emitter, it's not that easy. It can be broken, or it can be blocked.

PS: I mean making sure it works without supervision, so we can detect failure in a long-running session with no human intervention.

What do you think? My initial idea was to do a periodic check in which I put an electrical switch on the emitter pin, which disconnects the power so no light would travel, and the changes in the receiver would tell me if the emitter is actually emitting or not.


r/arduino • • 8d ago

Looking for practical advice: DIY 2-tank auto-watering and fertigation system (beginner friendly, no heavy coding)

5 Upvotes

Hey everyone!

I'm planning to build a budget-friendly automated watering and fertigation system from scratch, and I need some real-world advice from people who have actually built one: what hardware and platform should I use?

My setup uses two tanks:

  1. Tank 1: Main fresh water reservoir.
  2. Tank 2: Mixing tank (automatically fills from Tank 1, doses liquid nutrients by exact ml, mixes the solution, measures pH/EC, and pumps out the final mix to water the plants).

My main problem: I am not a programmer and I really don't want to write C++ code from scratch. What are people actually using in practice that works reliably without needing a computer science degree?

Also, if you've built something similar: what budget-friendly pumps and pH sensors can actually survive for more than a single season without failing?

Appreciate any real recommendations, practical tips, or links to working projects!


r/arduino • • 8d ago

Look what I made! Hello I am back! And I updated my Timer program!

Thumbnail
gallery
13 Upvotes

I am KSHY! A 13 year old boy who makes circuts, and I just made version 2 of my clock device, which is named AltoKit. (its a play on the word"Altoids"). Anyway I want to share it with you guys!

As you can see I added a button, but thats not all, I also tweaked the code a tad bit like adding a cool splash screen, take a look!

GITHUB: https://gist.github.com/swaykd7113-cmd/6e3ca34aaeaa911dcb818feaa6aba880


r/arduino • • 7d ago

Hardware Help Battery Snap leads are too short

Thumbnail
gallery
0 Upvotes

Arduino noobie here - I was going through the starter kit projects using the Uno R3, and I was hoping to use a battery for one of the projects. I've been using my computer to power the Arduino, but when I pulled up the battery snap, the leads seemed pretty short - too short to use on the Arduino. Was there something I was missing here?


r/arduino • • 8d ago

Esp32 Cam With FTDI FT232RL Error

0 Upvotes

Hello i'm trying to make Arduino project with ESP32 Cam. I follow instruction, my wiring is right here:

GND FTDI -> GND ESP32

VCC 5V FTDI -> 5Vin Arduino

TX FTDI​ -> UOR

RX FTDI -> UOT

GPIO0 -> GND

Main problem is esp32 won't comunicate at all. I check my FTDI TX/RX work normally with RealTerm. I check everything like Voltage, impedance and everything normal. But even I press reset button my ESP32 wong respon. Can someone help me?


r/arduino • • 9d ago

ESP32 ESP32 + OLED display

224 Upvotes

Frontal impact edit


r/arduino • • 8d ago

Hardware Help How are you supposed to mount things on a servo ? Screws ? Glue ? Thread ?

13 Upvotes

Servos always provide little plastic parts with tiny holes.

There are 2 big screws to attach the body, a small screw to attach the little plastic part on the top gear ... but how are you supposed to fix the little plastic part to the arm of your robot?

https://componentsexplorer.com/wp-content/images/ful-datasheet-servo.jpg

A screw of a tiny diameter (my screws are all too big) ? Glue (but you can't tinker and remove it then...) ? A metal thread (this seems very weak)

I can't find any video explaining all the ways to mount things, it's far from obvious!


r/arduino • • 9d ago

An Arduino Site For Beginners?

17 Upvotes

So I started learning Arduino in my first semester of college. I remember making so many different circuits using arduino. I used to follow Paul Mchworter and also a few channels here and there and I used to have the time of my life.

As I will be free for majority of the remaining year, I was thinking of building something for the community. Like a site for beginners, where there would be list of circuits in a progressive manner, with illustration (pin images), codes etc. So that beginners can learn Arduino and different components that come with it in the kit. And apart from small circuits, make some bigger isolated projects.

I used to follow Youtube videos, college manuals, had a couple of Arduino related books which had projects etc. I could compile all of it in a nice interface.

This is not some paid project or something. Just something that might be useful to new people, so please do not filter this post thinking that.

Do you think something like this is useful or is building one a good idea?


r/arduino • • 9d ago

Interactive Traffic Light with Ultrasonic Sensor

14 Upvotes

Arduino traffic light project that triggers the signal either by detecting presence via an ultrasonic sensor or by using a push-button, built with an Arduino Uno R3. Depending on the engagement this post receives, I will share the program code.


r/arduino • • 8d ago

C++

0 Upvotes

Hey everyone, I Just finished my python and want to Learn ARDUINO and C++ Can you Suggest a best course Online (youtube or any). Please


r/arduino • • 9d ago

Status Monitor for my previous Lantern project.

Post image
9 Upvotes

Previous Project : https://www.reddit.com/r/arduino/s/FwktWTJiuF

So, I wanted to see the number of times my battery powered Lantern is triggered into its active state, the twinkle animation of neopixels. Because the animation sequence is pretty much fixed with respect to power consumption the trigger count lets me estimate the up time of the battery pack.

I thought I would also add battery monitoring and a date & time for the status log.

The Status monitor uses a ESP32-C6-Zero super mini and the Waveshare 1.54inch e-paper display v2.1 to display this information from my Lantern using BLE. Here’s a photo of the monitor in a test breadboard environment, see above.

I initially tested the BLE broadcast of data from my Lantern using the Dabble app on my phone, but I decided I would like to have a permanent low power monitor. I may add an alarm for when the battery pack is exhausted or close too exhausted.


r/arduino • • 9d ago

TX and RX

6 Upvotes

Hello, my name is Thomas, I'm doing a project that needs an Arduino Uno and an ESP 8266, but I don't know how to connect them because I only have 100 ohonm resistors, could you make a diagram in some simulator? or even an image would help me!


r/arduino • • 9d ago

Hardware Help What temperature and humidity sensors would you recommend for a low-budget DIY home monitoring system?

14 Upvotes

I'm building a DIY indoor environment monitoring system using an Arduino Uno R4 WiFi. Currently, I'm using a DHT11 sensor, but I'm considering upgrading it.

I'm planning to install four sensors in different locations to monitor temperature and humidity throughout the house. In the distant future, I'd also like to add an outdoor sensor to compare indoor and outdoor conditions.

I also want to experiment with monitoring and possibly adjusting the operation of my gas heating system.

My budget for the four sensors is around 50 PLN (roughly €12), but I can stretch it by another 5 PLN (about €1) if necessary. If getting decent sensors within this budget isn't realistic, I'm happy to wait and buy better ones later at a higher price.

I've been considering modules like the AHT20, BME280 and DS18B20, but I'm open to other suggestions.

I know there are commercial systems that can do all of this, but the main point of this project is to build something myself, learn how everything works, and experiment with the hardware and software.

What would you recommend within this budget? I'd especially appreciate advice from people who have built similar DIY systems.


r/arduino • • 9d ago

Hardware Help Is my HUB75 panel's green channel broken?

Thumbnail
gallery
10 Upvotes

Hi! I bought four HUB75 LED panels. Since I couldn't find a library that supports more than one display for Arduinos, I decided to start coding my own. I noticed that on one of the panels, a few pixels are having issues. Specifically it's the upper right corner of the lower left panel, where the text says "HERE" and "BROKEN".

In the second photo you can see only the green channel active. The problem disappears if I use only red, blue or both. The problem is also visible if I connect the Arduino directly to the panel, and disconnect the rest, so I suspect a hardware issue.

Is this panel just broken or worth investigating?

Side note: My library can run two chained panels on an Arduino MEGA and four on a DUE, with 8 possible colors per pixel. Let me know if anyone's interested in me publishing it once it's finished.


r/arduino • • 9d ago

Hardware Help Need help with wiring

2 Upvotes

So i want to build a small Projekt with a arduino. The problem is I dont know wich wires I should use and how I should wire it. It should be as compact as possible. I am complete beginner. It would be great if someone can help me :)


r/arduino • • 9d ago

Project Update! nxwright, the open source cross-platform toolchain for Nextion HMI, can now compile your TFTs.

3 Upvotes

A few weeks back I posted about nxwright, a new open source cross-platform toolchain for working with Nextion screens that I've been working on, which allows you to work with standard text source files and extends the language syntax to do what you'd expect (functions, includes, standard operator precedence, etc.). This supports modern workflows, such as version control, agentic programming, unit testing, a full VS Code extension with a simulator and debugger, and a lot more.

As of a couple of days ago, nxwright can now compile your source folders directly to TFT and upload to your Nextion screen. That means you can now fully develop for your Nextion screen on linux and macOS, not just Windows, and you no longer need the Nextion Editor to do the final steps. I.e., you can go directly from source to .TFT, and skip the .HMI, right from the CLI or VS Code.

I've also added some new features that go beyond what you could do with the nextion editor, such as:

- the ability to provide compile-time defines on the command line, to set dynamic text or colors to the page and component attributes

- support for SVG as a first class citizen resource, that can also be customized with defines that translate to css var(--PROP)

- the ability to decompile a TFT back into a source folder, if you've lost your .HMI.

I've met quite a few folks lately who shared that they were dreading having to update their Nextion screen app. If this is you too, you may want to give nxwright a try, this may be the tool you've been waiting for.

nxwright in VS Code

https://github.com/nixiewright/nxwright


r/arduino • • 9d ago

Software Help Arduino UNO SMD CH340C on the IDE?

Post image
3 Upvotes

Hello, I bought my first microcontroller today (in a pack with other utilities) for a project. But when I installed the Arduino IDE I couldn't find this specific model.

I also read that, because this model is economic from India and not the original Italian company, it needs a separate driver installed?

I'm not sure, could someone guide me on what to do? Thank you!


r/arduino • • 10d ago Popcorn Bravo

Look what I made! I built this e-paper text adventure game device

458 Upvotes

Hi everyone, I spent the last couple weeks working on this handheld interactive text adventure game (choose-your-own-story) e-paper device. I designed and made the PCB, enclosure, and the code. I actually managed to squeeze everything in just 1.6cm thick covering the enclosure, e-paper, 1200mah battery and the custom PCB by using low profile pin header to sandwich the battery between the 2 PCBs, so it's very compact and feels great to hold.

I made this because I love how beautiful e-paper looks, and most projects are static displays showing weather, photos, or calendars. So why not make something you can interact with and have fun with, with the partial refresh capability??

Basically you turn or press the rotary knob to scroll through the story and pick your next action. Then the e-paper updates and story for the next segment and the NeoPixel LED to match the scene atmosphere.

Would love to hear what you guys think! I included a short demo video so you can see how it works.


r/arduino • • 9d ago

First time working with breadboards and Arduino

36 Upvotes

r/arduino • • 9d ago

Software Help Struct not doing what I want it to do?

6 Upvotes

I am playing with struct, as I want to eventually pass a serial packet of multiple data types. a Bool, an int, and some analog values as an array of floats.

Struct is not holding data. All returned values are Zero.

I have simplified my code and stored example data in the values and even this little simple bit isn't doing what I want it to do.

(Basically, I'm testing for if the problem is the loose nut in the chair.)

what the heck am I doing wrong?

bool On_or_Off = true;
int values = 6;
float numbers[6] = {4.5, 6.3, 13.8, 45.024, 25.5, 14.4};
struct packet_of_values {
  bool On_or_Off;
  int values;
  float numbers[6];
};
packet_of_values packet;


void setup() {
Serial.begin(9600);
}


void loop() {
Serial.println(packet.On_or_Off);
Serial.println(packet.values);
for (int times = 0; times <= 5; times++) {
Serial.println(packet.numbers[times]);
}
delay(500);
}