Posts

HOW TO WRITE YOUR OWN CODE FOR AN LCD DISPLAY (16X2 OR 16X4)

The Arduino ide default comes with an excellent library with examples for LCD display it’s really easy! One to use. Mine is not best one but the reason behind this post is to experience the feel of writing your own code and understanding the embedded displays and their working technology and how they works with u-controllers, maybe in future it can helps you to write a code for lcd display with other new microcontrollers or other programming languages. So let’s start with the one important things: The datasheet is your friend in this quest for any quest, for real! So getting the data sheet is important here I’m using a 16x2 LCD. This kind LCD is based on parallel interface LCD controller chip from Hitachi called the HD44780. Next is physical pinout the display uses a matrix of dots and displays only characters in 16x2 matrixes. Each character is displayed in a 5 column × 8 row dot matrix or a 5 column × 10 row dot matrix The pinout is LCD has totally 16 pins they are: 1....

HACK HC-05(BLUETOOTH MODULE) FRIMWARE INTO HID FRIMWARE

Image
This post helps you to change the firmware of the hc05 Bluetooth chip into hid enabled Bluetooth chip. The HID stands for “HUMAN INTERFACE DEVICES” means things like your keyboard, mouse, printer, joysticks, etc.. Drivers get automatically installed in your computer without any external drivers needed.   The hc05 default don’t have hid capability but, the chip hc05 uses is same clone of chip RN-42 uses (BC417) , the RN-42 is an HID enabled chip. We gonna swap the firmware’s of rn42 into hc05. [NOTE: this particular hc05 chip comes with serial interface in it if you perform this swap it no longer work as serial Bluetooth chip. If you want you can save the firmware of hc05 and re-swap again to work normal]. That being said what are the things we need to perform this task are: 1.   HC05 module for sure (duh!) 2.   RN-42 chip {Wait if you are performing this task you must be very enthusiastic in electronics or extremely poor then why the hell you gonna buy an r...