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
With the ADXL345 acellerometer you can detect up to 16g! You can also find out how to use it for tap detection and more.
HMC5883L - How make a digital compass, Find out the differences between the HMC5883L and the QMC5883L and whether they are compatible.
Easily use an ESP8266 with the Arduino IDE and program your first sketch into the ESP8266
The MCP4725 chip is a 12 bit DAC with memory that outputs voltage that you can use for many dfferent purposes. Find out what they are in this page.
PCF8591: A four input ADC with single DAC. How good is this 8 bit ADC, and should you use it in your next project?
Arduino Nano ISP: How to program an ATmega328P using an Arduino Nano as the ISP programmmer. One common problem: Programming a sketch into the chip without a reset control - solved here.