arduinoProjects

Os Automation, AI That Can Work Like You

“ AI that work as an assistant for employees, AI that works instead of you when you are busy”

With the development of technology and AI we now see the future and also worry that AI might replace humans and even work in companies in place of human there are various works in which AI takes from human and work for them instead of humans like analyzing data and coding and many other works so is it really possible can AI really able to do work in place of us can AI work as an employee in the company. So today we will try to make such an AI that can assist us to do our tasks and automate our OS we still trying to test the possibility of the future of AI that can automate the task and work instead of us so let’s start our project with following components

Os Automation, AI That Can Work Like You
Fig1 . Raspberry pi uploading code autonomously
Os Automation, AI That Can Work Like You
Fig 2. Raspberry pi os

Bill Of Materials

Os Automation, AI That Can Work Like You

Prerequisite 

First, we need to set up the raspberry pi with latest Raspbian os after that we enable the VN and get the raspberry pi desktop on pc if you have HDMI monitor then you not need to do this. Next, we need to install the python modules and library that help us in automating the OS, and the task we set to this. We also need to install the latest python and its IDE as you installed the latest os on raspberry so it comes with pre-installed if its not pre-installed then install the python and its IDE first . Next, open the terminal and install the python modules and library using the following commands .

sudo pip3 install dlib
 sudo pip3 install opencv
 sudo pipe install guibot
 sudo pip3 install os-buttons-automations
 sudo pip3 gui-automations 
 
 
Os Automation, AI That Can Work Like You
Fig 3. installing python GUI bot

Preparing AI Bot 

For automaking the various task and the work you want your AI bot to automate you need to make the custom code here is the simple process of how to make the AI bot by using and automating my own task. So here my task is to download a certain source code then write the code in Thony IDE and test that code after that upload the code to my microcontroller here I made an AI bot that automates this task and does this work instead of me. You follow a similar process as an example and make your own AI bot that does work instead of you, you can make your bot to do monitor the EMAILS reply to the emails schedule the emails to send, or fix appointments with clients, or proe[prate and upload the various code to chip or test your various code find the errors and give the list to you there are various task that you can program your bot to do and work in place of you , 

Here we make the bot that downloads the code then uploads then run that code and test the code and upload the code in my microcontroller. SI suppose you work for firmware engineer and need to test much firmware and then need to upload the firmware to over 100 to 1000 microcontrollers or chips in this case you bot do this task instead of you your bot open the IDE test the firmware and upload the firmware to 100s of microcontroller connected to the system one by one so bot do the task instead of an employee.

So here for BOT coding first we need to import all the modules we installed earlier

Os Automation, AI That Can Work Like You
Fig 4. Importing the modules

Now We need to capture the icons and pic for the steps we do to perform the task so our AI bot does image processing learn and finds and recognizes where and what to click for the task. Here our task is to download the code and then write that cod in THoney ODE run that code test that code and then upload that code to the microcontroller SO here we need to open the web browser so we capture the web browser icon then we capture the search icon and then URL to download the code next we capture the Thoney IDE icon and run code icon and upload icon and save all this pics in the same folder where we keep the code. 

So after importing the library, we create the code that will find the browser icon on GUI thne after finding the browser icon on GUI our code makes click on that icon to opn the browser then our code searches for the download link of the code.

Next, we create the code that searches the start menu icon to open the start menu then our cod once finds this icon it looks for programming and they icon and after finding that on GUI it opens that HONEY IDE and creates the code for the microcontroller to upload 

Os Automation, AI That Can Work Like You
Fig 5. Icon
Os Automation, AI That Can Work Like You
Fig 6.The Icon that Code search on GUI

Now our code search for a run and upload icon to upload the code to microcontroller

Testing

Now our bot i ready whenever you run the code it performs the code making and testing and uploading part automatically without you need and it can upload the code as many as microcontroller where you want to upload. So your Ai bot works instead of you and upload the code to microcontrollers without you and do your task.


 

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker