Monday, September 23, 2013

Why enter into microcontroller?


Those who want to get a hands on (subjective - Its better to start [with something] small),
  • How hardware behaves with the help of software or vice-versa(physical computing)
  • Like to know how to deal with assembly language.
  • Learn how to write/read the OS for the microcontroller
  • Like to negate the preconceived fear of exploring something new.
  • Testing the prequisite of *being curious* and not the programming or electronic background.  
  • Like to learn in an unsupervised environment, self directed way of living.
  • Like to have a look at the through-hole mounting.
  • Can programming knowledge be used for hardware related work? 
  • Don't want to get into capacitor, resistor or soldering stuff(its a different task relegated to background for now) but do want/like to read the schematics of the board.
  • Like to see the itsy bity components on the PCB(thru-hole mounting).
  • Like to really test out how the onboard sensor works - cool.
  • Like to fry the chips with some utter nonsence :)
  • If possible get hands dirty with the bootloader that is already flashed in induino 
  • If possible flash the smallest OS in the atmega328, which could be accessed with remote shell - cool
Lets ride the possiblity with all the freedom one can have.

Monday, September 16, 2013

signs of Induino(atmega328) interacting with GNU/Linux(ubuntu 10.04)

Host machine Sw spec:
ranjit@ranjit-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
ranjit@ranjit-laptop:~$
ranjit@ranjit-laptop:~$ uname -a
Linux ranjit-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
ranjit@ranjit-laptop:~$


dmesg | tail
[ 4797.224126] usb 3-1: new full speed USB device using uhci_hcd and address 4
[ 4797.423283] usb 3-1: configuration #1 chosen from 1 choice
[ 4797.542834] usbcore: registered new interface driver usbserial
[ 4797.543928] USB Serial support registered for generic
[ 4797.544185] usbcore: registered new interface driver usbserial_generic
[ 4797.544193] usbserial: USB Serial Driver core
[ 4797.559274] USB Serial support registered for FTDI USB Serial Device
[ 4797.561619] ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
[ 4797.561800] usb 3-1: Detected FT232RL
[ 4797.561806] usb 3-1: Number of endpoints 2
[ 4797.561811] usb 3-1: Endpoint 1 MaxPacketSize 64
[ 4797.561816] usb 3-1: Endpoint 2 MaxPacketSize 64
[ 4797.561820] usb 3-1: Setting MaxPacketSize 64
[ 4797.563184] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 4797.563230] usbcore: registered new interface driver ftdi_sio
[ 4797.563235] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
user@ranjit-laptop:~$
user@ranjit-laptop:~$ ls /dev/ttyUSB0
/dev/ttyUSB0
user@ranjit-laptop:~$
user@ranjit-laptop:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 002: ID 0a5c:219c Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0ac8:c33f Z-Star Microelectronics Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
user@ranjit-laptop:~$

Sunday, September 15, 2013

Hello world - Random Notes

it's all about bare

 How to draw sine wave using Gimp visit the following link.
http://ncsu.librelab.org/2013/09/drawing-sinusoidal-wave-as-well-as.html

Lower the frequency higher the wavelength
High frequency less power short distance
Low frequency less power short distance

Any region between Point A to B(wavelength) of the low frequency is called dead zone i.e no radio signal is received in such region
Heat beats at a frequency of 120 times a min. Its period is half a second.
60/120 = 0.5 sec
period = interval between two beats.