Path: csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: 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: <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="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= Xref: csiph.com comp.arch.embedded:31691 Rick C 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?