Science on a Stick, as the name suggests, it is an experimental setup based on Python and Arduino, was developed to verify various laws of Physics such as Lenz's Law, Faraday's Law and Laws of Motion.
We have provided schematics of circuits and code for this project.
Click here to download Arduino IDE.
To download Python IDE, click here.
Note:- t would be preferable to download the latest version Python2.7.
Windows 10 and Windows 8
-
In Search, search for and then select: System (Control Panel)
-
Click the Advanced system settings link.
-
Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
-
In the Edit System Variable (or New System Variable) window, specify the value (location of the folder where python installed) of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
-
Open Command prompt window, and run following command:
python --version pip --version
If pip is not installed in your laptop, refer this.
open Command prompt or terminal and run this command
pip install pyserial
pip install matplotlib
pip install numpy
Download Eagle (PCB design software) from this link.
Open the given board layouts and fabricate them. The schematic folder has three schematics and their board layouts.
!! More than 1000 turns (36 gauge copper wire) of coil winding can destroy the circuit
Set the experimental tube as shown in picture.
-
open Arduino IDE and upload
Laws_of_Motion
code. -
For law's motion open the serial monitor and enter values asked by monitor.
Set the experimental setup as shown in picture.
-
Open Arduino IDE and upload
Lenz_s_Law_Arduino
code. -
Open python code and change com port value(in Windows its
com5
, in Linux its/dev/ttyUSB0
)arduinoData=serial.Serial('com5',115200)
-
Open Command prompt or terminal and change current working directory to directory of this python code using
cd <complete-path>
-
Run python code by the following command
python "Lenz's_Law_Python.py"
This experimental setup is developed under the guidance of Prof. D.V. Gadre, Director CEDT, NSUT.