AODV implementation on Raspberry Pi for IOT application
As the number of devices are increasing accessing the internet wirelessly, it is creating a lot of interference and therefore, overall speed of the network is compromising. There is need for a structure where nodes communicate wirelessly to each other without any infrastructure setup, and one gatewa
2025-06-28 16:30:16 - Adil Khan
AODV implementation on Raspberry Pi for IOT application
Project Area of Specialization Information & Communication TechnologyProject SummaryAs the number of devices are increasing accessing the internet wirelessly, it is creating a lot of interference and therefore, overall speed of the network is compromising. There is need for a structure where nodes communicate wirelessly to each other without any infrastructure setup, and one gateway will lead them all to the internet. Deploying this strategy not only improve performance but also helps in managing dynamic networks. Mobile Ad hoc Networks have been available for a while now but the advances in IoT applications has made them very important as MANET nodes are independent and can route traffic for other nodes as well, thus, creating a dynamic network with improve performance but also invite some challenges. This project aims to implement a routing protocol specifically made for networks that are highly dynamic in nature and uses less resources as compared to other counterparts. The implementation prototype is made on Raspberry Pi (a single board with ample amount of processing power) using Python API “sockets”.
Project ObjectivesTo implement “Ad-Hoc Distance Vector” routing protocol revision 13 (RFC 3561) as Agent on Raspberry Pi 4 as IoT Application Node
Project Implementation MethodRaspberry Pi is single board general purpose computer with ample amount of computing power and can be used as an ultimate portable device. Raspbian OS is based on linux, therefore, utilizing the bash script, the hardware of the raspberry pi can be manipulated in different ways available. Pairing linux bash with Python script, we can perform operations that are useful in creating applications for the future. A single raspberry pi denotes a single node in the network. Combining multiple nodes can create a topology capable of transporting data over the network. Python has a huge library available to use which includes “sockets” which can be used to manipulate network agents as per the user needs. Using the socket API and draft for AODV, we can create a node capable of routing over an unorganized network.
At least 5 nodes will make an un-organized, self-healing network for IoT applications that can transport useful information.
Benefits of the ProjectThe project can be used to configure any device as an IoT router to transfer information without any infrastructure by implementing routing protocol as a software agent. The following are the beneficiaries sectors
- Industrial and Agricultural Sensor Networks
- Smart Grid and Smart Cities
- Network Monitoring Systems
- Bio-medical application.
- Military & Secured Communication.
- Wireless Handset-to-Handset Communication.
A mobile ad hoc routing protocol implemented on raspberry pi which can be replicated to any general purpose device running any flavor of linux including PCs, mobile devices, PDAs etc.
Routing Protocol will be able to create a dynamic path based on its location relative to the other nodes to deliver the message efficiently as compared to other routing protocols including DSDV or DSR
Final Deliverable of the Project HW/SW integrated systemCore Industry TelecommunicationOther Industries IT Core Technology Internet of Things (IoT)Other Technologies OthersSustainable Development Goals Quality EducationRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 80000 | |||
| Raspbeery Pi 4 2 GB | Equipment | 3 | 16250 | 48750 |
| SD Card Kingston Class 10 16 GB | Equipment | 2 | 1100 | 2200 |
| Raspberry Pi LCD 7 inch | Equipment | 1 | 14500 | 14500 |
| Power Bank Anker Power core 26800 | Equipment | 1 | 4550 | 4550 |
| Miscellaneous Poster+ Hdmi cable, Raspberry Pi Heat Sink | Miscellaneous | 1 | 10000 | 10000 |