Find Jobs
Hire Freelancers

RS232 & RS485 embedded C - STM32F105

$10-30 USD

Closed
Posted over 8 years ago

$10-30 USD

Paid on delivery
There are 3 micro-controller boards based on the STM32F105. I have already configured the 64-pin devices with STM32CUBEMX. Each has 2 DIP switches for ID and 2 DIP switches for RS232 receive / transmit speed (Only used on #1 & #3). #1 communicates with #2 via a variable baud rate RS485 / CAN (Driver only, not the protocol!). #2 communicates with #3 also via RS485 or CAN transceivers. During the initialization, #1 & #2 determine the maximum speed that the 100m cable can support reliably. Similarly, #2 & #3 determine their maximum reliable communication speed on their 200m cable. Micro-controller #1 receives a string via RS232. It also has 2 Pulse Inputs. It encodes the Characters in the String, combined with the State of the 2 Pulse Inputs. It transmits via RS-485 / CAN transceiver the encoded 7-bit word via #2 to #3 where it is decoded. During "unused frames on the 2 RS485 / CAN links, only frames are sent with the Pulse Status. #3 re-outputs the string and re-generated the pulses. In the beginning the sending station and receiving station try different baud rates (not necessarily standard ones!) to determine the fastest reliable speed on the twisted pair using RS485 or CAN transceivers. If errors occur, the RS485 / CAN speed is reduced. The Encode / Decode is already done, and there is sample code for the RS485 control pin. I basically need it all knitted together....
Project ID: 8714384

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $249 USD for this job
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
5.0 (2 reviews)
1.4
1.4
User Avatar
Bir öneri henüz sağlanmadı
$300 USD in 10 days
5.0 (1 review)
1.4
1.4
User Avatar
I have done projects with rs232 and rs485 protocols. If You use CAN driver without protocol, I suggest use pure RS485. Speed auto configuration would be made using error codes. If bit error has been detected speed would be reduced.
$450 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$444 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
jnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdygjnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdygjnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdygjnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdygjnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdygjnvjhgdgjrdjhfjgfdgfdhjdwaytdjrdjgtrdyg
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SOUTH AFRICA
Polokwane, South Africa
0.0
0
Payment method verified
Member since Dec 30, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.