Skip to main content

Posts

Convergence of Science to Machine Learning and IoT

Today while working with my friends on a project related to the dental instruments just a topic came up regarding understanding machines... Machines that implement black-box model or similar machine learning algorithms. At this very moment I had a thought. If every machine were to be equipped with a computer or an embedded system implementing such algorithms, it could easily replace humans in return eliminating human error and creating jobs in such fields (of course, AI should lack consciousness for this). By this it is clear that machine learning, in other words experiential learning can be the best solution to problems such as human error, wear and tear error, environment influenced errors, etc. But machine learning alone cannot survive as it needs data to learn and develop. Here comes Internet of Things, the data acquisition medium for the ML algorithms. Data collected from the sensor nodes needs to be accumulated or distributed among the similar type of machines with the help o...

I-Fi - Protocol for IoT

I-Fi... From my previous blog on IoT , to achieve that synchronization among devices and to achieve better data exchange standards it is advisable that any device can talk to any device without getting hacked. In this case security of network is major concern, also the communication should happen with minimum expenditure of device's energy irrespective of dependence on battery. I-Fi - What is it? It's just an acronym for "IoT - Fidelity", given by us (Pragya and me) 😋. Based on the thoughts after contemplating over the previous blog, IoT can be best observed if the communication happens over hub-node topology, here hub is required to ensure security of network (like firewall, encryption device, WiFi router), however the hub involves whenever communication between nodes or devices happen and the device-device communication is not possible in the case. So a "hybrid" hub-node topology is desired, this gave birth to the concept of I-Fi, a hybrid hub-nod...

Setting up a "User Data" drive for Raspberry Pi

Its been a while working on Raspberry Pi 2, I realized that there is a need for "User Data" drive for the RPi. So with this blog I will be sharing the procedure to make and mount a drive. To get started, its recommended to have monitor, keyboard and mouse connected to RPi. If its not available then follow my previous blog on Raspberry Pi . Connect the drive to RPi, if the drive is formatted then you can skip these steps and jump to mounting, else if the drive is not formatted then open terminal (Ctrl+atl+T), type lsblk this will list the drives attached to RPi. Find the drive to be formatted, now type sudo fdisk /dev/'your disk' replace 'your disk' with sda/sdb/sdc... whatever that you found using 'lsblk'. Be careful while entering, if you chose the mmc card the OS drive will be formatted first enter 'd' followed by 'n', hit enter 4 times and finally enter 'w'. With this you have created a new partit...

Protected Switching Power Supply for Development Boards

When I was prototyping a circuit in my college, one of the ground wire accidentally touched the positive of the power supply unit (PSU) and there by causing major damage to breadboard and PSU. This made me to develop this device that would avoid such accidents. This device uses LM2576 a switching regulator, LM317 a linear regulator, and ATMega8A for controlling the power supply unit. As this needs a real time protection, I have used OS for real time simultaneous protection. Protected Switching Power Supply: The block diagram of this device is shown below The AC step down transformer provides isolation from AC grid, the bridge rectifier and capacitor bank removes ripples to large extent, however small amount of ripples is present and this is not good for micro-controllers. In order to eliminate those ripples LM2576 is used. There is local linear voltage regulator to power the MCU, it also drives the relay and indicators. Why Operating System? As I ...

SSH Raspberry Pi 2 in Ubuntu

I am raspberry pi 2 beginner and Ubuntu user, I did not have monitor, keyboard and mouse, so how do I connect and get started? Well I surfed the web and could not find satisfactory results. If you have searched for the same query, you will be coming across "ssh raspberry pi or headless connection of raspberry pi" and "finding the IP address of RPi". For this again you will be needing tools or monitor, keyboard and mouse. Well this post will direct you to connect RPi to your Computer/PC running on Ubuntu or SSH without these tools. When you boot RPi with Raspbian OS , the "avahi-daemon" is already installed, this will provide the access to RPi with domain name <hostname>.local. Your hostname can be found in preferences>Raspberry Pi Configuration. The hostname might by abc_xyz (just an example), but in domin name it will not contain any special characters like '_', '-',... etc.. Therefore it will resemble: abcxyz.local ...

Internet of Things and It's impact

Introduction: Now we are entering into the new technological era where in near future most of the device will be 'Talking' with each other to improve the experience delivered by them.  This is called as Internet of Things, it mostly deals with M2M communication. Internet of Everything... it is the concept originated at Cisco. It is based on interaction of machines, data, processes, users, etc.. It is stylised as Internet of Things. The concept of Internet of Things was invented by and coined by Peter T. Lewis in 1985 in a speech he delivered  at FCC supported conference. Applications: As of today IoT has evolved and along with machine learning it has found its application in many fields of work. It can be employed in ubiquitous computing, real-time analysis, sensor networks, fog computing, etc. IoT plays a major role in automation which involves communication between the sensors, actuators or output devices and compute module which might or might not be integrated. A...

Preemptive Multitasking Scheduler for AVR

Hey there! Today we shall discuss about the scheduler, in this case its for AVR. During this summer vacation I was working on a project which needed multitasking to serve UI program. So I had to design a preemptive multitasking scheduler. If you ask why preemptive, I chose preemptive because there were tasks which would never terminate ( infinite loop functions ). I assume you know what multitasking is, now lets see what is scheduler and how it works... Scheduler: It is a program that schedules the execution of the tasks. When there are at least 3 or more tasks and there is a need for multitasking a scheduler needs to be implemented. It is usually written as ISR. Consider 3 tasks T1, T2, T3 namely. Assuming all tasks are of equal priority, initially the scheduler allows mcu to execute T1, after a certain or specified amount of time is elapsed the timer interrupts the execution and switches over to the ISR, before the scheduler takes over the context is saved to the ...