Tag Archives: RS232

Microcontrollers with USB interface are common, but…

obr1783_uvod

FTDI.FT-X series USB to serial bridges can be still reasonable option even for today.

Microcontrollers with USB interface are common nowadays. Manufacturers provide source codes for USB device classes like CDC, HID, Mass storage and DFU. . Even in this case, programming USB communications may not be a trivial task. If it is only required to replace RS232 serial interface to USB, is worth considering using of FTDI TF-X series USB to serial bridge.Advantages:

  • Entire USB protocol handled on the chip. No USB specific firmware programming required.
  • Detection of connection to DCP (Dedicated Charging Port) USB port.
  • Lower requirements for microcontroller resources. Communication through UART, I2C or SPI is less resource demanding than implementation of USB CDC device class
  • Drivers for Windows, Mac OS-X, Linux and Android for free.
  • Microcontroller pins are connected to USB connector through USB/serial bridge. ESD or overvoltage spikes on USB bus can damage bridge instead of microcontroller. Replacement of small bridge chip is simpler than replacement of microcontroller.

Disadvantages:

  • USB/serial bridge chip requires PCB space and increases cost.

The X-chip brochure and X-chips overview. will provide you more information. Majority of FT-X series chips can be found in our standard stock offer


Microcontrollers with USB interface are common, but… – [Link]

Serial Port Communication in Excel (VBA)

Fig0077

Maurizio @ dev.emcelettronica.com discuss how we can do serial communication in Excel environment. He writes:

The purpose of this article is to demonstrate how you can perform serial port communication in the VBA (Visual Basic Applications – script editor included in any typical Microsoft Excel distribution) but without using the MSComm control or any other third party add-on or ActiveX.

Serial Port Communication in Excel (VBA) – [Link]

Transparent ESP8266 WiFi-to-Serial Bridge

6ca7f75e-167f-11e5-827d-9a1c582ad05d

jeelabs @ github.com has written a firmware for ESP8266 that enables it to talk to RS232 of your mcu via WiFi and also programm your mcu via WiFi. He writes:

This firmware connects an attached micro-controller to the internet using a ESP8266 Wifi module. It implements a number of features:

  • transparent bridge between Wifi and serial, useful for debugging or inputting into a uC
  • flash-programming attached Arduino/AVR microcontrollers as well as LPC800-series and other ARM microcontrollers via Wifi
  • outbound TCP (and thus HTTP) connections from the attached micro-controller to the internet
  • outbound REST HTTP requests from the attached micro-controller to the internet, protocol based on espduino and compatible with tuanpmt/espduino

The firmware includes a tiny HTTP server based on esphttpd with a simple web interface, many thanks to Jeroen Domburg for making it available! Many thanks to https://github.com/brunnels for contributions around the espduino functionality.

Transparent ESP8266 WiFi-to-Serial Bridge – [Link]

RS232 To RS485 Module

C038_1

RS232 to RS485 Board (R) provides a seamless connection of the PC to an RS485 network.

  • Simplex connection of this interface to the RS485 network
  • Easy way of switching the modes between Receiver and Transmitter ( Slide Switch)
  • 5 V regulated supply provision on board
  • 9-pin, PCB mounted, Female type D-connector available
  • Supply can also be provided by the host interface via Header connector carrying data
  • Four mounting holes 3.2 mm each
  • PCB dimensions 82 mm x 33 mm

RS232 To RS485 Module – [Link]

RS232 to RS485 Module

C020

This project provides a simple and easy solution to connect your computer to a RS485 Network in either Receiver or Transmitter mode.

This circuit has been designed around popular MAX232 and MAX485 interface IC.

RS232 to RS485 Module – [Link]

RS232 – MAX232 Interface Module

RS232_Module_PIC

This project provides you a simple and easy solution to connect / convert your Microcontroller input/output to be connected to the serial port of the Computer.

This projects build around popular MAX232 level shifter IC to do the Level Shifting (Voltage) between 5 V and 12 V DC.

An Onboard 9 pin female “D” connects this PCB to the Serial Port cable (not supplied with the Kit). Connector J1 connects to the Host for power supply and serial In/Out signals.

A – Provides data from the Computer to the Host (RXD)
B – Provides data to be sent to the Computer from the Host (TXD)

RS232 – MAX232 Interface Module – [Link]

Bluetooth OBD-II Adapter

obd

Nabil Tewolde build a bluetooth OBD-II adapter. He writes:

The board is basically the reference schematic for the STN1110, which converts many OBD-II physical layers into RS232. The bottom of the board has a bluetooth module from Deal Extreme. The plan is to connect a smartphone or tablet to the device and log data.

Bluetooth OBD-II Adapter – [Link]

Customer solution: Trouble-free RS232, RS422, RS485 to USB conversion

obr1320_1

Integrated circuit FT232R is becoming legendary and we bring you another example of FTDI USB chips usage.  

In praxis we often face a requirement to communicate with devices, which have serial ports RS232, RS422 and RS485. As many devices – mainly notebooks, already usually don´t have these ports, it is necessary to use a converter to convert serial port to USB.

Company ComErgon, s.r.o. is long-term dedicated to development and production of such converters. ComErgon has in its offer models for  RS232, RS422 a RS485 interfaces. USB to RS422 and RS485 converters are produced with a 1kV galvanic isolation, as lines on the RS422 and RS485 side can be lead  even on long distances and an eventual overvoltage could be able to damage end devices. Version RS232-USB is available with galvanic isolation but also without isolation.

More detailed information and technical specification of these converters can be found at website of company ComErgon.
Company ComErgon focuses on development and production of converters for RS232, RS422, RS485, RS422/RS485 repeaters, serial to Ethernet interface modules, GPRS, Fiber Optic, 433MHz, current loop and other.

Customer solution: Trouble-free  RS232, RS422, RS485 to USB conversion – [Link]

WizFi630 – the immediately available WiFi

obr1159_1

Compact embedded module WizFi630 enables to connect any serial RS232 device to a TCP/IP network. 

However it´s not all. By supporting  3 Ethernet ports, it offers a wide variability to connect another devices to a Wi-Fi network, in various operation modes.

Novelty from company Wiznet  WizFi630 module provides, besides the RS232/ Wi-Fi interface, even many other functions, which place it to a category of routers. Via 2 UART and 3 Ethernet ports it is possible connect several devices in various modes of operation: AP (Access point), Client , AP client and Gateway. These modes are best illustrated in attached picturs. For a development support, we offer you a novelty –  WizFi630EVB evaluation board with complete accessories.

WizFi630 – the immediately available WiFi – [Link]