We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

1

OK I've realized what the issue is: mostly that I wasn't familiar enough with the strangeness of RS-232 Thanks @tlfong01 for linking me out to some sites that helped me understand a bit more. First off, here is a generic description of all BenQ RS232 requirements. Comparing that generic pinout to the one shown in the Amazon product description it did seem ...


1

if you want to send the data from usb to rs232 in pi. Go for programming language. and it is easy to do it in python. import pyserial ser = serial.Serial('/dev/ttyUSB0', baudrate=19200, parity=serial.PARITY_NONE, stopbits=1, timeout=5) ser.write(b'enter your command') #for write ser.read(b'enter your command') #for read


0

I appreciate that you've since circumnavigated the problem by implementing your own version of readStringUntil()/readBytesUntil() but, as @crasic and @evildemonic alluded to in the comments, I think the error message you are seeing is down to this part of your code: if (SerIn=='Got') { Serial.println('I got it'); }else{ Serial.println('Oopz'); } And ...


1

A raspberry pi need 5 volts to operate. So use a voltage regulator . It is best to use the official PSU though. But a 2 A power source is good. You can use the BEC(that is a very good idea). But keep the voltage regulation as low as possible(Assuming you are using an inverter)


0

If you don't have a scope you sure are in a world of pain. With a few clicks I've found this on the manufacturer's documentation. Comparing their procedures to yours, what differences can you see? One difference I see is they read /dev/ttyS0 and /dev/ttyAMA0 whereas you use /dev/serial0. According to rpi documentation, this is primary uart, usually ...


2

Question How can Rpi4B python UART talk to XY PWM Signal Generators? Answer Contents (1) Introducing XY-LPWM, UART support version of XY-PWM (2) Using Win10 RealTerm terminal emulator to serial/UART talk to XY-LPWM (3) Using Rpi python program to serial/UART talk to XY-LPWM (2) Using Win10 RealTerm terminal emulator to serial/UART talk ...


Top 50 recent answers are included