A small chip is boon to IoT lover....small,cheap and simple..
- Get link
- X
- Other Apps

But it getting hectic when you just want to read the parameter just by a single sensor or what to play with some LED. Arduino mini and micro version are good for these project but these are not that much smaller to accommodate in a small space and more thing we need to consider is its power consumption.
In this situation, we have a small microcontroller which can solve the problem of space and power and this is ATtiny 85. But every good thing has some problems too. And this microcontroller is not that much popular due to its way of programming just like Arduino and other development board. It also has 8kb of memory which is not that much to give the extra room for the bootloader and that is why we need to program this chip externally. There are so many ways to program this chip. One easy way is by using Tiny AVR Programming kit but you can programme the same with the help of Arduino Uno too.

ATTiny 85 having 8 pins,So as per the module the Pins are as follows…
1.Reset2.Analog Input 3 ref as 33.Analog input 2 ref as 44.Ground5.PWM/AREF/MOSI ref as 06.PWM/MISO ref as 17.Analog input 1 ref as 28.Vcc(5 v)
This small chip has two analog outputs and three analog inputs and good thing is, we can use the analog pin for Pulse Width Modulation(PWM) where pin no 8 is VCC, pin no 4 is ground and pin no 1 for reset.
So if we want to write the code in Arduino IDE for spinning a brushless motor of the small plane then the code will look like….
int PWM_PIN = 0;To make the IoT project simple, small and cheap we can use this small wonder. Its a boon for the IoT lover and geek like me. Stay tune, share like and comments if you like it…..see you next time.
pinMode(PWM_PIN, OUTPUT);
for (int i=0; i<=255; i++)
{
analogWrite(pwmPin, i);
delay(10);
}
-
Program for Hand sanitizer dispenser using Arduino and Servo
-
Hadoop installation Guide (Step by Step) Pre-install Version
-
Face Recognition using Python | Face_Recognition Library Explain
-
Data Wrangling Better than ETL ?
-
5 Apps for Parents to keep child safer
-
Five Way to live a happy life
-
Hbase Installation Step by Step with professional way
-
How to install hadoop in just 10 minute ultra fast way.
-
1. Hadoop Installation on a)Single Node b)Multiple Node
-
314457 : SOFTWARE LABORATORY – VI
- Get link
- X
- Other Apps
Comments
Post a Comment