r/beneater • u/TKDturtle239 • Feb 28 '26
Help Needed Problems with max232
hello, I have returned with yet another problem! yay...
so, the max232 seems not to be working correctly. I believe everything is hooked up correctly, but the uart is not getting anything from it.
I can read the uart registers fine, I tested that by printing them to the screen.
RXD though idles at around 3.4 volts when nothing is being sent across the serial either way.
hooking up the in/out to the uart does nothing when I believe it should, but hooking up rxd to txd does return what I am trying (I mean, it's the same exact signal but just did it to check.)
I believe the chip is not working so I ordered some replacements, but I wanted some feedback if y'all can see anything wrong with it.


4
u/Resistor1 Feb 28 '26
I cannot remember the specifics of the combinations but there are 'flavours' of the MAX232 that need an order of magnitude different value capacitors. So if 1uF doesn't work, then 10uF might. The spec sheets for the different variants of MAX232 do have reference circuits and values. I also had issues with aliexpress sourced ICs that got hot but worked sporadically. Eventually used Mouser and got some trustworthy variants matched with appropriate capacitors.
3
u/DanTheDane Feb 28 '26
Mine didn’t work either, snd got extremely hot. After a tip from another reddit post, it turned out that pin 2 should use a polarised cap and go to +5v, not ground. Now it’s working perfect. This was the max232 supplied in the serial kit by Ben, so very surprised it was different from the schematics and videos.
Edit: Here’s the post describing it: https://www.reddit.com/r/beneater/s/4lmdva5q07
1
u/Dissy614 Feb 28 '26
Anything over +3v is still a valid zero. The transitions to below -3v when sending a one happen pretty fast. How are you attempting to measure it? A multimeter might not sample fast enough to actually show the -3v
Of course the problem might still be on the TTL side or with the chip. It's in the correct idle state so isn't completely dead, but you should be able to send data and see the tx go negative
Using larger caps may get it closer to +5/-5, but if you're using a USB serial port on the other end it should be fine either way. Only an old school rs232 port based on +12/-12 is likely to have problems.
1
u/Careful_Eagle6566 Feb 28 '26
Honestly, I think that’s the worst part of Ben’s design. Setting up the rs232 voltages just to use an active usb converter cable is very strange. You can also just get like a $5 ftdi friend or something that does native usb from the 5v uart signals directly.
1
u/TheNonsenseBook Feb 28 '26
I was working on something over a year ago so the details are fuzzy (I was decoding audio with some other circuits and turning into a serial stream) and I was having a hard time with the UART until I ran a ground directly from my power source ground to the ground of the UART. It wasn’t getting a good enough ground connection by going from board to board!