Ads

Get STM32 tutorial using HAL at $10 for a limited time!

Monday, November 30, 2015

Interfacing with Parallel Port and C++ Part 1

Parallel port is one of the interface that can be found on a PC, especially on old PCs. This port is used for sending information to the printer and also known as printer port. The physical connector of parallel port is consist of 25 pins and also known as DB25 connector.


These pins can be divide to four groups:

  1. Output pins (2 - 9): Output pins is used for transmit data (8-bits) from PC to printer in parallel format (each pin is used to transmit one bit of data at a time). 
  2. Input pins (10, 11, 12, 13, 15): Input pins is used to read indicator status that received from printer.
  3. Input/Output (Bidirectional) pins (1, 14, 16, 17): These lines was used for control the flow of data.
  4. GND pins (18 - 25).
We can read or write data from or to these I/O pins by accessing their I/O address. There are three sequential I/O address space that corresponding to the parallel port pins: 0x378 (output pins), 0x379 (input pins), 0x37A (input/output pins).

Saturday, November 28, 2015

BattleBots Robot Prototype using ATmega16 and HC-05 Bluetooth


BattleBots is an American competition television series. The competition is about robot wars. Competitors design and operate remote-controlled armed and armored machines designed fight in an arena combat elimination tournament.


Sunday, November 1, 2015

Altium Designer Tutorial 3 - Circuit Schematic

In the previous tutorial, we have made the schematic symbol and component footprint. Now in this tutorial, I will continue to make circuit schematic. You can go to schematic file by double click on the project explorer.

The final schematic of the circuit is looks like this: