Ananth's Blog - page 14

Posts

How to hide and unhide files in Linux?

If you are new to linux OS, it’s a common mistake to add a (.) in front of your files and suddenly the file disappears. In Linux filenames starting with a dot (.) are hidden. You can intentionally make a folder or file hidden by renaming it.mv filename .filename If you want to view you hidden files or folders, first go to the location where the file resides using cd command.

Linux: How to find your serial (any connected) device?

In Linux all devices that are connected to the system are listed in/dev If you connect your mouse to your system it will detect it as hidraw. Other serial devices will be named as tty0, tty1,etc. So if you connect a serial (any) device and you want to know it’s name ( for ex: you want to connect it via minicom ), first go to /dev using

Serial Port Communication in Linux using Minicom

First of all install minicom using

www.ieeegecskp.in

After a weeks hard work www.ieeegecskp.in is now up and running.This site was designed for the IEEE Student Branch wing of my college (Govt. Eng College Sreekrishnapuram).

Use Matlab to read serial data

Matlab can be configured to read serial data that can be send through a microcontroller. Here is the code for Matlab to read a single line and print. Assume that you are sending ascii character values through microcontroller separated by new line.Here is the Matlab code to receive the data.