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
Posts tagged with electronics - page 3
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.
Serial port communication is pretty much useful and also simple to carry out. There are certain thing you need to get first.1. A microcontroller (Here Atmega328p).2. A USB2serial converter.3. A terminal software.Modern computers won’t have this rs232 serial ports. So there is no use to go for an rs232 module and get started. Only option left is to communicate through USB ports. Many microcontrollers lack USB support. So there is an easy way. Buy a USB2serial converter or use an old Nokia 1200 or 1680 USB data cable. It has a serial to USB converter. It costs only around 60Rs(India). These are old handsets.
Ever think of changing this hard red colour of your mouse? Basically I love the blue. Everyone like to have a change. Right? Ok..Optical mouse works by making use of Light Emitting Diode (LED) and photo diodes to detect the movement. It make use of the reflected light to detect movement. So if we change LED to a different colour there is a chance for not detecting the movement. It’s because for that particular circuit arrangement, it needs the specific colour so that exact current is developed in the photo diode. For most mouse it doesn’t matter. Before trying out, just make sure it works.