Become a subscriber (Free) Join 29,000 other subscribers to receive subscriber sale discounts and other free resources. Name: E-Mail: Don't worry -- youre-mail address is totally secure. I promise to use it only to send you MicroZine.

# Hex code table for numbers 0 - 15

You can use the following hex code table to convert hexadecimal to binary and back and you can convert numbers of any length.For each nibble of binary data just replace it with the corresponding hex digit.

For example:

 Binary number : 1010 0110 1110 1111 0111 0110 1101 Hexadecimal number : A 6 E F 7 6 D

You can convert any hex number of any length to binary (just remember to start from the right - or LSB) using the hex code table.

And you can convert any binary number of any length to hexadecimal (just remember to start from the right - or LSB) using the table. If it does not fit into the last nibble (set of 4 bits) set the left most bits to zero.

 Decimal Hex digit Binary code Decimal Hex digit Binary code 0 0 0000 8 8 1000 1 1 0001 9 9 1001 2 2 0010 10 A 1010 3 3 0011 11 B 1011 4 4 0100 12 C 1100 5 5 0101 13 D 1101 6 6 0110 14 E 1110 7 7 0111 15 F 1111

Jump from hex code table to

## Recent Articles

1. ### PIC PWM: Easy Pulse width Modulation on the PIC Micro.

PIC PWM : What its for and how to use it. Including an example showing typical setup of a PIC PWM module with register settings.

2. ### The Essential I2C Tutorial: All you need to know about I2C...

How to use I2C. In this tutorial you will learn all about the 2 wire I2C serial protocol. Learn how easy it is to use, how it works and when to use it...

3. ### PIC LCD volt meter : How to use the ADC for voltage measurement.

A 0-5V LCD volt meter project using an HD44870 display and one PIC micro ADC.

4. ### PIC Programming using ICSP

PIC programming : How to use ICSP for programming a PIC microcontroller giving some ICSP connection diagrams and it also shows how to use MPLAB X and ICPROG.

5. ### PIC ICSP In Circuit Serial Programming

How to program PIC ICSP, IN-Circuit, live and still have a working programmer and operational circuit!

6. ### An Ultrasonic Distance meter project: How to make one using a microcontroller.

Understand how an Ultrasonic Distance meter works by building one your self – including Free software to drive the microcontroller and display.

Enter your first Name and primary email address in the form below:

And receive absolutely FREE a full project for:

"Measuring Analogue Voltages

(Using only one pin).

You Can
Get It Right Now

Warning: This project could be  Removed
at any time.

It will  NOT be
available indefinitely SO
To avoid
disappointment  get it:

Now

 Name: E-Mail: Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine
Remember this is a project with full description and fully debugged C Source code - and it's not available from the main website.

You can only get it through this newsletter.

To get exclusive access Enter your first name Name and primary email address Now in the form above.:

But wait !

There's more...

free and exclusive reports as well as site information and site product updates

Scroll up to the form above and sign up NOW. Don't forget it's FREE and if you don't like it, you can unsubscribe at any time.

"I wanted to thank
you so so so much
for all the information
you have provided in

SUPERB and FANTASTIC."

- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan

bursach<at>gmail.com<

"Awesome site,
very, very easy and nice
to navigate!"

- Matt
matt_tr<at>
wolf359.cjb.net

Learn Microcontrollers

"Interested in
Microcontrollers?"

Free 7 day guide:

"I am a newbie to PIC
and I wanted to say
how great your
site has been for me."

- Dave

de_scott<at>bellsouth.net

and perfect work.
congratulations."

- Suresh

integratredinfosys<at>
yahoo.com

"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for