Arduino

by

The Arduino Uno (ATmega328) has a single hardware serial connection. If more serial connections are needed, you must implement these in software. Luckily, there is a very easy to use library to implement software serial connections. It is called SoftwareSerial.h and is included with the latest Arduino IDE. The following code demonstrates how to use

by

Serial communication between computers and/or microcontrollers allows messages to be sent using a single wire. The message takes the form of a series of voltage pulses that encode a sequence of zeros and ones. There are two main protocols for serial communication, TTL and RS232. The major difference between the two is the voltages that

by

I recently looked for a really good schematic for a breadboard Arduino and couldn’t find one so I made one and share it below. This schematic is for an extremely bare-bones circuit and includes only the needed components to operate a ATmega328 running the Arduino Uno bootloader. I leave it to you to design your

by

For an introduction to binary and hexadecimal notation, read this post. In the Arduino IDE, representing numbers in binary or hexadecimal notation often comes in handy. For example, since the ATmega328’s registers are eight bits, I often set the bits of a register by assigning the register an eight-bit binary number. To assign a variable