Multiple Serial Communication on Avr Mcu
Multiple Serial Communication on Avr Mcu??????????
This question comes up from time to time, and I want to give a simple solution in this problem.
My friend needs MCU with 4 UART (@ 38.4 KBaud each respectively) to their robot projects in Battle Division KRCI (Kontes Robot Cerdas Indonesia) 2010. 4 UART is a problem, because the simplest MCUs (AVR, PIC) do not have
chips with this number.
I have a suggestion, which can be seen in this picture, by using an IC CD4052 is a Dual 4-Channel Analog Multiplexer/Demultiplexer are Digitally controlled analog switches having low “ON” impedance and very low “OFF” leakage currents. that can be used to select the desired channel by giving logic select on pins A and B.
This option which I would recommend in terms of simplicity implementation? Cost less than a concern here, and no specific performance requirements.
Datasheet C4052 can be download in this Link (PDF) and this Link (ZIP).
Related posts:
- Serial Communication RS232 Description With serial communication you can exchange data with the AVR-microcontroller and your PC. Allmost all AVR-microcontroller have a UART (Universal Asynchronous Reciever/Transmitter) on board of the chip (accept for the AT1200 and some ATTiny microcontrollers). The data transmission between the PC and the microcontroller is serial and asynchronous, serial means that the bits are send [...]...
- AVR KeyPad 3×4 #include <mega324.h> #include <delay.h> #include <stdio.h> //mulai inisialisai PIN Key Pad #define kolom1 PORTA.0 // out 1 #define kolom2 PORTA.1 #define kolom3 PORTA.2 #define baris1 PINA.4 // in Pull #define baris2 PINA.5 #define baris3 PINA.6 #define baris4 PINA.7 unsigned char tombol,kolom,x; // variabel tombol u/ simpan hasil yg ditekan (dalam kode Ascii) void cek_baris() // 48 adalah konversi tampilan charakter { if (baris1 == 0) { tombol = kolom + 48; x=1; } else [...]...
- Free Download CodeVisionAVR V2.03.4 CodeVisionAVR V2 Standard Features Application that runs under Windows® 2000, XP, Vista and Windows 7, 32bit and 64bit Easy to use Integrated Development Environment and ANSI C compatible Compiler Editor with auto indentation, syntax highlighting for both C and AVR assembler, function parameters and structure/union members autocomplete Supported data types: bit, bool, char, int, short, long, float Fast floating point [...]...
- GSTAR GS-89m-J GPS Module GPS module, GPS, wireless module, GPS receiving module, GS – 89m – J is a high and low power of intelligent satellite receiving module or called satellite receiving engine, it adopts the l LianFa technology company design of 32 channel positioning receiver chips, is a complete satellite positioning receiver with comprehensive functions, can satisfy [...]...
- AVR Half Duplex Software UART (9600 bps, 8N1) /********************************************* This program was produced using CodeVision AVR V1.23.6b Standard © Copyright 1998-2002 HP InfoTech s.r.l. http://www.hpinfotech.ro e-mail:office@hpinfotech.ro , hpinfotech@xnet.ro Project : UART3: Half Duplex Software UART (9600 bps, 8N1) Version : 1.3 Date : October 2002 Author : Radu Hristea (radu.hristea@aptrans-group.com; transeast@programmer.net) Company : TransEast s.r.l. Comments: Total size = 321 words (including the demo program) The receive line is buffered (the [...]...
- GSTAR GS-94 GPS Module GSTAR GS-94 GPS module compatable UBLOK 4S 5S ,GS-94 is a compact, high performance, and low power consumption GPS engine board. GS-94 uses MTK MT3318 chipset which can track up to 32 satellites at a time and perform fast TTFF and excellent signal sensitivity. It is suitable for portable electronic devices such as automotive [...]...
- SIM300C/340C GSM/GPRS Modem Product Name: SIM300C/340C The SIM300C/340C is a complete Tri-Band/Quad-Band GSM/GPRS solution in a compact plug-in module with DIP board-to-board connector, which can be used in M2M applications such as telemetry, telematics and other M2M mobile data communication systems. • DIP type board-to-board connector suit for vehicle application • Customized MMI and keypad/LCD support • An embedded Powerful TCP/IP [...]...
- Holux M-89 GPS Module Product Name: Holux M-89 GPS Module Overview M-89 is an ultra miniature 25.4 x 25.4 x 3 mm GPS engine board designed by low power consumption MTK GPS solution. It provides superior sensitivity up to -159dBm and fast Time-To-First-Fix in navigation application. The stable performance of M-89 is your best choice to be embedded in your portable [...]...
- AVR Keypad 4×4 Auto Scan (Interrupt Timer) /*************************************************************************** File : keypad-4x4-int-timer.c Description : Main module Project : Keypad Matrix 4x4 Auto Scan (Interrupt Timer) Version : 1.1.5 Author : nashrul@nashrul.co.cc Date : 2006 - 2008 ***************************************************************************/ #include <mega16.h> #include <lcd.h> #include <delay.h> #include <stdio.h> #define kolom1 PORTA.0 // out 1 #define kolom2 PORTA.1 #define kolom3 PORTA.2 #define baris1 PINA.4 // in Pull #define baris2 PINA.5 #define baris3 PINA.6 #define baris4 PINA.7 #asm .equ __lcd_port=0×18 ;PORTB #endasm char buf[17]; unsigned char sss, ss, mm, tt, key, [...]...
- AVR SHT 11 (Temperature & Humidity Sensor) /*************************************************************************** File : sht-11.c Description : Main module Project : SHT 11 Temperature & Humidity Sensor Version : 2.0.1 Author : nashrul@nashrul.co.cc Date [...]...
- SIM508/548 GSM/GPRS/GPS Modem SIM508/548 module is a Tri-Band/Quad-Band GSM/GPRS-enabled module that is also equipped with AGPS technology. The compact design of the SIM508/548 makes it easy to integrate GSM/GPRS & GPS as an all-in-one solution. You will save significantly both time and cost for the integration of additional hardware components. The combination of both technologies can fit almost [...]...

Good…