visualising RS 485 signal for reproducing it with an arduino
sino007
Posts: 2
Hello guys
i have a heat recovery ventillation system controlled with an HMI,it has 2 motors, one for air ventillation and one for air extraction,with the possibility of controlling the speed of the ventillation (speed of the motors)
i want to control the heat recovery system by changing the speed of both motors with a smartphone, via an arduino
the HMI is connected to the main board of the system through an RS 485 communication standard(as written in the manual) 4 wires: (2 wires for power:0V and 12V, and 2 wires A and B for data)
i am new in this field and i had the idea of somehow getting the data signals for each function of the controller and then recreating those signals with the arduino
what to do ?!
thank you
i have a heat recovery ventillation system controlled with an HMI,it has 2 motors, one for air ventillation and one for air extraction,with the possibility of controlling the speed of the ventillation (speed of the motors)
i want to control the heat recovery system by changing the speed of both motors with a smartphone, via an arduino
the HMI is connected to the main board of the system through an RS 485 communication standard(as written in the manual) 4 wires: (2 wires for power:0V and 12V, and 2 wires A and B for data)
i am new in this field and i had the idea of somehow getting the data signals for each function of the controller and then recreating those signals with the arduino
what to do ?!
thank you
Comments
-Phil
Yes Hal Albach, but to a new person I can see the possible confusion ...... See link below
https://www.parallax.com/search?search_api_views_fulltext=Arduino
-Phil
+ 1
I'll answer this the Parallax way since it has been asked in this forum. It is very very easy to do with the Propeller since any I/O pin can be a custom UART. In fact my Tachyon Forth system includes high speed UART objects that can be loaded into cogs at runtime and can and do drive RS485 chips. You only need two I/O to the RS485 driver chip, one for the combined TE/RE and one for the combined transmit and receive data. If you don't know what baud rate the interface runs at it is easy enough to type in a one line script that can report back the baud rate too.
http://www.efx-tek.com/topics/hc-8.html
I have loads of code (including RS-485 drivers) in Spin (Propeller's native language), but like any other controller board, it can also be programmed in C, BASIC (PropBASIC), and Forth (Tachyon).
Consider the Propeller for your project; you get a great processor and lots of assistance from folks in the these forums with real experience.
Here's a real experience with the HC-8+: Disneyland called me because they needed a specialty control situation for the Nightmare Before Christmas display in the Haunted Mansion. The control element provided DMX data, and they wanted to turn four channels into LED control, and four channels into servo control. I was literally about to assemble the program in about 30 minutes using my DMX receiver, LED pwm, and servo output objects (libraries).
Join the Propeller crowd! You'll have fun! And you'll be productive!