I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.readable). The modified message is transmitted on the other port, also at 9,600 bps. Every 20 messages a header of 5 lines, again around 50 char per line, is sent. Still a low data rate, relative to the ~1,000 cps that can be sent.
The task is fairly simple. The main part is to receive a once per second message of around 50 characters, so low data rate, at 9,600 bps. There is a date and a time field that needs to be modified (adding colons and slashes to make them more human
This has been prototyped using an Arduino, with a MAX3232CPE chip on a perf board and a custom, 3D printed enclosure. But, about half the units exhibit a problem, where at some point, they will go haywire and garble the transmitted data.
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.
This has been prototyped using an Arduino, with a MAX3232CPE chip on a perf board and a custom, 3D printed enclosure. But, about half the units exhibit a problem, where at some point, they will go haywire and garble the transmitted data.
On Thursday, January 19, 2023 at 7:31:27 AM UTC, gnuarm.del...@gmail.com wrote:readable). The modified message is transmitted on the other port, also at 9,600 bps. Every 20 messages a header of 5 lines, again around 50 char per line, is sent. Still a low data rate, relative to the ~1,000 cps that can be sent.
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.
The task is fairly simple. The main part is to receive a once per second message of around 50 characters, so low data rate, at 9,600 bps. There is a date and a time field that needs to be modified (adding colons and slashes to make them more human
This has been prototyped using an Arduino, with a MAX3232CPE chip on a perf board and a custom, 3D printed enclosure. But, about half the units exhibit a problem, where at some point, they will go haywire and garble the transmitted data.
How about something like the STM32 'Blue Pill' ? Runs Forth e.g. Mecrisp you just need to add the MAX3232 and sounds like not a lot of Forth code.
Mike
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.readable). The modified message is transmitted on the other port, also at 9,600 bps. Every 20 messages a header of 5 lines, again around 50 char per line, is sent. Still a low data rate, relative to the ~1,000 cps that can be sent.
The task is fairly simple. The main part is to receive a once per second message of around 50 characters, so low data rate, at 9,600 bps. There is a date and a time field that needs to be modified (adding colons and slashes to make them more human
gnuarm.del...@gmail.com schrieb am Donnerstag, 19. Januar 2023 um 08:31:27 UTC+1:readable). The modified message is transmitted on the other port, also at 9,600 bps. Every 20 messages a header of 5 lines, again around 50 char per line, is sent. Still a low data rate, relative to the ~1,000 cps that can be sent.
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.
The task is fairly simple. The main part is to receive a once per second message of around 50 characters, so low data rate, at 9,600 bps. There is a date and a time field that needs to be modified (adding colons and slashes to make them more human
What does "field use" imply? Heat/Cold? Humidity? Salinity? Aggressive atmosphere?
Available power? 24/7 operation?
gnuarm.del...@gmail.com schrieb am Donnerstag, 19. Januar 2023 um 08:31:27 UTC+1:
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.Looks more like an electrical signal conditioning problem than defective units.
This has been prototyped using an Arduino, with a MAX3232CPE chip on a perf board and a custom, 3D printed enclosure. But, about half the units exhibit a problem, where at some point, they will go haywire and garble the transmitted data.
Did you hook up an oscilloscope or transient recorder? It this is too much I'd start with
RC filtering and capping peaks with (zener) diodes.
On Tuesday, January 24, 2023 at 2:58:48 PM UTC-5, minf...@arcor.de wrote:He's also triggering the line count (and so the added header every 20 lines) by finding a \r. The input appears to contain \r\n, although I can't verify this as yet. Still, I've seen \n only, but not \r only.
gnuarm.del...@gmail.com schrieb am Donnerstag, 19. Januar 2023 um 08:31:27 UTC+1:Don't know, don't care. I don't have time to mess with it. I'm happy tossing out the existing gadget. One issue I found off the bat was the lack of a range check on the character counter on the incoming data, that is used to index into the buffer array.
I'm looking for an MCU that can be programmed for a simple translation task, that is already mounted in a small box and ready for field use.Looks more like an electrical signal conditioning problem than defective units.
This has been prototyped using an Arduino, with a MAX3232CPE chip on a perf board and a custom, 3D printed enclosure. But, about half the units exhibit a problem, where at some point, they will go haywire and garble the transmitted data.
formatting I thought was needed, is not. But we are waiting for conformation in the form of a file of data output from the new sensor.Did you hook up an oscilloscope or transient recorder? It this is too much I'd start withRemoving the translator and connecting the upstream and downstream units works with the older sensors which include the header. The sensor is a very expensive device, so not suspect. The cable is not long.
RC filtering and capping peaks with (zener) diodes.
When the box stops working, it stays not working until it is reset by unplugging it.
I'm not in a position to debug the thing. The designer is too busy to debug it. If I could find a damn unit in a case with the right ports, I might take the time to write some code. As you say, it ain't much. In fact, I'm told the date and time
If you'd like to do this job, let me know. Or if you know of an off the shelf MCU with at least one serial port all in a box, let me know and I'll program the thing. I'd love to use Forth, but that's not good for the customer because there are so fewpeople who know how to use it.
Crap! I posted about this in several forums and got nibbles from a few, including here. I stopped replying because the waters got more murky rather than more clear. So I wanted to wait until I had something more accurate to provide people.messaging facility. You get to see the messages coming to you, but not the messages you send. So no conversational context!
Meanwhile, someone sent a reply by a means I don't recall. He specifically mentioned that he had designed a product in a similar enclosure to what I want. I think he even mentioned it being IP67. But durned if I can find it. EEVBLOG has the worst
If this jogs anyone's memory, please contact me again.
On Friday, February 3, 2023 at 5:25:43 PM UTC, gnuarm.del...@gmail.com wrote:messaging facility. You get to see the messages coming to you, but not the messages you send. So no conversational context!
Crap! I posted about this in several forums and got nibbles from a few, including here. I stopped replying because the waters got more murky rather than more clear. So I wanted to wait until I had something more accurate to provide people.
Meanwhile, someone sent a reply by a means I don't recall. He specifically mentioned that he had designed a product in a similar enclosure to what I want. I think he even mentioned it being IP67. But durned if I can find it. EEVBLOG has the worst
If this jogs anyone's memory, please contact me again.Rick
I emailed you directly to your gmail (from my gmail) you can contact me there without all the other interruptions .
Mike
Meanwhile, someone sent a reply by a means I don't recall. He
specifically mentioned that he had designed a product in a similar
enclosure to what I want. I think he even mentioned it being IP67.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 52:13:04 |
Calls: | 6,712 |
Calls today: | 5 |
Files: | 12,243 |
Messages: | 5,355,177 |
Posted today: | 1 |