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.
|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|
Jump from hex code table to
Best-microcontroller-projects home page
PIC PWM : What its for and how to use it. Including an example showing typical setup of a PIC PWM module with register settings.
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...
A 0-5V LCD volt meter project using an HD44870 display and one PIC micro ADC.
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.
How to program PIC ICSP, IN-Circuit, live and still have a working programmer and operational circuit!
Understand how an Ultrasonic Distance meter works by building one your self – including Free software to drive the microcontroller and display.