The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 19, 2019, 01:07:53 13:07


Login with username, password and session length


Pages: [1]
Print
Author Topic: Wireless RS232[ideas]  (Read 1181 times)
0 Members and 1 Guest are viewing this topic.
Wizpic
Global Moderator
Hero Member
*****
Online Online

Posts: 1059

Thank You
-Given: 293
-Receive: 379



« on: January 25, 2019, 06:07:42 18:07 »

I have a PCB that gives serial data and a program that runs on a laptop where I can view all the settings and alter the setting at the moment it use's the cable.

My Idea would it be possible to make this wireless either buying ready made units but which type  or even better still design and make my own if possible.

On searching I found some but then they start talking about Bluetooth or one way commination I need both ways as the software does an handshake.

Any suggestions links and ideas would be great
 
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
mittu09
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 16
-Receive: 20


« Reply #1 on: January 25, 2019, 10:01:07 22:01 »

HI,

You can use NFR24L01+ with MCU which can give you 2 way communication with handshaking. You can have range from 10-200mts with high speed communication.

Logged
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 254

Thank You
-Given: 260
-Receive: 82


« Reply #2 on: January 26, 2019, 01:46:26 01:46 »

my first thought was Buetooth HC-05 modules, very cheap, and easy to use.
However, no hardware  hanshaking ( DTR/CTS etc)

same with the newer DT-06 wifi to serial.

You dont say whether the handshaking is hardware or software (Xon/Xoff)

If its the latter both should work fine.

If its really hardware flow control, I fear you will have to do it alone.

That may be achievable using an ESP8266 module and bespoke software.
Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
PICker
Active Member
***
Offline Offline

Posts: 129

Thank You
-Given: 116
-Receive: 77


« Reply #3 on: January 26, 2019, 06:39:16 06:39 »

There are some 433 MHz alternative RF modules like, for example, the ones at the following links:
https://www.tindie.com/products/lensentech/smart-rf-module-433mhz-data-transceiver-ttl/
https://www.tindie.com/products/lensentech/100mw-rf-module-433mhz-rs232-rs485-ttl-to-wireless/
Unfortunatly they dont have hardware handshaking.
A more complex (and expensive) module with CTS/RTS signals is this one:
http://www.farnell.com/datasheets/56734.pdf
« Last Edit: January 26, 2019, 06:47:35 06:47 by PICker » Logged
Wizpic
Global Moderator
Hero Member
*****
Online Online

Posts: 1059

Thank You
-Given: 293
-Receive: 379



« Reply #4 on: January 26, 2019, 03:41:43 15:41 »

Sorry Guy's I should of mentioned, The Serial data comes from some software called webgpi by a company called Danfloss, I've not yet tried to look at the signals and only assume that it does handshake when the unit is not turned on it reports unit not responding. On the controller pcb there is a micro controller with a serial port which gives out the data where you can alter the setting and use it as a tool for fault finding. I cannot get any information on what data or how it sends it through the serial port.


I just thought rather than using a long serial cable see about making it wireless, I did think about trying the HC-05 modules as the baud rate is 11500, but at a guess I would have to use a logic converter as those modules work 0n 3.3V
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
especialista
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 28


WWW
« Reply #5 on: January 26, 2019, 04:04:09 16:04 »

I've made a data aquisition system in the past based on cheap ZigBee modules. It worths a look!
Logged

"Someone once told me that time was a predator that stalked us all our lives. But I rather believe that time is a companion who goes with us on the journey, and reminds us to cherish every moment... because they'll never come again. What we leave behind is not as important as how we lived. After all (...), we're only mortal."
(Jean-Luc Picard)
PICker
Active Member
***
Offline Offline

Posts: 129

Thank You
-Given: 116
-Receive: 77


« Reply #6 on: January 26, 2019, 04:44:54 16:44 »

Wizpic,
from WebGPI datasheet I've found on this site (hxxps://prom-electric.ru/media/WebGPI.pdf) seems that two serial cables are available (pag. 48):
1) Sauer-Danfoss Cable PN 1090740 (3 wires?) for the Sauer-Danfoss Microcontrollers MC200/MC400
2) Sauer-Danfoss Cable PN KW02027 or PN KW02012 (6 wires) for the Sauer-Danfoss Microcontrollers MC300/S2X

If the cable uses only 3 wires (TX-RX-GND) it is possible that there is a proprietary connection protocol between Sauer-Danfoss software and the microcontroller; in this case it will be no so difficult to implement a wireless connection by a small circuit with two rs232 level translators (ie max232 )and two wireless tranceiver modules (FULL DUPLEX?).
Please check how many cables are used in serial transmission, for example by building a custom serial cable (with only 3 wires) for the connection between PC and the microcontroller unit.

If the used serial signals are more than TX-RX-(GND), the implementation of the wireless transmission will be more tricky.
 

Logged
Wizpic
Global Moderator
Hero Member
*****
Online Online

Posts: 1059

Thank You
-Given: 293
-Receive: 379



« Reply #7 on: January 28, 2019, 06:11:20 06:11 »

I will look into that and check it out when I get the board home so that I can start playing. At the moment it just uses a standard 9 wire serial cable, Hope fully it just uses 3 wires like another tester we use for a different machines/manufacture  so I know that  one could be done using 3 wires

Posted on: January 26, 2019, 06:52:03 18:52 - Automerged

Iím in luck, Iíve tested the controller and it just used 3 wire connection, so I guess that I can use the HC-05 Bluetooth modules with a logic converter has the system runs 5v supply

Or are there better devices ?
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
PICker
Active Member
***
Offline Offline

Posts: 129

Thank You
-Given: 116
-Receive: 77


« Reply #8 on: January 28, 2019, 02:42:33 14:42 »

Wizpic,
it is possible to make the HC-05-Module compatible with 5V signals with some hardware mods and a lot of patience:
https://www.instructables.com/id/Make-Bluetooth-HC-05-Module-5v-Compatable/
There are other solutions like:
https://www.openimpulse.com/blog/products-page/product-category/4-0-bluetooth-module-3-3v-5v-comptabile/
https://tenacious33.wordpress.com/2012/07/21/5v-tolerant-bluetooth-module/
https://it.aliexpress.com/item/Wireless-Bluetooth-Module-Serial-Transceiver-Compatible-with-3-3V-5V-for-Arduino-RPi-AVR/32350474249.html
(I do not know if the core remains the cheap HC-05-Module with some workaround circuit)
Logged
sadman
Senior Member
****
Offline Offline

Posts: 363

Thank You
-Given: 1066
-Receive: 1161



« Reply #9 on: January 29, 2019, 11:16:03 23:16 »

why doing tedious modification to the HC Bluetooth module simple solution is to use level converter Bi directional from SparkFun  which do the job better i used it with WiFi module for same task.



https://www.sparkfun.com/products/12009
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC