![]() Modify the python script, upload the code to the arduino, run the python script send an email to yourself.This application is compatible with Gmail for Android (versions for Ice Cream Sandwitch and higher).ĪPP IS WORKING FINE, YOU ONLY NEED TO CONFIGURE IT AND SWYPE THE TOP-RIGHT SWITCH TO "ON" MANUALLY IN ORDER TO ENABLE THE APP *The steps for the Windows and Mac users are the same. You can now take the pencil and draw whatever you want.Or you can let your kid do it. Continue and go to your gmail, send an email to yourself and you will see the servo moving.Then read that email and you will see the servo moves to its previous place. Cd to your folder with your ardumail.py file and execute sudo python ardumail.py. Upload the arduino code and open a terminal. It checks if the serial port is available, then if the value is 0 moves the servo 170 degrees and if the value is 1 moves the servo 90 degrees. Save and exit the python script and continue with theĪrduino code. Open the arduino IDE and look down in your right you will see it.Ģ & 3.obj.login(' ' *********') at the first field you must enter your email address and at the second field add your password. We must change 3 things:ġ.ser = serial.Serial(' /dev/ttyACM0', 9600) this is where your seial port goes. ![]() ![]() ![]() ![]() Use a text editor and open the file ardumail.py.(for example i used the command sudo nano ardumail.py). Open a terminal and cd to your folder where you download the ardumail zip from the github in step 3. I am using a Linux based system and it is much easier for me to use the command line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |