Categories

Posts Tagged ‘UART’

App note: I/O emulated UART baud rate calibration

Sunday, October 14th, 2018

Software/bitbang method of baud rate calibration for micro without built-in UART, App note from Holtek. Link here (PDF) Not every HOLTEK MCU contains a Universal Asynchronous Receiver/Transmitter function, otherwise known as a UART. If this function is required, it can be emulated using software. However, the software accuracy will change...

Tags: , , ,
Posted in app notes | No Comments »

Hacking a UART where there never was before

Tuesday, April 26th, 2016

Thanks to Andrew for sharing – check out the full post on their blog, MOAM Industries. As part of a prototype developed 12 months ago I was tasked with reading measurements from a blood pressure cuff [sphygmomanometer] in real time. Not surprisingly there are no consumer level devices that have...

Tags: , ,
Posted in hacks | 1 Comment »

One wire control of HD44780 LCDs

Monday, July 23rd, 2012

Does the minimum 6 pins needed to control an LCD give your little microcontroller a sad? In the forum we're discussing low pin-count control methods for common HD44780 parallel displays. This one uses is a simple serial UART adapter similar to our USB and Serial LCD backpack: Here's a reasonably...

Tags: , ,
Posted in DIY, LCD | No Comments »

App note: Full-duplex software UART for LPC111x and LPC13xx

Sunday, July 1st, 2012

Here is an app note with source code describing how to implement a full-duplex software UART interface on LPC111x and LPC13xx microcontrollers. However, some applications require more UARTs than are available on the device. While the addition of an external stand-alone UART IC could be used in some of these...

Tags: , ,
Posted in app notes | No Comments »

Read a GPS module with the Bus Pirate

Friday, May 4th, 2012

You can use your Bus Pirate to read a Fastrax UPS501 GPS module. Since the module has a UART, just connect the RX and TX pins, and set the Bus Pirate for UART mode. The correct settings are UART, 9600 baud, 8bits, no parity, one stop bit, receive polarity 1,...

Tags: , ,
Posted in Bus Pirate | 1 Comment »

App note: Using UART Auto-Baud detection on dsPIC30 digital signal processors

Saturday, April 14th, 2012

Here is a app note from Microchip describing how to implement the Auto-Baud detection for UART operation on dsPIC30 digital signal processors. This function is useful when the oscillator of the dsPIC is unknown and/or the baud rate is unknown. All current dsPIC30F devices have a UART peripheral with Auto...

Tags: , , ,
Posted in app notes | 1 Comment »

Simple USB to UART adapter that works with 3.3V and 5V UART signals

Monday, January 9th, 2012

The serial UART is a common interface used by many chips and devices. Ginpb designed a USB-to-UART adapter that works with 3.3V and 5V UART signals. The device is based around the FTDI FT232BL USB-to-UART IC with an added 3.3V power supply. The different interface levels are selected by an...

Tags: , , ,
Posted in project logs | No Comments »

Save to a microSD cards with simple serial protocol

Tuesday, December 27th, 2011

This is a UART driven microSD module that supports cards with up to 2 GB of storage. It stores data using the FAT16 file system, so any computer can read and write files to the cards too. It's controlled with simple serial commands from a microcontroller. Most micro-controllers have small...

Tags: , ,
Posted in dev boards | 5 Comments »

Setting up UARTs on several micros

Thursday, November 3rd, 2011

Brian from teho Labs wrote a tutorial on how to setup serial UART communication on various microcontrollers. UART code examples for the Arduino, ATMEGA168, MSP430, STM32, and LM3S are provided. From his nice writeup it is easy to see why the Arduino is so popular. Being a library based platform,...

Tags: ,
Posted in code | 5 Comments »

Bus Pirate UART mode demonstration

Thursday, October 20th, 2011

[embed]http://www.youtube.com/watch?v=z77MAhQmrRs[/embed] HamRadio2008 demonstrates the Bus Pirate in UART mode. He is using a PIC18F45K20 MCU to read temperature data from a I2C sensor and then sends it over the UART to the computer serial port, via the MAX232 RS232 level converter.  The Bus Pirate is used to monitor the UART...

Tags: ,
Posted in Bus Pirate | No Comments »

Implementation of UART transmitter in Verilog HDL for Spartan3 FPGA

Monday, February 28th, 2011

If you're experimenting with FPGAs its helpful to know how various common tasks are coded. Here is an article by M. Yasir explaining how to code a UART transmitter in a Spartan 3 FPGA. The tutorial uses the Verilog hardware definition language.

Tags: , ,
Posted in documentation, FPGA | 5 Comments »

NEW PRODUCT: MCP2200 USB to Serial breakout board

Tuesday, January 18th, 2011

The MCP2200 is a new USB to serial converter chip from Microchip. Our MCP2200 breakout board brings all the pins to bread board friendly headers. USB CDC virtual serial port interface Secondary HID configuration interface Up to 8 additional IO 256bytes user EEPROM TX/RX indicator LEDs All pins to bread-board...

Tags: , , , , ,
Posted in Prototypes, USB | 5 Comments »

Bus Pirate Mind-Reading Mode?

Thursday, October 22nd, 2009

Mike Donovan suggests that a USB version of Zibri's Force Trainer interface hack could be done with a Bus Pirate. Substitute the MAX RS232 serial converter with a Bus Pirate in UART mode configured for 57600, 8/N/1 : "call it Bus Pirate Mind-Reading Mode". View output in the terminal, or...

Tags: , , ,
Posted in Bus Pirate | No Comments »

MIDI mode merged into UART library

Wednesday, October 21st, 2009

The next Bus Pirate firmware release merges MIDI into the UART library. MIDI is just a specific serial protocol over a UART at 31250bps, 8/N/1. The latest nightly build adds option "10) 31250 (MIDI)" to the UART speed options. This also applies all the recent UART mode fixes to MIDI...

Tags: , , ,
Posted in Bus Pirate | 1 Comment »

UART mode updates

Monday, October 19th, 2009

See the latest version in the documentation wiki. UART mode requires special handling compared to the other Bus Pirate modes because data can arrive at any time. Displaying data as it arrives is a unique challenge because it has to be converted to ASCII and sent to the user terminal....

Tags: ,
Posted in Bus Pirate | 2 Comments »

Bus Pirate: Binary UART mode

Monday, October 19th, 2009

See the latest version on the documentation wiki. The Bus Pirate's new binary modes provide a consistent, logical way to script actions from Python, Perl, etc. We already introduced the new binary bitbang, SPI, and I2C modes. This post outlines the binary UART functions. A UART is like a PC...

Tags: ,
Posted in binmode, Bus Pirate | No Comments »

Bus Pirate: Chip demonstrations

Friday, August 14th, 2009

Here's a comprehensive list of Bus Pirate chip demonstrations. It includes Ian's old demonstrations from Hack a Day, and the most recent demos from Dangerous Prototypes. Tutorials are arranged by Bus Pirate hardware version. Bus Pirate v2&v3 Firmware v0g new feature demonstration PCF8563 real time clock calendar (I2C) ShiftBrite with...

Tags: , , , , , ,
Posted in Bus Pirate | 1 Comment »

Recent Comments

  • Sjaak: I love those spade connectors. Where to get them?
  • Justin Myers: Always worth a shot!
  • Jack: Honesty is based upon objective fact, and truth upon perception which is invariably subjective. Therefore be honest, and let history make its own decisions.
  • Crawford: Lucky?
  • hli: Sunday++