EMBEDDED TWEAKS

Embedded Electronics Tutorials, Coding and lot more

Category: PIC microcontrollers

Motion controlled Android robot

This is the latest motion controlled robot made by me. Operating right from your android phones, tablets. Just a single movement of your hand is enough to move the robot. Also has a temperature sensor in it, which transmits temperature data to Android device via bluetooth.

An object sensor is also added for safety. So that even if the user gives false input, but the robot stops itself to collide with wall or any objects.

Sharing is caring

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 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

PC based home security system

This system can provide all data like temperature, gas , door status of your home on PC screen. All data of parameters like temperature etc are stored in database and can generate Excel file so that you can view data of any day in history you want. This system is very useful in modern houses. Here for demo i am taking 2 sensors: Gas Sensor and a Temperature sensor LM35.  The heart of the system is PIC16F887 microcontroller. It monitors both our digital Continue reading

Sharing is caring

GUI based advance product counting machine

This system is ideal for companies which have many manufacturing units.. The system mainly works to help the manufacturing unit to get data of current product quantity and to process this data. In this whole article I am taking example of a company which manufactures pipes. So here product1, product2, product3 … in this article can be circular pipe, triangular pipes, square pipes etc… Many types of pipes.

Conventionally, the company’s manufacturing plants use the product counters to count their product quantity manufactured. Normally these types of systems are equipped with 7-segment displays. Hence whenever 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: