EMBEDDED TWEAKS

Embedded Electronics Tutorials, Coding and lot more

Tag: home automation

HC-05 Bluetooth interfacing with your microcontrollers

Bluetooth:

Bluetooth® wireless technology is becoming a popular standard in the communication. it is one of the fastest growing fields in the wireless technologies. It is  convenient, easy to use and has the bandwidth to meet most of today’s demands for mobile and personal communications. Bluetooth technology handles the wireless part of the communication channel; it transmits and receives data wirelessly between these devices. It delivers the received data and receives the data to be transmitted to and from a host system through a host controller interface (HCI). The most popular host controller interface today is either a UART or a USB .Here, I will only focus on the UART interface, it can be easily show how a Bluetooth module can be integrated on to a host system through a  UART connection and provide the designer an optimal solution for Bluetooth enabled systems.

bluetooth interfacing microcontroller

The bluetooth module I will use today is HC-05 which is so familiar and cheap. It is easily available in local indian markets. You can go either offline or online. You may find in about ~600 ₹. May be if you search better, you can get as low as 450 ₹. Continue reading

Sharing is caring

Controlling your Electrical appliances via PC/Laptop (8051 Microcontroller)

The whole simulation video is available at youtube link below:

 You can download hex file and proteus simulation at end of the post.

This device can be used to control your home’s all 230V appliances directly from your PC. We can do it via the serial port of our PC. We have used the 8051 microcontroller here.  We are communicating via the RS-232 port.

The circuit is designed in the proteus ISIS software. I have first simulated the circuit in the proteus so that all correction and debugging process is done in the PC itself. So we don’t need Continue reading

Sharing is caring

Controlling electrical Appliances via SMS

This device can enable you to control your home appliances by just an SMS message. You can also monitor some data like temperature, gas leakage, door status etc.  I am using a PIC microcontroller PIC16f887 for this purpose. I written the code in Mplab X IDE and XC8 compiler. Here for demo I have attached a gas, light, door, temperature sensor, Rain sensor. LM35 is used as temperature sensor.

App

SIM900 GSM modem:

 I am decoding the incoming SMS from SIM900 GSM modem. GSM/GPRS Modem-RS232 is built with Dual Band GSM/GPRS engine- SIM900A, works on frequencies 900/ 1800 MHz. The Modem is coming with RS232 interface, which Continue reading

Sharing is caring

TV remote decoder (NEC protocol decoder)

Today there are many remotes available in the market. They are different as per their target applications. Even though they are from different manufacturers, but they follow some standard protocols such as RC5, RC6 or NEC protocol. Here i am showing how to decode NEC protocol remote. I am using a PIC16F micrcontroller. NEC is the toughest protocol to decode, hence secure also. You can see full video demo here.

remote

NEC protocol:

  • 8 bit address and 8 bit command length
  • Address and command are transmitted twice for reliability
  • Pulse distance modulation
  • Carrier frequency of 38kHz
  • Bit time of 1.125ms or 2.25ms

Continue reading

Sharing is caring

Controlling your Electrical appliances via PC/Laptop (PIC microcontroller)

I recently posted an idea to control your home appliances using 8051 microcntroller here. For simulation of this post see the links below. The same can be implemented. But the respective changes will take place as follows:

The IDE used is now MPLAB X IDE.

Compiler is XC8.

Microcontroller is PIC16F887      Continue reading

Sharing is caring

© 2018 EMBEDDED TWEAKS

Theme by Anders NorenUp ↑

Follow Me

Get the latest posts right delivered in you mailbox

%d bloggers like this: