We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everybody,
I want to receive data from a Loadcell Indicator throughout RS485. The LoadCell Indicator only send data to Micro chip. I also want my Micro chip communicate with the computer in both ways (transfer and receive) by RS232.
Can I do like that?
This is the first time I code for micro chip. I already try to use RS232, but with RS485 I do not have enough material to do. Please help me with any idea, useful links, papers or example codes.
I'm using T89C51AC2 micro chip and C in coding.
Thank you so much, Huy
"But I am student, I bought this chip so I have to use this one."
So, Hopefully, this is your first lesson learned: don't buy the chip until after you have determined which chip you need!
As Erik said, this is a classic example of "putting the cart before the horse".
Anyhow, if you're really stuck with it...
"I think may be I can use another small chip to receive data from LoadCell and pass it to main chip"
Yes, although that's an extra cost - check carefully that it won't work out cheaper to just go and buy a 2-UART 8051! And also consider your timescales to design it in - what is your deadline?
You can get external UART chips with parallel interfaces and also with SPI or I2C connections to the main processor. You could even use a 2nd, small, cheap, microcontroller...
Again, there's the soft-UART option...
Thank you all for your comments.
Huy