Embedded Electronics Tutorials, Coding and lot more

Tag: rs232

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

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

© 2023 EMBEDDED TWEAKS

Theme by Anders NorenUp ↑

Follow Me

Get the latest posts right delivered in you mailbox

%d bloggers like this: