Go to advanced search

by Bluebird
Mon Apr 13, 2020 7:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

With the new board i also bought the usb adapter pcb, if that works better i will use that one and return this rs232 pcb.
by Bluebird
Mon Apr 13, 2020 6:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

i don't have a serial port anymore on any of my pc's or laptops. Do you mean i have the wrong adapter or i didn't make a connection the way i should?
by Bluebird
Mon Apr 13, 2020 6:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I have bought a new board to test. If that one works this is defect, otherwise i have to find it later but i think this one is not correct anymore.
Thanks again for all the help!
by Bluebird
Mon Apr 13, 2020 6:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I think i did understand you and i think the results i got are exactly what i had to get. Testing on windows with the same adapter is a good idea, i will try to do that. Hmmz, interesting. I tested with the windows program and i can connect with this usb to RS232 adapter and it works, i can connect...
by Bluebird
Mon Apr 13, 2020 6:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I think i did understand you and i think the results i got are exactly what i had to get.
Testing on windows with the same adapter is a good idea, i will try to do that.
by Bluebird
Mon Apr 13, 2020 5:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

If i measure the voltage between ground and pin 2, i get + 4.94V without the script running, with the script running i get + 0.10V I hope that you follow what I ask you to do. What do you mean? If i followed your steps? Because i think i did I am starting to think the relayboard is damaged so i wil...
by Bluebird
Mon Apr 13, 2020 5:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Thank you for all the help, i really appreciate it!

If i measure the voltage between ground and pin 2, i get + 4.94V without the script running,
with the script running i get + 0.10V
by Bluebird
Mon Apr 13, 2020 3:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

if i do that i measure -4.85 V
it is not exactly -5V but my multimeter is not a high end device
by Bluebird
Mon Apr 13, 2020 3:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

you mean if i disconnect TxA from the relayboard, and measure voltage between TxA and GND on the RS232 board? Just when i connect it or do i have to run the program?
by Bluebird
Mon Apr 13, 2020 3:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

ok /dev/ttyUSB_RELAY is the real device name? The same nane you used to check the serial adapter. Yes, the result is the same Could you add dsrdtr parameter into this line 31. self.port = serial.Serial('/dev/ttyUSB_RELAY', 19200, timeout=1, xonxoff=0, rtscts=0,dsrdtr=0) Does the led flicker when yo...
by Bluebird
Mon Apr 13, 2020 2:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Ah, you mean this? "ttyUSB_RELAY" I used code to set a fixed name for the usb adapter (which also works on the other raspberry pi with sitecom cable). I did it because i use more usb devices (not now but in future) and i need to have it as a fixed name so if i restart the raspberry, the device name ...
by Bluebird
Mon Apr 13, 2020 2:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Thank you for the detailed help. I did everything you said and when i type something i see the leds flash and the key i press is displayed in the terminal (only once, i am not sure if that needs to be my character, and as a result the same character as a response). This only works if i set the hands...
by Bluebird
Mon Apr 13, 2020 1:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Can you explain how i use it on minicom? I have installed it and set it up with the correct port and baudrate but i have no clue in how to test it And i need to shortcut the blue and brown wire from the RS232 usb device? GND doesn have to be connected somewhere? I haven connected anything to RTS or ...
by Bluebird
Mon Apr 13, 2020 10:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I am not sure if i understand you correctly, i have connected it like this (the blue wires goes on the other side of the RS232 pcb to Rx): https://i.ibb.co/3r2Gk0Q/thumbnail-IMG-3852.jpg https://i.ibb.co/6W5Jkys/thumbnail-IMG-3853.jpg https://i.ibb.co/NxQ5YNm/thumbnail-IMG-3854.jpg Is this wrong? If...
by Bluebird
Sun Apr 12, 2020 7:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I already tried that but that also doesn’t work
by Bluebird
Sat Apr 11, 2020 6:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

I soldered the wires on the rs232 pcb, not on the conrad board. They are connected to screw terminals. On another board i use a sitecom usb to rs232 connector but because that connector is male and the connector on the board is male also, i used a female rs232 cable with the wires cut and i connecte...
by Bluebird
Sat Apr 11, 2020 4:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

No one can help?
by Bluebird
Fri Apr 10, 2020 9:13 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Since the information says it is a genuine Serial to USB converter i have bought the device. So far no luck getting it to work. The cables my Conrad Relayboard needs are GND, TX, RX so i have soldered 3 wires to the USB to Serial converter. GND goes to GND on the, RX to TXa and TX to RXa. That means...
by Bluebird
Mon Apr 06, 2020 10:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Thanks, just as a confirmation, do you think this one will work?
https://nl.farnell.com/ftdi/usb-rs232-p ... sb%20rs232
by Bluebird
Fri Apr 03, 2020 3:06 pm
Forum: Advanced users
Topic: Using APCUPSD to shutdown raspberry pi and multiple synologies
Replies: 0
Views: 73

Using APCUPSD to shutdown raspberry pi and multiple synologies

Good day, I have a Raspberry Pi which controls some lights and other things in the house. I also have multiple synologies. Everything is connected to a APC SMT2200 and i would like to shutdown all Synologies and also the Raspberry Pi itself when the APC goes on batteries or when they are low. When p...
by Bluebird
Tue Feb 25, 2020 5:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

Re: USB to serial

Ah okay, i can't remember why i did it anymore but on the other relay board i use the USB to RS232 and with that cable i use the GND wire, RX and TX wire and connect it to those 3 connectors on the relayboard. I thought this would also work with the USB to TTL adapter but i am going to buy another U...
by Bluebird
Mon Feb 24, 2020 2:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB to serial
Replies: 38
Views: 1755

USB to serial

Hello, I am using this relay board (https://www.conrad.nl/p/conrad-components-197730-relaiskaart-module-12-vdc-197730) using the Sitecom CN-104 USB to Serial cable. This works great. On another Raspberry Pi i need to connect another relay board but i don't have the same cable anymore. I do have a US...
by Bluebird
Sun Feb 23, 2020 6:42 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 on SSD
Replies: 14
Views: 841

Re: Raspberry Pi 4 on SSD

Now i am getting crazy, i finished setup with the usb 2 port and it worked well, the benchmark result using sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash Score 2874 Because i am using the Samsung 850 evo i expected more but because of the usb 2 port...
by Bluebird
Sun Feb 23, 2020 6:09 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 on SSD
Replies: 14
Views: 841

Re: Raspberry Pi 4 on SSD

Hmmz, i have waited a long time but nothing happened anymore. The pi wasn't accessible via SSH. I reconnected the SSH to the USB 2 port and i can connect to the Raspberry Pi straightaway. With this command: findmnt -n -o SOURCE / I get this result: /dev/sda2 So that means it runs on the SSD now righ...
by Bluebird
Sun Feb 23, 2020 5:11 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 on SSD
Replies: 14
Views: 841

Re: Raspberry Pi 4 on SSD

Okay, but that means the raspberry pi boots from the ssd (which is great), but i still can't access the pi via ssh

Go to advanced search