Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.


devel / comp.arch.embedded / Re: Boxed MCU with RS-232 Port

SubjectAuthor
* Boxed MCU with RS-232 PortRick C
+* Boxed MCU with RS-232 PortRick C
|+* Boxed MCU with RS-232 PortPaul Rubin
||`* Boxed MCU with RS-232 PortRick C
|| +* Boxed MCU with RS-232 PortRick C
|| |+* Boxed MCU with RS-232 PortTheo
|| ||`- Boxed MCU with RS-232 PortRick C
|| |`* Boxed MCU with RS-232 PortPaul Rubin
|| | `- Boxed MCU with RS-232 PortRick C
|| `* Boxed MCU with RS-232 PortPaul Rubin
||  `* Boxed MCU with RS-232 PortRick C
||   +- Boxed MCU with RS-232 PortPaul Rubin
||   `* Boxed MCU with RS-232 PortHans-Bernhard_Bröker
||    +* Boxed MCU with RS-232 PortTheo
||    |+* Boxed MCU with RS-232 PortRick C
||    ||+- Boxed MCU with RS-232 PortTheo
||    ||+* Boxed MCU with RS-232 PortPaul Rubin
||    |||`* Boxed MCU with RS-232 PortRick C
||    ||| `* Boxed MCU with RS-232 PortPaul Rubin
||    |||  +- Boxed MCU with RS-232 PortPaul Rubin
||    |||  `* Boxed MCU with RS-232 PortRick C
||    |||   `* Boxed MCU with RS-232 PortPaul Rubin
||    |||    `* Boxed MCU with RS-232 PortRick C
||    |||     `- Boxed MCU with RS-232 PortPaul Rubin
||    ||`* Boxed MCU with RS-232 PortDon Y
||    || `* Boxed MCU with RS-232 PortRick C
||    ||  +- Boxed MCU with RS-232 PortDon Y
||    ||  `* Boxed MCU with RS-232 PortGeorge Neuner
||    ||   +* Boxed MCU with RS-232 PortRick C
||    ||   |+* Boxed MCU with RS-232 PortJim Jackson
||    ||   ||+* Boxed MCU with RS-232 PortDon Y
||    ||   |||+* Boxed MCU with RS-232 PortDon Y
||    ||   ||||`* Boxed MCU with RS-232 PortDon Y
||    ||   |||| `* Boxed MCU with RS-232 PortRick C
||    ||   ||||  +* Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |`* Boxed MCU with RS-232 PortRick C
||    ||   ||||  | `* Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |  `* Boxed MCU with RS-232 PortRick C
||    ||   ||||  |   `* Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |    +* Boxed MCU with RS-232 PortJim Jackson
||    ||   ||||  |    |+- Boxed MCU with RS-232 PortRick C
||    ||   ||||  |    |`- Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |    `* Boxed MCU with RS-232 PortRick C
||    ||   ||||  |     `* Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |      `* Boxed MCU with RS-232 PortRick C
||    ||   ||||  |       `* Boxed MCU with RS-232 PortDon Y
||    ||   ||||  |        `* Boxed MCU with RS-232 PortRick C
||    ||   ||||  |         `- Boxed MCU with RS-232 PortDon Y
||    ||   ||||  `* Boxed MCU with RS-232 PortDavid Brown
||    ||   ||||   `* Boxed MCU with RS-232 PortRick C
||    ||   ||||    +* Boxed MCU with RS-232 PortDimiter_Popoff
||    ||   ||||    |`* Boxed MCU with RS-232 PortRick C
||    ||   ||||    | `- Boxed MCU with RS-232 PortDimiter_Popoff
||    ||   ||||    `- Boxed MCU with RS-232 PortDavid Brown
||    ||   |||`- Boxed MCU with RS-232 PortRick C
||    ||   ||`- Boxed MCU with RS-232 PortRick C
||    ||   |`* Boxed MCU with RS-232 PortDon Y
||    ||   | `* Boxed MCU with RS-232 PortRick C
||    ||   |  `* Boxed MCU with RS-232 PortDon Y
||    ||   |   `* Boxed MCU with RS-232 PortRick C
||    ||   |    `* Boxed MCU with RS-232 PortDon Y
||    ||   |     `* Boxed MCU with RS-232 PortRick C
||    ||   |      `- Boxed MCU with RS-232 PortDon Y
||    ||   `* Boxed MCU with RS-232 PortDon Y
||    ||    `* Boxed MCU with RS-232 PortRick C
||    ||     `* Boxed MCU with RS-232 PortDon Y
||    ||      `* Boxed MCU with RS-232 PortRick C
||    ||       `* Boxed MCU with RS-232 PortDon Y
||    ||        `* Boxed MCU with RS-232 PortRick C
||    ||         `* Boxed MCU with RS-232 PortDon Y
||    ||          `* Boxed MCU with RS-232 PortRick C
||    ||           `* Boxed MCU with RS-232 PortDon Y
||    ||            `* Boxed MCU with RS-232 PortRick C
||    ||             +* Boxed MCU with RS-232 PortDon Y
||    ||             |`* Boxed MCU with RS-232 PortClifford Heath
||    ||             | +* Boxed MCU with RS-232 PortRick C
||    ||             | |`* Boxed MCU with RS-232 PortClifford Heath
||    ||             | | `* Boxed MCU with RS-232 PortRick C
||    ||             | |  `* Boxed MCU with RS-232 PortClifford Heath
||    ||             | |   `* Boxed MCU with RS-232 PortRick C
||    ||             | |    +* Boxed MCU with RS-232 PortJim Jackson
||    ||             | |    |`- Boxed MCU with RS-232 PortRick C
||    ||             | |    `- Boxed MCU with RS-232 PortClifford Heath
||    ||             | `- Boxed MCU with RS-232 PortDon Y
||    ||             `* Boxed MCU with RS-232 Portb...@gmx.com
||    ||              `- Boxed MCU with RS-232 PortRick C
||    |`- Boxed MCU with RS-232 PortHans-Bernhard_Bröker
||    `* Boxed MCU with RS-232 PortRick C
||     `- Boxed MCU with RS-232 PortHans-Bernhard_Bröker
|`* Boxed MCU with RS-232 PortHerbert Kleebauer
| +- Boxed MCU with RS-232 PortHerbert Kleebauer
| `- Boxed MCU with RS-232 PortRick C
+- Boxed MCU with RS-232 PortRick C
+* Boxed MCU with RS-232 PortUwe Bonnes
|`* Boxed MCU with RS-232 PortRick C
| `* Boxed MCU with RS-232 PortNiklas Holsti
|  `- Boxed MCU with RS-232 PortRick C
+* Boxed MCU with RS-232 PortPaul Rubin
|`* Boxed MCU with RS-232 PortRick C
| +* Boxed MCU with RS-232 PortPaul Rubin
| |`* Boxed MCU with RS-232 PortRick C
| `- Boxed MCU with RS-232 PortDavid Brown
+* Boxed MCU with RS-232 PortTheo
`* Boxed MCU with RS-232 Portpozz

Pages:1234567
Re: Boxed MCU with RS-232 Port

<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1316&group=comp.arch.embedded#1316

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:ad4:4e6e:0:b0:5a2:29c1:b553 with SMTP id ec14-20020ad44e6e000000b005a229c1b553mr875507qvb.4.1679512695512;
Wed, 22 Mar 2023 12:18:15 -0700 (PDT)
X-Received: by 2002:a05:622a:49:b0:3d2:8d87:6710 with SMTP id
y9-20020a05622a004900b003d28d876710mr1720482qtw.12.1679512694956; Wed, 22 Mar
2023 12:18:14 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Wed, 22 Mar 2023 12:18:14 -0700 (PDT)
In-Reply-To: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a9cf:29e7:8407:7dba;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a9cf:29e7:8407:7dba
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Wed, 22 Mar 2023 19:18:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3763
 by: Rick C - Wed, 22 Mar 2023 19:18 UTC

On Tuesday, January 17, 2023 at 11:24:33 AM UTC-4, Rick C wrote:
> The unit only really needs one serial port, but it is more convenient to have two connectors, so I guess it needs to ports. One port will only receive and the other only transmit, no handshaking.
>
> The function is pretty simple. A sensor sends a line of about 50 chars, at 9,600 bps, once per second. This box counts 20 lines and adds a header. So nothing fancy is required of the MCU. There are parameters set when starting operation.
>
> The main thing I'm having trouble finding, is this needs to be in a box as a unit, not a board and a box to be assembled. Google hasn't been much help returning all sorts of things that aren't useful.
>
> Anyone know of such a box? The programming might be contracted out, if you are interested. There's a prototype using an Arduino nano, but some of them are flaky and it would not hurt to start over from scratch.

I was skimming the web for this again and I think I found something from Aaeon. Not sure why I didn't find this before. Maybe I did, but at that time was really looking for something with a simple CPU, rather than something to run a full OS. Beggars and choosers...

https://eshop.aaeon.com/ultra-slim-box-pc-boxer-6405.html

This one is $366, which is more than I'd like, but beggars... It is cheaper than the tailored unit a guy is working on for us. A sample unit doesn't work right and debugging across an ocean is not working very well. I could have this up and running in a day or something, as long as it comes with Linux installed.

They have a cheaper unit with a single serial port, $287.

https://eshop.aaeon.com/rockchip-android-system-boxer-rk88.html

Not sure if there is any real risk to sharing the serial port between the two devices. I know there's no handshaking. In fact, the Arduino shares a single serial port.

The only real problem is communications. Aaeon only has a couple each. So far, they have not responded to my requests for delivery on 20 units.

BTW, to those who contacted me about this and haven't heard back after the initial exchange, I'm sorry. I got busy with my own work and lost track of the emails. Of those who did reply, only one had a design in a box, ready for software. But that is not yet working.

--

Rick C.

+-+- Get 1,000 miles of free Supercharging
+-+- Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<87cz50i1hx.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1319&group=comp.arch.embedded#1319

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Wed, 22 Mar 2023 20:35:06 -0700
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <87cz50i1hx.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="fbcf43b3c3adf53b94fbc1182db1e7d7";
logging-data="1050524"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18M6Wto0/lppQCBQtWnM2ZQ"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:sD4s4m6RPq9aIEq2Zfsl+FQssHk=
sha1:qN+lfrIDRSt0uLsvbTwEvpves5U=
 by: Paul Rubin - Thu, 23 Mar 2023 03:35 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> BTW, to those who contacted me about this and haven't heard back after
> the initial exchange, I'm sorry. I got busy with my own work and lost
> track of the emails. Of those who did reply, only one had a design in
> a box, ready for software. But that is not yet working.

You still want someone to do this custom? What is your budget and how
many units do you want? Did you ever find out more about the
requirements? I know a good who is good at this stuff. You are
probably looking at $1000 or more of NRE, but spread across a few dozen
units it might not be too bad, as the hardware itself should be quite cheap.

Re: Boxed MCU with RS-232 Port

<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1320&group=comp.arch.embedded#1320

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:620a:2a44:b0:746:3907:8f with SMTP id q4-20020a05620a2a4400b007463907008fmr1109845qkp.8.1679552796636;
Wed, 22 Mar 2023 23:26:36 -0700 (PDT)
X-Received: by 2002:a05:622a:1999:b0:3d9:650a:7a9f with SMTP id
u25-20020a05622a199900b003d9650a7a9fmr2392456qtc.3.1679552796236; Wed, 22 Mar
2023 23:26:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Wed, 22 Mar 2023 23:26:35 -0700 (PDT)
In-Reply-To: <87cz50i1hx.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a9cf:29e7:8407:7dba;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a9cf:29e7:8407:7dba
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Thu, 23 Mar 2023 06:26:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6401
 by: Rick C - Thu, 23 Mar 2023 06:26 UTC

On Wednesday, March 22, 2023 at 11:35:18 PM UTC-4, Paul Rubin wrote:
> Rick C <gnuarm.del...@gmail.com> writes:
> > BTW, to those who contacted me about this and haven't heard back after
> > the initial exchange, I'm sorry. I got busy with my own work and lost
> > track of the emails. Of those who did reply, only one had a design in
> > a box, ready for software. But that is not yet working.
> You still want someone to do this custom? What is your budget and how
> many units do you want? Did you ever find out more about the
> requirements? I know a good who is good at this stuff. You are
> probably looking at $1000 or more of NRE, but spread across a few dozen
> units it might not be too bad, as the hardware itself should be quite cheap.

If you are talking about someone to build a board, no thanks. That is what I meant to say in the post, but I guess I glossed over that. I found a platform that is affordable, even if it is way overkill. A custom board design is not needed. Heck, a custom board design was never needed, except that RS-232 voltage levels are needed at the serial port I/Os. Otherwise, an Arduino of some variation, would be ideal.

I will just write the software myself with the $300 platform I guess. Being a PC type platform, running an OS, updating the software is just a matter of copying a file from an SD card or a USB memory stick. It could even be hooked up through the Ethernet port, although I'm not so familiar with that these days.

Years ago, I had a couple of desktop PCs running Win2k and from the info I found on the website World of Windows Networking, was able to connect them so the disk drives were available on either machine. I tried to do the same think a couple of years ago and it was much, much harder. Microsoft has made networking much more complex now.

I did manage to find my way through management speak and arrive at a very simple set of requirements. In fact, the problem with the guy we currently have working on the effort, is he added requirements of his own, that mess up the operation we intended. We might still use his solution, if he can get it to work for us. But he's in the UK and this is mucking up the debugging.

This device goes between a sensor, and an EDAS, which is just an industrial computer acting as an intermediary, collecting other data and sending it all on to other receivers of the data. A product update in the sensor (third party product) changed the data format. Before this new sensor was used, the translator was not needed. The translator makes the new sensor output compliant with the old sensor format which is expected downstream.

Serial formats are 9600, 8, N, 1. The input data is 1 line per second, output as soon as converted. A header is appended after each 20th input line. At these data rates, there will be no handshaking and no chance of any collisions.

New data format on incoming message example:
# 032023 174930 23.024 6.79 17.37 12.44
Terminated with /r/n

Old data format on output message example:
01/30/23 19:15:28 21.788 6.23 17.41 12.66
Terminated by /r/n

The modifications in the data are removing the "# " at the beginning and inserting '\' and ':' into the date and time fields.

Every 20 lines a header should be inserted and sent to the output. If something corrupts the line count, it's not a problem.

========================================== Date Time Temp SpCond pH ODO
m/d/y hh:mm:ss C mS/cm mg/L
-------------------------------------------
*** 1-LOG last sample 2-LOG ON/OFF, 3-Clean optics ***

Anything received that isn't in the input format specified above, should be sent on to the output. No other data should be sent to the output, such as boot messages. The only error checking should be that the line does not overflow the internal translator buffers. A watchdog timer could be used to reset the unit, if the software is lost in the weeds. The goal here is not for any data error checking, or other optimizations. If the old sensor produced any crap data, it didn't muck up the works before, and it shouldn't be a problem now, so just send it on.

I don't know for certain that the input data format is always the same length, so this should not be assumed. I would say an 80 character max length is a safe assumption. The /r/n should be the line delimiter. If garbage is received on the input before a message, it will prevent detection of the start of the message, which is fine. As soon as the next /r/n is received, it will be back in alignment. That's all that matters.

If I had more free time, I would have this done by now. lol

--

Rick C.

+-++ Get 1,000 miles of free Supercharging
+-++ Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1321&group=comp.arch.embedded#1321

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:622a:b:b0:3da:d56c:8f50 with SMTP id x11-20020a05622a000b00b003dad56c8f50mr2318854qtw.0.1679552880894;
Wed, 22 Mar 2023 23:28:00 -0700 (PDT)
X-Received: by 2002:a05:620a:22c2:b0:746:8df7:8672 with SMTP id
o2-20020a05620a22c200b007468df78672mr1260926qki.13.1679552880583; Wed, 22 Mar
2023 23:28:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Wed, 22 Mar 2023 23:28:00 -0700 (PDT)
In-Reply-To: <40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a9cf:29e7:8407:7dba;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a9cf:29e7:8407:7dba
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Thu, 23 Mar 2023 06:28:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6761
 by: Rick C - Thu, 23 Mar 2023 06:28 UTC

On Thursday, March 23, 2023 at 2:26:40 AM UTC-4, Rick C wrote:
> On Wednesday, March 22, 2023 at 11:35:18 PM UTC-4, Paul Rubin wrote:
> > Rick C <gnuarm.del...@gmail.com> writes:
> > > BTW, to those who contacted me about this and haven't heard back after
> > > the initial exchange, I'm sorry. I got busy with my own work and lost
> > > track of the emails. Of those who did reply, only one had a design in
> > > a box, ready for software. But that is not yet working.
> > You still want someone to do this custom? What is your budget and how
> > many units do you want? Did you ever find out more about the
> > requirements? I know a good who is good at this stuff. You are
> > probably looking at $1000 or more of NRE, but spread across a few dozen
> > units it might not be too bad, as the hardware itself should be quite cheap.
> If you are talking about someone to build a board, no thanks. That is what I meant to say in the post, but I guess I glossed over that. I found a platform that is affordable, even if it is way overkill. A custom board design is not needed. Heck, a custom board design was never needed, except that RS-232 voltage levels are needed at the serial port I/Os. Otherwise, an Arduino of some variation, would be ideal.
>
> I will just write the software myself with the $300 platform I guess. Being a PC type platform, running an OS, updating the software is just a matter of copying a file from an SD card or a USB memory stick. It could even be hooked up through the Ethernet port, although I'm not so familiar with that these days.
>
> Years ago, I had a couple of desktop PCs running Win2k and from the info I found on the website World of Windows Networking, was able to connect them so the disk drives were available on either machine. I tried to do the same think a couple of years ago and it was much, much harder. Microsoft has made networking much more complex now.
>
> I did manage to find my way through management speak and arrive at a very simple set of requirements. In fact, the problem with the guy we currently have working on the effort, is he added requirements of his own, that mess up the operation we intended. We might still use his solution, if he can get it to work for us. But he's in the UK and this is mucking up the debugging.
>
> This device goes between a sensor, and an EDAS, which is just an industrial computer acting as an intermediary, collecting other data and sending it all on to other receivers of the data. A product update in the sensor (third party product) changed the data format. Before this new sensor was used, the translator was not needed. The translator makes the new sensor output compliant with the old sensor format which is expected downstream.
>
> Serial formats are 9600, 8, N, 1. The input data is 1 line per second, output as soon as converted. A header is appended after each 20th input line. At these data rates, there will be no handshaking and no chance of any collisions.
>
> New data format on incoming message example:
> # 032023 174930 23.024 6.79 17.37 12.44
> Terminated with /r/n
>
> Old data format on output message example:
> 01/30/23 19:15:28 21.788 6.23 17.41 12.66
> Terminated by /r/n
>
> The modifications in the data are removing the "# " at the beginning and inserting '\' and ':' into the date and time fields.
>
> Every 20 lines a header should be inserted and sent to the output. If something corrupts the line count, it's not a problem.
>
> ===========================================
> Date Time Temp SpCond pH ODO
> m/d/y hh:mm:ss C mS/cm mg/L
> -------------------------------------------
> *** 1-LOG last sample 2-LOG ON/OFF, 3-Clean optics ***
>
> Anything received that isn't in the input format specified above, should be sent on to the output. No other data should be sent to the output, such as boot messages. The only error checking should be that the line does not overflow the internal translator buffers. A watchdog timer could be used to reset the unit, if the software is lost in the weeds. The goal here is not for any data error checking, or other optimizations. If the old sensor produced any crap data, it didn't muck up the works before, and it shouldn't be a problem now, so just send it on.
>
> I don't know for certain that the input data format is always the same length, so this should not be assumed. I would say an 80 character max length is a safe assumption. The /r/n should be the line delimiter. If garbage is received on the input before a message, it will prevent detection of the start of the message, which is fine. As soon as the next /r/n is received, it will be back in alignment. That's all that matters.
>
> If I had more free time, I would have this done by now. lol

The number of units required is initially 20, and probably another 20 in a few months. After that, not sure.

--

Rick C.

++-- Get 1,000 miles of free Supercharging
++-- Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<kJc*RKWbz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1322&group=comp.arch.embedded#1322

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!callisto.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: 23 Mar 2023 10:06:38 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <kJc*RKWbz@news.chiark.greenend.org.uk>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com> <44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com> <40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="2169"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Thu, 23 Mar 2023 10:06 UTC

Rick C <gnuarm.deletethisbit@gmail.com> wrote:
> The number of units required is initially 20, and probably another 20 in a
> few months. After that, not sure.

We've been here before, but there are many many 'mini PCs' (often Celeron or
similar low power CPU) coming out of China that have multiple RS232 ports.
There doesn't seem to be much special about this one.

If such a 'mini PC' is within your spec (you were talking about
microcontrollers originally), it's just a case of finding a distributor who
meets your requirements. Easiest is to just go on Aliexpress [1] and buy
them, but if that's not your thing then I'm sure there is a US/wherever
importer.

If you're going to need many years worth of supply that's a bit trickier,
since they tend to update the product lines every time Intel releases a new
chip.

Theo

[1] https://www.aliexpress.com/w/wholesale-mini-pc-rs232.html

Re: Boxed MCU with RS-232 Port

<878rfnihti.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1323&group=comp.arch.embedded#1323

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Thu, 23 Mar 2023 08:54:49 -0700
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <878rfnihti.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="fbcf43b3c3adf53b94fbc1182db1e7d7";
logging-data="1280133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+mRV/gt7SjM4Ol63h/B5z"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:w5+8tH7GPbM0WUrgfVc7Mjk06uo=
sha1:MzY3ICuk9nFICrIQeCNOvAKCV8A=
 by: Paul Rubin - Thu, 23 Mar 2023 15:54 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> If you are talking about someone to build a board, no thanks.

No, building a board would be crazy unless you're making 1000s of them.
Pick an Arduino or similar board with RS232 support, pick some enclosure
out of a catalog, put the stuff together, get the code running on the
board and test everything, etc. Then send the assembled unit to the
actual deployment site for in situ testing before making more units.

There is always some stuff going wrong or consuming time in any process
like that. Thus there will be some NRE.

Re: Boxed MCU with RS-232 Port

<874jqbihk9.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1324&group=comp.arch.embedded#1324

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Thu, 23 Mar 2023 09:00:22 -0700
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <874jqbihk9.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="fbcf43b3c3adf53b94fbc1182db1e7d7";
logging-data="1280133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Y/M52+Ha+l9IyfJLtCcb0"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:vOOUCat01zqXTH5gVs4LDiZMtP8=
sha1:KRVoYRVdhaAtzv7KlIsS1bGiMsA=
 by: Paul Rubin - Thu, 23 Mar 2023 16:00 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> The number of units required is initially 20, and probably another 20
> in a few months. After that, not sure.

You are really willing to spend $300 per box in that quantity? So $6000
or $12000 depending? This sounds very doable.

Where is the deployment site geographically?

Re: Boxed MCU with RS-232 Port

<7f84b3be-354b-4198-9eea-c6b207b152e3n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1325&group=comp.arch.embedded#1325

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:622a:1884:b0:3bf:cdf8:61f4 with SMTP id v4-20020a05622a188400b003bfcdf861f4mr767152qtc.4.1679644748006;
Fri, 24 Mar 2023 00:59:08 -0700 (PDT)
X-Received: by 2002:a05:622a:88:b0:3d6:9e1:569a with SMTP id
o8-20020a05622a008800b003d609e1569amr815760qtw.1.1679644747712; Fri, 24 Mar
2023 00:59:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 00:59:07 -0700 (PDT)
In-Reply-To: <kJc*RKWbz@news.chiark.greenend.org.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:d48b:f8a8:637a:a309;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:d48b:f8a8:637a:a309
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>
<kJc*RKWbz@news.chiark.greenend.org.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7f84b3be-354b-4198-9eea-c6b207b152e3n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 07:59:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3265
 by: Rick C - Fri, 24 Mar 2023 07:59 UTC

On Thursday, March 23, 2023 at 6:06:46 AM UTC-4, Theo wrote:
> Rick C <gnuarm.del...@gmail.com> wrote:
> > The number of units required is initially 20, and probably another 20 in a
> > few months. After that, not sure.
> We've been here before, but there are many many 'mini PCs' (often Celeron or
> similar low power CPU) coming out of China that have multiple RS232 ports..
> There doesn't seem to be much special about this one.

Yes, but initially I was looking for something more like an Arduino in a box. That never materialized. The solution we are looking at now, is a custom design someone did for another project, that suits our needs, but since the production quantities are low, the unit price is a bit steep, even if manageable.

> If such a 'mini PC' is within your spec (you were talking about
> microcontrollers originally), it's just a case of finding a distributor who
> meets your requirements. Easiest is to just go on Aliexpress [1] and buy
> them, but if that's not your thing then I'm sure there is a US/wherever
> importer.

LOL! Aliexpress is literally the last place I would go for commercial gear..

> If you're going to need many years worth of supply that's a bit trickier,
> since they tend to update the product lines every time Intel releases a new
> chip.
>
> Theo
>
> [1] https://www.aliexpress.com/w/wholesale-mini-pc-rs232.html

Useless, since you may not be able to buy the same unit even six months from now.

But thanks for the suggestion. I'm presently talking to Aaeon who has some affordable units.

--

Rick C.

++-+ Get 1,000 miles of free Supercharging
++-+ Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1326&group=comp.arch.embedded#1326

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:ac8:5f4a:0:b0:3bf:da0f:ed7c with SMTP id y10-20020ac85f4a000000b003bfda0fed7cmr743929qta.11.1679644964548;
Fri, 24 Mar 2023 01:02:44 -0700 (PDT)
X-Received: by 2002:a05:620a:a54:b0:746:7a48:d409 with SMTP id
j20-20020a05620a0a5400b007467a48d409mr417487qka.8.1679644964244; Fri, 24 Mar
2023 01:02:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 01:02:44 -0700 (PDT)
In-Reply-To: <878rfnihti.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:d48b:f8a8:637a:a309;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:d48b:f8a8:637a:a309
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 08:02:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2798
 by: Rick C - Fri, 24 Mar 2023 08:02 UTC

On Thursday, March 23, 2023 at 11:54:54 AM UTC-4, Paul Rubin wrote:
> Rick C <gnuarm.del...@gmail.com> writes:
> > If you are talking about someone to build a board, no thanks.
> No, building a board would be crazy unless you're making 1000s of them.
> Pick an Arduino or similar board with RS232 support,

That's one of the problems. Boards like Arduinos do not have RS-232 support. They have serial ports, but that's what was tried initially, with a home brew RS-232 level shifter added on a perf board. Don't know why, but half of them tend to hang, even if after days. Not acceptable.

> pick some enclosure
> out of a catalog, put the stuff together, get the code running on the
> board and test everything, etc. Then send the assembled unit to the
> actual deployment site for in situ testing before making more units.

Sounds great. Do you have a proposal?

> There is always some stuff going wrong or consuming time in any process
> like that. Thus there will be some NRE.

Yeah, I'll just do the software myself. The cost difference between the Arduino and a minature PC is so small, it's more than made up in the savings of not having to do any of the stuff you mentioned other than write software.

--

Rick C.

+++- Get 1,000 miles of free Supercharging
+++- Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<0e7232b0-2f7d-4894-afcf-4e37deb4c777n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1327&group=comp.arch.embedded#1327

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:620a:56d:b0:748:477d:6200 with SMTP id p13-20020a05620a056d00b00748477d6200mr67292qkp.3.1679645009655;
Fri, 24 Mar 2023 01:03:29 -0700 (PDT)
X-Received: by 2002:a05:622a:1884:b0:3bf:cdf8:61f4 with SMTP id
v4-20020a05622a188400b003bfcdf861f4mr770632qtc.4.1679645009400; Fri, 24 Mar
2023 01:03:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 01:03:29 -0700 (PDT)
In-Reply-To: <874jqbihk9.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:d48b:f8a8:637a:a309;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:d48b:f8a8:637a:a309
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <ed374404-5e4f-4283-898e-d8930a9b0923n@googlegroups.com>
<874jqbihk9.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0e7232b0-2f7d-4894-afcf-4e37deb4c777n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 08:03:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2032
 by: Rick C - Fri, 24 Mar 2023 08:03 UTC

On Thursday, March 23, 2023 at 12:00:35 PM UTC-4, Paul Rubin wrote:
> Rick C <gnuarm.del...@gmail.com> writes:
> > The number of units required is initially 20, and probably another 20
> > in a few months. After that, not sure.
> You are really willing to spend $300 per box in that quantity? So $6000
> or $12000 depending? This sounds very doable.
>
> Where is the deployment site geographically?

Multiple. Some are in the DC area.

--

Rick C.

++++ Get 1,000 miles of free Supercharging
++++ Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<87zg82h73y.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1328&group=comp.arch.embedded#1328

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 01:43:45 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87zg82h73y.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="4d49fdb677e7481253a125c9188ef84d";
logging-data="1684735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x8Li/PVsZivjSr+9+PSit"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:ACZJ6JyFLO+jztbv8mQH1k6JVR0=
sha1:HxeWgaTw3p68pXCz2U5a/1q68dE=
 by: Paul Rubin - Fri, 24 Mar 2023 08:43 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> That's one of the problems. Boards like Arduinos do not have RS-232
> support.

I thought I had located one and posted a link here. I'll look again.

> Sounds great. Do you have a proposal?

I'm open to this but I'm probably not the best person for it, since I'm
mostly a software guy. Do you have a timeframe? I can also check with
other people I know who might be interested, and will refer them to you
by email if they are.

Re: Boxed MCU with RS-232 Port

<k85gpoFdvftU4@mid.dfncis.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1329&group=comp.arch.embedded#1329

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From: HBBroeker@t-online.de (Hans-Bernhard Bröker)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 12:44:56 +0100
Lines: 12
Message-ID: <k85gpoFdvftU4@mid.dfncis.de>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.dfncis.de PQi1wV0uMbJNjDiWgqfPkAwOoIB3quEqXwkKMxytYX9TlMvyBuTuEn1kqg
Cancel-Lock: sha1:por73cm4WOnMIgr/DdWaPwST2uM=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Content-Language: en-US
In-Reply-To: <579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
 by: Hans-Bernhard Bröke - Fri, 24 Mar 2023 11:44 UTC

Am 24.03.2023 um 09:02 schrieb Rick C:
> On Thursday, March 23, 2023 at 11:54:54 AM UTC-4, Paul Rubin wrote:
>> Rick C <gnuarm.del...@gmail.com> writes:
>>> If you are talking about someone to build a board, no thanks.
>> No, building a board would be crazy unless you're making 1000s of them.
>> Pick an Arduino or similar board with RS232 support,
>
> That's one of the problems. Boards like Arduinos do not have RS-232 support. They have serial ports, but that's what was tried initially, with a home brew RS-232 level shifter added on a perf board.

Color me puzzled. Why on earth would anyone home-brew an RS232 level
shifter, particularly for a project that could clearly afford using
ready-made ICs like MAX232 instead?

Re: Boxed MCU with RS-232 Port

<kJc*RX2bz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1330&group=comp.arch.embedded#1330

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!callisto.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: 24 Mar 2023 14:20:30 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <kJc*RX2bz@news.chiark.greenend.org.uk>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com> <44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com> <40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com> <579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com> <k85gpoFdvftU4@mid.dfncis.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="23084"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Fri, 24 Mar 2023 14:20 UTC

Hans-Bernhard Bröker <HBBroeker@t-online.de> wrote:
> Am 24.03.2023 um 09:02 schrieb Rick C:
> > On Thursday, March 23, 2023 at 11:54:54 AM UTC-4, Paul Rubin wrote:
> >> Rick C <gnuarm.del...@gmail.com> writes:
> >>> If you are talking about someone to build a board, no thanks.
> >> No, building a board would be crazy unless you're making 1000s of them.
> >> Pick an Arduino or similar board with RS232 support,
> >
> > That's one of the problems. Boards like Arduinos do not have RS-232
> > support. They have serial ports, but that's what was tried initially,
> > with a home brew RS-232 level shifter added on a perf board.
>
> Color me puzzled. Why on earth would anyone home-brew an RS232 level
> shifter, particularly for a project that could clearly afford using
> ready-made ICs like MAX232 instead?

The problem is that commercial microcontroller boards like Arduinos tend to
have TTL level serial ports (or USB ones). If you want a box holding one of
those with some RS232 ports, you need to make a PCB with a MAX232 and a DB9,
and an enclosure to match. Rick was trying to find a box with all that
already done for him and drew a blank.

It's not the design that's the problem, it's the manufacturing.

Although for quantity 20 at these kind of price points, I might be tempted
to build something using dev boards, eg:
https://www.dfrobot.com/product-1030.html
and maybe a bit of 3D printing for an enclosure. For two of those boards
you might need to hand-patch one to use different pins, but it's not hard
and could be done.

If the customer is willing to pay $300 a unit it might be worth Rick's (or
somebody else's) time to do it. I'll be happy to take that contract, email
address works :-)

Theo

Re: Boxed MCU with RS-232 Port

<9119030a-9d22-4df4-852c-ecfee2e5cf1an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1331&group=comp.arch.embedded#1331

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:6214:b2b:b0:5ab:abe4:e92d with SMTP id w11-20020a0562140b2b00b005ababe4e92dmr550016qvj.6.1679670224250;
Fri, 24 Mar 2023 08:03:44 -0700 (PDT)
X-Received: by 2002:ac8:7d15:0:b0:3c0:4e66:e64c with SMTP id
g21-20020ac87d15000000b003c04e66e64cmr1207940qtb.7.1679670223772; Fri, 24 Mar
2023 08:03:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 08:03:43 -0700 (PDT)
In-Reply-To: <k85gpoFdvftU4@mid.dfncis.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:856d:9f34:a7f9:874c;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:856d:9f34:a7f9:874c
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com> <k85gpoFdvftU4@mid.dfncis.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9119030a-9d22-4df4-852c-ecfee2e5cf1an@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 15:03:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2682
 by: Rick C - Fri, 24 Mar 2023 15:03 UTC

On Friday, March 24, 2023 at 7:45:03 AM UTC-4, Hans-Bernhard Bröker wrote:
> Am 24.03.2023 um 09:02 schrieb Rick C:
> > On Thursday, March 23, 2023 at 11:54:54 AM UTC-4, Paul Rubin wrote:
> >> Rick C <gnuarm.del...@gmail.com> writes:
> >>> If you are talking about someone to build a board, no thanks.
> >> No, building a board would be crazy unless you're making 1000s of them..
> >> Pick an Arduino or similar board with RS232 support,
> >
> > That's one of the problems. Boards like Arduinos do not have RS-232 support. They have serial ports, but that's what was tried initially, with a home brew RS-232 level shifter added on a perf board.
> Color me puzzled. Why on earth would anyone home-brew an RS232 level
> shifter, particularly for a project that could clearly afford using
> ready-made ICs like MAX232 instead?

That's what they used. I simply meant it was not a commercial product on a PCB. Half the units have some problem.

Did you think I meant they designed their own level shifter chip?

--

Rick C.

----- Get 1,000 miles of free Supercharging
----- Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1332&group=comp.arch.embedded#1332

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:620a:28c6:b0:744:1072:e127 with SMTP id l6-20020a05620a28c600b007441072e127mr768976qkp.0.1679670535318;
Fri, 24 Mar 2023 08:08:55 -0700 (PDT)
X-Received: by 2002:ac8:7d83:0:b0:3c0:4e62:c0e5 with SMTP id
c3-20020ac87d83000000b003c04e62c0e5mr1231848qtd.8.1679670535103; Fri, 24 Mar
2023 08:08:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 08:08:54 -0700 (PDT)
In-Reply-To: <kJc*RX2bz@news.chiark.greenend.org.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:856d:9f34:a7f9:874c;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:856d:9f34:a7f9:874c
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com> <k85gpoFdvftU4@mid.dfncis.de>
<kJc*RX2bz@news.chiark.greenend.org.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 15:08:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3855
 by: Rick C - Fri, 24 Mar 2023 15:08 UTC

On Friday, March 24, 2023 at 10:20:37 AM UTC-4, Theo wrote:
> Hans-Bernhard Bröker <HBBr...@t-online.de> wrote:
> > Am 24.03.2023 um 09:02 schrieb Rick C:
> > > On Thursday, March 23, 2023 at 11:54:54 AM UTC-4, Paul Rubin wrote:
> > >> Rick C <gnuarm.del...@gmail.com> writes:
> > >>> If you are talking about someone to build a board, no thanks.
> > >> No, building a board would be crazy unless you're making 1000s of them.
> > >> Pick an Arduino or similar board with RS232 support,
> > >
> > > That's one of the problems. Boards like Arduinos do not have RS-232
> > > support. They have serial ports, but that's what was tried initially,
> > > with a home brew RS-232 level shifter added on a perf board.
> >
> > Color me puzzled. Why on earth would anyone home-brew an RS232 level
> > shifter, particularly for a project that could clearly afford using
> > ready-made ICs like MAX232 instead?
> The problem is that commercial microcontroller boards like Arduinos tend to
> have TTL level serial ports (or USB ones). If you want a box holding one of
> those with some RS232 ports, you need to make a PCB with a MAX232 and a DB9,
> and an enclosure to match. Rick was trying to find a box with all that
> already done for him and drew a blank.
>
> It's not the design that's the problem, it's the manufacturing.
>
> Although for quantity 20 at these kind of price points, I might be tempted
> to build something using dev boards, eg:
> https://www.dfrobot.com/product-1030.html
> and maybe a bit of 3D printing for an enclosure. For two of those boards
> you might need to hand-patch one to use different pins, but it's not hard
> and could be done.

This device is exactly what makes this difficult. Which pin on the DB9 is the data output?

> If the customer is willing to pay $300 a unit it might be worth Rick's (or
> somebody else's) time to do it. I'll be happy to take that contract, email
> address works :-)

You will need to post an email address. GG doesn't provide the email. Just HBBr...@t-online.de

--

Rick C.

----+ Get 1,000 miles of free Supercharging
----+ Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<tvkie8$1o1oq$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1333&group=comp.arch.embedded#1333

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: klee@unibwm.de (Herbert Kleebauer)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 17:16:00 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <tvkie8$1o1oq$1@dont-email.me>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Mar 2023 16:17:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="69c841e6ca5fe3d68e187350f3a1f452";
logging-data="1836826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19F6kJ3iJr+mO7zCDPwxE1QA06l1dH4G3w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:uakdJ2LhywPZV9cCkeRp2NikPzM=
Content-Language: en-US
In-Reply-To: <44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
 by: Herbert Kleebauer - Fri, 24 Mar 2023 16:16 UTC

On 22.03.2023 20:18, Rick C wrote:

> I was skimming the web for this again and I think I found something from Aaeon. Not sure why I didn't find this before. Maybe I did, but at that time was really looking for something with a simple CPU, rather than something to run a full OS. Beggars and choosers...
>
> https://eshop.aaeon.com/ultra-slim-box-pc-boxer-6405.html
>
> This one is $366, which is more than I'd like, but beggars... It is cheaper than the tailored unit a guy is working on for us. A sample unit doesn't work right and debugging across an ocean is not working very well. I could have this up and running in a day or something, as long as it comes
with Linux installed.

A lot of power consumption for such a task! An Atmel board
would only consume about 0.4 W, for example something like
that:

https://www.ledato.de/product_info.php?products_id=33
https://www.ledato.de/product_info.php?products_id=35

The price is crazy, but there should be similar
devices for only 1/5 of this price.

Re: Boxed MCU with RS-232 Port

<lJc*Lo3bz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1334&group=comp.arch.embedded#1334

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: 24 Mar 2023 16:23:51 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <lJc*Lo3bz@news.chiark.greenend.org.uk>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com> <44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com> <40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com> <579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com> <k85gpoFdvftU4@mid.dfncis.de> <kJc*RX2bz@news.chiark.greenend.org.uk> <dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="4384"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Fri, 24 Mar 2023 16:23 UTC

Rick C <gnuarm.deletethisbit@gmail.com> wrote:
> On Friday, March 24, 2023 at 10:20:37 AM UTC-4, Theo wrote:
>
> This device is exactly what makes this difficult. Which pin on the DB9 is the data output?

TXD (output of MAX2323ESE) is pin 2, RXD (input of MAX2323ESE) is pin 3.

ie would connect to a PC via a straight-through cable, not a null modem.

> > If the customer is willing to pay $300 a unit it might be worth Rick's (or
> > somebody else's) time to do it. I'll be happy to take that contract, email
> > address works :-)
>
> You will need to post an email address. GG doesn't provide the email. Just HBBr...@t-online.de

My email is on the bottom of http://www.markettos.org.uk/

(I am in the UK, if that makes a difference)

Theo

Re: Boxed MCU with RS-232 Port

<tvko4t$1p0h5$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1335&group=comp.arch.embedded#1335

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: klee@unibwm.de (Herbert Kleebauer)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 18:54:36 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tvko4t$1p0h5$1@dont-email.me>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<tvkie8$1o1oq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Mar 2023 17:54:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f3b03db44633b2db5011dcc93082278";
logging-data="1868325"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kVVqZGOy9Zkslrdt2oO7peyH9BLedsdg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:f/L4h2RcuzWyacOADU87ocATuS0=
Content-Language: en-US
In-Reply-To: <tvkie8$1o1oq$1@dont-email.me>
 by: Herbert Kleebauer - Fri, 24 Mar 2023 17:54 UTC

On 24.03.2023 17:16, Herbert Kleebauer wrote:

> https://www.ledato.de/product_info.php?products_id=33
> https://www.ledato.de/product_info.php?products_id=35

The same company (ledato.de, taskit.de) has also an ARM
board with Ubuntu and 2 (or 3) RS232 ports which is cheaper:

https://www.taskit.de/produkte/flex-iot/
https://youtu.be/Fsr8F6B7j0s

Re: Boxed MCU with RS-232 Port

<k867deFdvfuU1@mid.dfncis.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1336&group=comp.arch.embedded#1336

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!hirsch.in-berlin.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From: HBBroeker@t-online.de (Hans-Bernhard Bröker)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 19:10:54 +0100
Lines: 22
Message-ID: <k867deFdvfuU1@mid.dfncis.de>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
<k85gpoFdvftU4@mid.dfncis.de>
<9119030a-9d22-4df4-852c-ecfee2e5cf1an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.dfncis.de rkp6KF9nNSyb9ThRxTSvGAJZAURObS1xB7/rCDzqvh8h8M9E5VrHN3S62A
Cancel-Lock: sha1:Dqu+JV/x4hPEP0R/3gy8Wg8+8cU=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Content-Language: de-DE
In-Reply-To: <9119030a-9d22-4df4-852c-ecfee2e5cf1an@googlegroups.com>
 by: Hans-Bernhard Bröke - Fri, 24 Mar 2023 18:10 UTC

Am 24.03.2023 um 16:03 schrieb Rick C:
> On Friday, March 24, 2023 at 7:45:03 AM UTC-4, Hans-Bernhard Bröker
> wrote:
>> Am 24.03.2023 um 09:02 schrieb Rick C:

>>> That's one of the problems. Boards like Arduinos do not have
>>> RS-232 support. They have serial ports, but that's what was tried
>>> initially, with a home brew RS-232 level shifter added on a perf
>>> board.

>> Color me puzzled. Why on earth would anyone home-brew an RS232
>> level shifter, particularly for a project that could clearly afford
>> using ready-made ICs like MAX232 instead?
>
> That's what they used. I simply meant it was not a commercial
> product on a PCB. Half the units have some problem.
>
> Did you think I meant they designed their own level shifter chip?

You said you home-brewed the level shifter. How else was anybody to
interpret that?

Re: Boxed MCU with RS-232 Port

<k868b1FdvfuU2@mid.dfncis.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1337&group=comp.arch.embedded#1337

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From: HBBroeker@t-online.de (Hans-Bernhard Bröker)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 19:26:40 +0100
Lines: 14
Message-ID: <k868b1FdvfuU2@mid.dfncis.de>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
<k85gpoFdvftU4@mid.dfncis.de> <kJc*RX2bz@news.chiark.greenend.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.dfncis.de 8SvwgZC6mj07OYiRBhmZfAmsntTspHuWjE+hC+7ZE4Amz9RDlheLqMei5n
Cancel-Lock: sha1:20kXUK8/1RfsvlVG9i2tJh7v8nU=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Content-Language: de-DE
In-Reply-To: <kJc*RX2bz@news.chiark.greenend.org.uk>
 by: Hans-Bernhard Bröke - Fri, 24 Mar 2023 18:26 UTC

Am 24.03.2023 um 15:20 schrieb Theo:

> The problem is that commercial microcontroller boards like Arduinos tend to
> have TTL level serial ports (or USB ones). If you want a box holding one of
> those with some RS232 ports, you need to make a PCB with a MAX232 and a DB9,
> and an enclosure to match. Rick was trying to find a box with all that
> already done for him and drew a blank.

Of course he did. Finding that kind of box off-the-shelf was a very
long shot, IMHO.

Industrialized versions of the Raspberry Pi might have come close, but
they're more likely to offer RS485 or 422, insead of 232.

Re: Boxed MCU with RS-232 Port

<8e338f10-94f5-4dea-b122-250a3ae097a8n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1338&group=comp.arch.embedded#1338

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:620a:cf2:b0:743:5916:22a8 with SMTP id c18-20020a05620a0cf200b00743591622a8mr921053qkj.6.1679682878258;
Fri, 24 Mar 2023 11:34:38 -0700 (PDT)
X-Received: by 2002:ac8:7c48:0:b0:3bf:b9d9:675f with SMTP id
o8-20020ac87c48000000b003bfb9d9675fmr1469681qtv.10.1679682877920; Fri, 24 Mar
2023 11:34:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 11:34:37 -0700 (PDT)
In-Reply-To: <tvkie8$1o1oq$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:856d:9f34:a7f9:874c;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:856d:9f34:a7f9:874c
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <tvkie8$1o1oq$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e338f10-94f5-4dea-b122-250a3ae097a8n@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 18:34:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Fri, 24 Mar 2023 18:34 UTC

On Friday, March 24, 2023 at 12:17:17 PM UTC-4, Herbert Kleebauer wrote:
> On 22.03.2023 20:18, Rick C wrote:
>
> > I was skimming the web for this again and I think I found something from Aaeon. Not sure why I didn't find this before. Maybe I did, but at that time was really looking for something with a simple CPU, rather than something to run a full OS. Beggars and choosers...
> >
> > https://eshop.aaeon.com/ultra-slim-box-pc-boxer-6405.html
> >
> > This one is $366, which is more than I'd like, but beggars... It is cheaper than the tailored unit a guy is working on for us. A sample unit doesn't work right and debugging across an ocean is not working very well. I could have this up and running in a day or something, as long as it comes
> with Linux installed.
> A lot of power consumption for such a task! An Atmel board
> would only consume about 0.4 W, for example something like
> that:
>
> https://www.ledato.de/product_info.php?products_id=33
> https://www.ledato.de/product_info.php?products_id=35
>
> The price is crazy, but there should be similar
> devices for only 1/5 of this price.

There should be many things in this world.

Re: Boxed MCU with RS-232 Port

<87tty9hoe2.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1339&group=comp.arch.embedded#1339

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 13:42:45 -0700
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <87tty9hoe2.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
<k85gpoFdvftU4@mid.dfncis.de> <kJc*RX2bz@news.chiark.greenend.org.uk>
<dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="4d49fdb677e7481253a125c9188ef84d";
logging-data="1922584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185Q5yZhLagbZ9Gfl08f7A9"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:4vaRkbIEeeIPV2ZXTr0OVBwkD5k=
sha1:gNcxqnPP4ZYUNQOdpWFa1OKcbos=
 by: Paul Rubin - Fri, 24 Mar 2023 20:42 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> This device is exactly what makes this difficult. Which pin on the
> DB9 is the data output?

The pinout is given here: https://wiki.dfrobot.com/RS232_Shield

How do you feel about using that board, with an Arduino? Digikey stocks
it, if that helps:

https://www.digikey.com/en/products/detail/dfrobot/DFR0258/6588574

How do you feel about recycling the enclosure from one of those port
selector switches discussed a while back?

Here is a Lilygo board which has an ESP32-C3 MCU and RS232 among
other things, for $17.98: https://www.lilygo.cc/products/t-rsc3

It is shipped from China so maybe doesn't fulfill requirements because
of that, but it at least shows that such a product exists.

Article about it with an Aliexpress redirect link (it is also sold
through there):

https://www.cnx-software.com/2023/01/20/lilygo-t-rsc3-esp32-c3-board-features-isolated-rs232-rs485-interfaces-5-to-24v-dc-input/

Direct Aliexpress

https://www.aliexpress.com/item/1005005136988162.html

Here is an Olimex MSP430 board with RS232 for around $32:

https://www.olimex.com/Products/MSP430/Starter/MSP430-5438-STK/

It is available at Mouser, though they only have 9 in stock right now:

https://www.mouser.com/ProductDetail/Olimex-Ltd/MSP430-5438STK?qs=BoUPAr39LHyy3j%2FN0eUzfQ%3D%3D

It is also on Digikey's site, but out of stock there.

There are more Olimex boards with RS232 that I didn't look up.

You mentioned that you didn't want to use an external FTDI cable on a
USB port. What about having an FTDI dongle inside the box, installed so
that its DB9 connector is panel mounted?

https://ftdichip.com/products/usb-com232-plus1/
https://ftdichip.com/products/db9-usb-f/

TTL to RS232 (?): https://www.sparkfun.com/products/449
Similar: https://www.waveshare.com/wiki/RS232_Board

Regarding the locations: are any in the western US?

Re: Boxed MCU with RS-232 Port

<8f169598-33e2-435a-a55a-b2716853084an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1340&group=comp.arch.embedded#1340

  copy link   Newsgroups: comp.arch.embedded
X-Received: by 2002:a05:622a:24e:b0:3e3:13eb:e912 with SMTP id c14-20020a05622a024e00b003e313ebe912mr1526246qtx.2.1679693484485;
Fri, 24 Mar 2023 14:31:24 -0700 (PDT)
X-Received: by 2002:a05:622a:88:b0:3e1:3cc8:98ae with SMTP id
o8-20020a05622a008800b003e13cc898aemr1658531qtw.1.1679693484118; Fri, 24 Mar
2023 14:31:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded
Date: Fri, 24 Mar 2023 14:31:23 -0700 (PDT)
In-Reply-To: <87tty9hoe2.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:856d:9f34:a7f9:874c;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:856d:9f34:a7f9:874c
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com> <87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com> <878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com> <k85gpoFdvftU4@mid.dfncis.de>
<kJc*RX2bz@news.chiark.greenend.org.uk> <dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
<87tty9hoe2.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8f169598-33e2-435a-a55a-b2716853084an@googlegroups.com>
Subject: Re: Boxed MCU with RS-232 Port
From: gnuarm.deletethisbit@gmail.com (Rick C)
Injection-Date: Fri, 24 Mar 2023 21:31:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4766
 by: Rick C - Fri, 24 Mar 2023 21:31 UTC

On Friday, March 24, 2023 at 4:42:55 PM UTC-4, Paul Rubin wrote:
> Rick C <gnuarm.del...@gmail.com> writes:
> > This device is exactly what makes this difficult. Which pin on the
> > DB9 is the data output?
> The pinout is given here: https://wiki.dfrobot.com/RS232_Shield

You didn't answer the question. Which pin is the data output and which is the data input?

> How do you feel about using that board, with an Arduino? Digikey stocks
> it, if that helps:
>
> https://www.digikey.com/en/products/detail/dfrobot/DFR0258/6588574

Are you going to make the cable required?

> How do you feel about recycling the enclosure from one of those port
> selector switches discussed a while back?

Recycling is not a problem, as long as there is no branding on the box.

> Here is a Lilygo board which has an ESP32-C3 MCU and RS232 among
> other things, for $17.98: https://www.lilygo.cc/products/t-rsc3
>
> It is shipped from China so maybe doesn't fulfill requirements because
> of that, but it at least shows that such a product exists.
>
> Article about it with an Aliexpress redirect link (it is also sold
> through there):
>
> https://www.cnx-software.com/2023/01/20/lilygo-t-rsc3-esp32-c3-board-features-isolated-rs232-rs485-interfaces-5-to-24v-dc-input/
>
> Direct Aliexpress
>
> https://www.aliexpress.com/item/1005005136988162.html
>
> Here is an Olimex MSP430 board with RS232 for around $32:
>
> https://www.olimex.com/Products/MSP430/Starter/MSP430-5438-STK/
>
> It is available at Mouser, though they only have 9 in stock right now:
>
> https://www.mouser.com/ProductDetail/Olimex-Ltd/MSP430-5438STK?qs=BoUPAr39LHyy3j%2FN0eUzfQ%3D%3D
>
> It is also on Digikey's site, but out of stock there.
>
> There are more Olimex boards with RS232 that I didn't look up.
>
> You mentioned that you didn't want to use an external FTDI cable on a
> USB port. What about having an FTDI dongle inside the box, installed so
> that its DB9 connector is panel mounted?
>
> https://ftdichip.com/products/usb-com232-plus1/
> https://ftdichip.com/products/db9-usb-f/

Are you going to write the USB stack to run on the simple CPUs you have linked to?

> TTL to RS232 (?): https://www.sparkfun.com/products/449
> Similar: https://www.waveshare.com/wiki/RS232_Board

I don't know why you are showing all these devices.

> Regarding the locations: are any in the western US?

I don't know. Why does this matter? You won't be visiting the customer's site.

You seem to be thrashing around in looking at every little board that might or might not do the job, rather than finding one that will. The single port boards you've identified have the DB9 connector, but you don't indicate how you will split this into the two connectors required for the job.

Do you understand the requirements?

--

Rick C.

---+- Get 1,000 miles of free Supercharging
---+- Tesla referral code - https://ts.la/richard11209

Re: Boxed MCU with RS-232 Port

<tvl8jl$1rn25$3@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1341&group=comp.arch.embedded#1341

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: blockedofcourse@foo.invalid (Don Y)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 15:35:24 -0700
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <tvl8jl$1rn25$3@dont-email.me>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
<k85gpoFdvftU4@mid.dfncis.de> <kJc*RX2bz@news.chiark.greenend.org.uk>
<dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Mar 2023 22:35:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2be9db1b0e3ce674fa0bdf8d5d7dc2f5";
logging-data="1956933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191Ex0nRuFclHnrbw8r2BvP"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:Ov0r4G3IadtRrFWXExDHICzW6oI=
In-Reply-To: <dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
Content-Language: en-US
 by: Don Y - Fri, 24 Mar 2023 22:35 UTC

On 3/24/2023 8:08 AM, Rick C wrote:

>> Although for quantity 20 at these kind of price points, I might be tempted
>> to build something using dev boards, eg:
>> https://www.dfrobot.com/product-1030.html
>> and maybe a bit of 3D printing for an enclosure. For two of those boards
>> you might need to hand-patch one to use different pins, but it's not hard
>> and could be done.
>
> This device is exactly what makes this difficult. Which pin on the DB9 is the data output?

"Nominal" signal directions are specified from the standpoint of the *DTE*.
Remember that one rule and everything else falls into place. I.e., a DCE
*receives* data on the "Transmit Data" pin and transmits on the "Receive
Data" pin.

[Null Modem cables came into being because DTEs wanted to talk to DTEs.
So, *both* want to transmit on the TxD signal -- and thus need a pin
swap in the cable to connect out-to-in and in-to-out... even though
both are TxD]

DTE, by convention, use *male* connectors. That's the second thing to
remember.

Identify pin #1. Count sideways to the next pin; that will be RxD -- the
INPUT for the DTE device. The next pin will be TxD -- the OUTPUT for the
DTE device. (This for a DB9; using a DB25 changes this relative order).

It's not that hard (though folks tend to confuse themselves by getting
the frame of reference wrong -- esp when looking at UART chipsets
that want to label their pins TxD and RxD -- even if they are wired to
RxD and TxD, respectively, on the DB9, as is the case when implementing
a DCE).

Folks have historically bastardized all of these conventions -- for
"good reasons" (or, so they thought). But, a device (module) designed
for general use IN THE 21st CENTURY should have been designed with some
adherence to convention (i.e., male connector for DTE, female for DCE;
DTE transmits on TxD, DCE transmits on RxD). It's highly unlikely
that you're going to find a device that handshakes using SRTS or RLSD!

The roles of the control signals can quickly become confused as older
kit uses them in the original *interlocked* fashion of RS232C while
newer interpretations of the standard(s) have altered that behavior
(because most devices aren't as pathetically slow as 103 modems!)

[But, I think TWX, TELEX, et al. are long dead and gone]

Re: Boxed MCU with RS-232 Port

<87pm8xhbk9.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1342&group=comp.arch.embedded#1342

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.arch.embedded
Subject: Re: Boxed MCU with RS-232 Port
Date: Fri, 24 Mar 2023 18:19:50 -0700
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <87pm8xhbk9.fsf@nightsong.com>
References: <f1d09e6f-688d-4a73-9a37-a4a58de6a3a9n@googlegroups.com>
<44d115fb-0f03-4513-89db-01dc85bfbea7n@googlegroups.com>
<87cz50i1hx.fsf@nightsong.com>
<40aa56ff-c2a7-48f3-99e0-8c50322b1187n@googlegroups.com>
<878rfnihti.fsf@nightsong.com>
<579cd7b3-b5ae-41ef-acd1-1f57eacd11c4n@googlegroups.com>
<k85gpoFdvftU4@mid.dfncis.de> <kJc*RX2bz@news.chiark.greenend.org.uk>
<dd4c443b-69fe-4c40-95e4-45dce5ab0e83n@googlegroups.com>
<87tty9hoe2.fsf@nightsong.com>
<8f169598-33e2-435a-a55a-b2716853084an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="99f29e5be04606411039bf5031afc334";
logging-data="2008240"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BOkwj3qc9L19HDO9ky+iS"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:UZ4nxgLipktT0DCOharfy/25KKg=
sha1:oZq9/rrFaoPF++m2uKcnRBBlyvo=
 by: Paul Rubin - Sat, 25 Mar 2023 01:19 UTC

Rick C <gnuarm.deletethisbit@gmail.com> writes:
> You didn't answer the question. Which pin is the data output and
> which is the data input?

The transmit pin (TXD, pin 2 in that table) is the output and the
receive pin (RXD, pin 3) is the input. Since it is a female connector,
by the standard, the box is considered data communications equipment
(DCE), rather than data terminal equipment (DTR). If it was DTR, the
two pins would be switched around. Is that what you are asking? In any
case, one always has to test to be sure.

>> https://www.digikey.com/en/products/detail/dfrobot/DFR0258/6588574
> Are you going to make the cable required?

A splitter cable? I thought I posted a url to order those from.

> Recycling is not a problem, as long as there is no branding on the box.

There could be a label with your own branding, strategically placed to
cover up any existing branding, if that works for you.

> Are you going to write the USB stack to run on the simple CPUs you
> have linked to?

It exists already on some of them. I wouldn't write a new one.

>> TTL to RS232 (?): https://www.sparkfun.com/products/449
>> Similar: https://www.waveshare.com/wiki/RS232_Board
> I don't know why you are showing all these devices.

There are tons of cpus with built in UARTs

> I don't know. Why does this matter? You won't be visiting the
> customer's site.

Somebody at some point might have to do that. I hope not, but the
saying is, hope for the best and plan for the worst.

Frankly the first thing I would try is taking one of your homebrew boxes
that is known to be failing, swapping out the homemade level shifter PCB
with one of the ones linked above, and seeing if that works. Or at
least, use a scope to check the voltages coming out of the homemade PCB.

> You seem to be thrashing around in looking at every little board that
> might or might not do the job, rather than finding one that will.

It is a two step process: 1) identify possible candidates; 2) pick one.

Posting links to those boards is in part a demonstration that such
boards exist.

> The single port boards you've identified have the DB9 connector, but
> you don't indicate how you will split this into the two connectors
> required for the job. Do you understand the requirements?

I believe so. There are premade splitter cables that separate pins 2
and 3 from a DB9 into two more DB9's, or such a thing can be made, or
(preferable) one can use a CPU with two serial ports (or USB split into
two ports). The splitter cable can be inside the box since IIRC you
don't want it flopping around on the outside. Then the two DB9's would
be on the rear panel.


devel / comp.arch.embedded / Re: Boxed MCU with RS-232 Port

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor