Sunday 7 February 2016

Concept of Floating Point in Electronics

Basic Knowledge

Kind of microcontrollers in the market
1.       Launchpad –it uses same language as Arduino
Arduino ---Rs 600/-
Beagle Bone
Intel Galileo–Rs 3000/-

Above Microcontrollers have inbuilt Bootloder in it

Oldest Microcontroller
1.       Intel 8051 –No Inbuilt Clock
2.       Atmel 8051—It has inbuilt Clock

In these Microcontroller we have to buy dedicated ISP Bootloader
·         
  •       Microcontrollers are build for specific tasks only.
  •          But Microprocessor like intel i7 ,raspberry pi are made for performing many tasks as they have huge Ram,Rom and other specifications
concept of floating point is hidden in the question that i have asked below
Why in Microcontroller Sometime we need 10k pull up resistor when we are interfacing push button with led?

Ans: as otherwise it will have floating point error which gernally occur due to random waves of 58Hz-60 Hz frequencies that are naturally present in the room.in floating point error these  wave frequencies comes in the input as well as output ports of the electronic boards like arduino,raspberrypi etc or u can say these pins experience a kind of noise and thus when even only led is interfaced or  push botton  with led is interfaced then  then led keeps on getting high and low unexpectedly  due to this noise. 



Well,Arduino and Launchpad have their own pull up resistor you have just change your code in setup function while defining push up button pin as pinMode(buttonPin,INPUT_PULLUP); instead of pinMode(buttonPin,INPUT);
Side Knowledge I want to give if u want to track your values on screen you can also write serial.begin(9600) in your setup function