Can it be done and with what? Suggestions greatly appreciated
jasonmartin1313@hotmail.c
Posts: 7
Previously I have worked with the MOBO2PE with color sensors and serial outs for a robot. I have a new project that might push my knowledge, and patients, to the max. I need to tie into a digital weight scale. It has a serial rs232 output of the total weight. I need to set up an alarm contact that will activate once a set weight is met. To set preset weight I want to use a keypad and have the set and current weight dispayed on a small LCD. does this sound realistic? can it be done with a stamp or prop? The second part is I would like to incorporate a remote display perhaps even a remote keypad at some point, all wireless. I want to concentrate on the intial goal at first. Any feed back/suggestions are so welcomed. I wanted to use a small plc but the price isnt realistic when you add in serial/touch/display it comes out to more than a new scale cost. Note that this is on an industrial scale.
Comments
A propeller-chip surely can do all of this.
best regards
Stefan
I use several digital balances almost everyday. They communicate with a Propeller and the data gets displayed, logged transmitted wirelessly.
You may need a RS-232 to serial chip. I've used the DIP version of this one several times. SparkFun used to sell the DIP version of the chip. I bet there are still places where the DIP version is available.
I read on the forum that if you're just receiving the RS-232 signal you don't really need the converter chip but I haven't tried this myself.
Do you know how the data is formatted coming out of the balance? The two balances I have each use a different format. One outputs a bunch of additional numbers besides the weight so I have the code wait for specific characters. When these characters are identified the Prop knows to treat the data that follows as the weight.
While none of the tasks you mention will be hard for the Prop, program to the Prop to do all these things is not trivial (particularly for one new to the Prop).
http://www.savagecircuits.com/forums/content.php?309-Mixed-Voltage-Systems-Interfacing-5V-and-3-3V-Devices
It is not directly related to rs232 but the circuits shown could be adapted in this scenario and are much easier to set up than a max3232 chip.