EMBEDDED TWEAKS

Embedded Electronics Tutorials, Coding and lot more

Tag: serial

Arduino: Accessing the internal EEPROM of Atmega8/328

Sometimes we need some data or variable values to be retained back even after the system is turned off. So as soon as we again start back the system  we need to know the previous values of some elements to identify the state of the system at shut down. So that now we can resume directly from that state only, not the initial state.  In many cases this is required.

SONY DSC

 

  • In GSM based devices,  To save the custom mobile number of user which is being changed sometimes.
  •  For sensor interfacing examples, if we want to create a log of frequent values then we can also use to store values one by one with some by time delay . And so can get whole data logged.

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

Accessing PC serial port in Visual Basic

All of the electronics engineering students mostly want to create something which has a nice GUI control for their device. But they see softwares like VB6, VB.NET as pure software language. On the other side, Computer engineering students see also these software as pure GUI. Electronics geeks know the hardware and computer geeks know software. But Actually these languages such as VB6, VB.NET, Java can provide us very useful features to control our hardware connected to PCs. Here i am presenting a very basic tutorial to access serial port of PC in the VB6 software.

We will create the GUI (Graphical User Interface) which contains some buttons. Pressing them we can send some data to our PC’s serial port. Though it is a very basic tutorial but this is a must learn step. Further you can receive, send, monitor data, take some 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

Implementing hardware level security to your softwares

Generally we set log in screens in our applications through which we can enter the details and get access. But some times we fear that if the password and id are lost or stolen then unauthorized user will access the system. Hence here i am suggesting a new idea to improve security. I am adding the hardware level security. I am using 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: