diff --git a/public/_images/thonny_first_interface.jpg b/public/_images/thonny_first_interface.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1456c9172429ec3676a9485707b557df4315b26f Binary files /dev/null and b/public/_images/thonny_first_interface.jpg differ diff --git a/public/_images/thonny_interpreter.jpg b/public/_images/thonny_interpreter.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5f26cae69409d11217ad8fcb1b963e35983e2e2c Binary files /dev/null and b/public/_images/thonny_interpreter.jpg differ diff --git a/public/_images/thonny_interpreter_folder.jpg b/public/_images/thonny_interpreter_folder.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bf330b00f2fef20510550cbb71390b39c81ad516 Binary files /dev/null and b/public/_images/thonny_interpreter_folder.jpg differ diff --git a/public/_images/thonny_option.jpg b/public/_images/thonny_option.jpg new file mode 100644 index 0000000000000000000000000000000000000000..086f1f77e675b97dabcc02d1607bd478837ceb0f Binary files /dev/null and b/public/_images/thonny_option.jpg differ diff --git a/public/_sources/page1.rst.txt b/public/_sources/page1.rst.txt index a44bedf9065f906458e66ce2f4fba58d8f64488f..e8160c713935b561d5dedff781767b04c8bf6b00 100644 --- a/public/_sources/page1.rst.txt +++ b/public/_sources/page1.rst.txt @@ -36,8 +36,10 @@ Technical data |Resolution |O.O1 |ohm | +-------------------------------+--------------------+-----------+ -OS installation on a Raspberry Pi +Raspberry Pi configuration ****************************************** +OS installation +================ The first step is to start up the Raspberry Pi board, including installation of an OS (operating system). For this step, the installation instructions are well described on the Raspberry website @@ -57,7 +59,7 @@ Raspbian GUI settings menu. Failure to carry out this task may cause damage to t :figclass: align-center Virtual Environnement and packages -*********************************************** +================================== All dependencies are specified in requirements.txt @@ -104,12 +106,58 @@ to leave the virtual environment simply type: deactivate -Running thonny on Rapberry Pi -************************************************************************** +Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi) +====================================================================== +If you decided to use a virtual environment, it is necessary to setup Thonny Python IDE the first time you use it. +1- Run the Thonny Python IDE software, Click on raspebrry acces **menu > programming> Thonny pythonIDE** -Construction of the measurement board and connection to the Raspberry +2- Thonny's interface opens, Python runs on the Root (Python 3.7.3 (/usr/bin/python3)) + +.. figure:: thonny_first_interface.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +3-Click on **Run>select interpreter**, a new window opens click on interpret + +.. figure:: thonny_option.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +4-On the new open windows select **alternative Pyhton3 or virtual environnement** + +.. figure:: thonny_interpreter.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +5- New buttons appeared, selected **"locate another python executable "** + +6- A new window opens, find the folder where there is the python 3 file in the virtual environment folder previously created **/home/pi/ohmpi/bin/python3**. + +7- In the **known interpreter** tab the path of the virtual environnementshould appear + +.. figure:: thonny_interpreter_folder.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +8- Close the window by clicking on **ok**. +9- Close thonny to save modifications + + +Measurement and Injection board and connection to the Raspberry ************************************************************************** Electrical resistivity measurements @@ -194,7 +242,7 @@ place a fuse holder with a 1.5-A fuse for safety purposes. Measurement board installation with Raspberry Pi Current injection -****************** +================= To carry out the electrical resistivity measurement, the first step consists of injecting current into the ground. In our case, a simple 12-V lead-acid battery is used to create an electrical potential difference that results @@ -218,6 +266,13 @@ they remain in the normally closed position. This set-up offers a simple and rob Wiring of the 4-channel relay module board for current injection management +Frist four electrodes resistivity mesurement +============================================ + + +Under construction describe the way vlide the first part of the instruction. +Electrical resistivity measurement on test circuit + Multiplexer implentation ************************* diff --git a/public/index.html b/public/index.html index 422784368efdc8ddeeca66121b7fc19f302a861b..b29555534f226ea9f887d95f72483691e41a84c7 100644 --- a/public/index.html +++ b/public/index.html @@ -190,11 +190,8 @@ <li class="toctree-l1"><a class="reference internal" href="page1.html">OhmPi V 1.01 (limited to 32 electrodes)</a><ul> <li class="toctree-l2"><a class="reference internal" href="page1.html#the-philosophy-of-ohmpi">The philosophy of Ohmpi</a></li> <li class="toctree-l2"><a class="reference internal" href="page1.html#technical-data">Technical data</a></li> -<li class="toctree-l2"><a class="reference internal" href="page1.html#os-installation-on-a-raspberry-pi">OS installation on a Raspberry Pi</a></li> -<li class="toctree-l2"><a class="reference internal" href="page1.html#virtual-environnement-and-packages">Virtual Environnement and packages</a></li> -<li class="toctree-l2"><a class="reference internal" href="page1.html#running-thonny-on-rapberry-pi">Running thonny on Rapberry Pi</a></li> -<li class="toctree-l2"><a class="reference internal" href="page1.html#construction-of-the-measurement-board-and-connection-to-the-raspberry">Construction of the measurement board and connection to the Raspberry</a></li> -<li class="toctree-l2"><a class="reference internal" href="page1.html#current-injection">Current injection</a></li> +<li class="toctree-l2"><a class="reference internal" href="page1.html#raspberry-pi-configuration">Raspberry Pi configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="page1.html#measurement-and-injection-board-and-connection-to-the-raspberry">Measurement and Injection board and connection to the Raspberry</a></li> <li class="toctree-l2"><a class="reference internal" href="page1.html#multiplexer-implentation">Multiplexer implentation</a></li> <li class="toctree-l2"><a class="reference internal" href="page1.html#electrode-connection">Electrode connection</a></li> <li class="toctree-l2"><a class="reference internal" href="page1.html#operating-instruction">Operating instruction</a></li> diff --git a/public/page1.html b/public/page1.html index 0ad9dbe8e5efbcf6ce65099402e84084903fb087..22acb500e0ce4fe10f2b1872767e63b83b30706b 100644 --- a/public/page1.html +++ b/public/page1.html @@ -86,15 +86,19 @@ <li class="toctree-l1 current"><a class="current reference internal" href="#">OhmPi V 1.01 (limited to 32 electrodes)</a><ul> <li class="toctree-l2"><a class="reference internal" href="#the-philosophy-of-ohmpi">The philosophy of Ohmpi</a></li> <li class="toctree-l2"><a class="reference internal" href="#technical-data">Technical data</a></li> -<li class="toctree-l2"><a class="reference internal" href="#os-installation-on-a-raspberry-pi">OS installation on a Raspberry Pi</a></li> -<li class="toctree-l2"><a class="reference internal" href="#virtual-environnement-and-packages">Virtual Environnement and packages</a></li> -<li class="toctree-l2"><a class="reference internal" href="#running-thonny-on-rapberry-pi">Running thonny on Rapberry Pi</a></li> -<li class="toctree-l2"><a class="reference internal" href="#construction-of-the-measurement-board-and-connection-to-the-raspberry">Construction of the measurement board and connection to the Raspberry</a><ul> +<li class="toctree-l2"><a class="reference internal" href="#raspberry-pi-configuration">Raspberry Pi configuration</a><ul> +<li class="toctree-l3"><a class="reference internal" href="#os-installation">OS installation</a></li> +<li class="toctree-l3"><a class="reference internal" href="#virtual-environnement-and-packages">Virtual Environnement and packages</a></li> +<li class="toctree-l3"><a class="reference internal" href="#activate-virtual-environnement-on-thonny-python-ide-on-rapberry-pi">Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi)</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="#measurement-and-injection-board-and-connection-to-the-raspberry">Measurement and Injection board and connection to the Raspberry</a><ul> <li class="toctree-l3"><a class="reference internal" href="#electrical-resistivity-measurements">Electrical resistivity measurements</a></li> <li class="toctree-l3"><a class="reference internal" href="#implementation">Implementation</a></li> +<li class="toctree-l3"><a class="reference internal" href="#current-injection">Current injection</a></li> +<li class="toctree-l3"><a class="reference internal" href="#frist-four-electrodes-resistivity-mesurement">Frist four electrodes resistivity mesurement</a></li> </ul> </li> -<li class="toctree-l2"><a class="reference internal" href="#current-injection">Current injection</a></li> <li class="toctree-l2"><a class="reference internal" href="#multiplexer-implentation">Multiplexer implentation</a></li> <li class="toctree-l2"><a class="reference internal" href="#electrode-connection">Electrode connection</a></li> <li class="toctree-l2"><a class="reference internal" href="#operating-instruction">Operating instruction</a><ul> @@ -235,8 +239,10 @@ control system</p></td> </tbody> </table> </div> -<div class="section" id="os-installation-on-a-raspberry-pi"> -<h2>OS installation on a Raspberry Pi<a class="headerlink" href="#os-installation-on-a-raspberry-pi" title="Permalink to this headline">¶</a></h2> +<div class="section" id="raspberry-pi-configuration"> +<h2>Raspberry Pi configuration<a class="headerlink" href="#raspberry-pi-configuration" title="Permalink to this headline">¶</a></h2> +<div class="section" id="os-installation"> +<h3>OS installation<a class="headerlink" href="#os-installation" title="Permalink to this headline">¶</a></h3> <p>The first step is to start up the Raspberry Pi board, including installation of an OS (operating system). For this step, the installation instructions are well described on the Raspberry website <a class="reference external" href="https://www.raspberrypi.org/help/noobs-setup/2/">https://www.raspberrypi.org/help/noobs-setup/2/</a>). The authors recommend installing the latest @@ -252,7 +258,7 @@ Raspbian GUI settings menu. Failure to carry out this task may cause damage to t </div> </div> <div class="section" id="virtual-environnement-and-packages"> -<h2>Virtual Environnement and packages<a class="headerlink" href="#virtual-environnement-and-packages" title="Permalink to this headline">¶</a></h2> +<h3>Virtual Environnement and packages<a class="headerlink" href="#virtual-environnement-and-packages" title="Permalink to this headline">¶</a></h3> <p>All dependencies are specified in requirements.txt</p> <div class="admonition note"> <p class="admonition-title">Note</p> @@ -285,11 +291,34 @@ to leave the virtual environment simply type:</p> </pre></div> </div> </div> -<div class="section" id="running-thonny-on-rapberry-pi"> -<h2>Running thonny on Rapberry Pi<a class="headerlink" href="#running-thonny-on-rapberry-pi" title="Permalink to this headline">¶</a></h2> +<div class="section" id="activate-virtual-environnement-on-thonny-python-ide-on-rapberry-pi"> +<h3>Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi)<a class="headerlink" href="#activate-virtual-environnement-on-thonny-python-ide-on-rapberry-pi" title="Permalink to this headline">¶</a></h3> +<p>If you decided to use a virtual environment, it is necessary to setup Thonny Python IDE the first time you use it.</p> +<p>1- Run the Thonny Python IDE software, Click on raspebrry acces <strong>menu > programming> Thonny pythonIDE</strong></p> +<p>2- Thonny’s interface opens, Python runs on the Root (Python 3.7.3 (/usr/bin/python3))</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_first_interface.jpg"><img alt="alternate text" src="_images/thonny_first_interface.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>3-Click on <strong>Run>select interpreter</strong>, a new window opens click on interpret</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_option.jpg"><img alt="alternate text" src="_images/thonny_option.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>4-On the new open windows select <strong>alternative Pyhton3 or virtual environnement</strong></p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_interpreter.jpg"><img alt="alternate text" src="_images/thonny_interpreter.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>5- New buttons appeared, selected <strong>“locate another python executable “</strong></p> +<p>6- A new window opens, find the folder where there is the python 3 file in the virtual environment folder previously created <strong>/home/pi/ohmpi/bin/python3</strong>.</p> +<p>7- In the <strong>known interpreter</strong> tab the path of the virtual environnementshould appear</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_interpreter_folder.jpg"><img alt="alternate text" src="_images/thonny_interpreter_folder.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>8- Close the window by clicking on <strong>ok</strong>. +9- Close thonny to save modifications</p> +</div> </div> -<div class="section" id="construction-of-the-measurement-board-and-connection-to-the-raspberry"> -<h2>Construction of the measurement board and connection to the Raspberry<a class="headerlink" href="#construction-of-the-measurement-board-and-connection-to-the-raspberry" title="Permalink to this headline">¶</a></h2> +<div class="section" id="measurement-and-injection-board-and-connection-to-the-raspberry"> +<h2>Measurement and Injection board and connection to the Raspberry<a class="headerlink" href="#measurement-and-injection-board-and-connection-to-the-raspberry" title="Permalink to this headline">¶</a></h2> <div class="section" id="electrical-resistivity-measurements"> <h3>Electrical resistivity measurements<a class="headerlink" href="#electrical-resistivity-measurements" title="Permalink to this headline">¶</a></h3> <p>To measure electrical resistivity with Raspberry Pi, an ADS1115 was introduced, as proposed by Florsch [7]. The ADS1115 @@ -353,9 +382,8 @@ place a fuse holder with a 1.5-A fuse for safety purposes.</p> <p class="caption"><span class="caption-text">Measurement board installation with Raspberry Pi</span><a class="headerlink" href="#id3" title="Permalink to this image">¶</a></p> </div> </div> -</div> <div class="section" id="current-injection"> -<h2>Current injection<a class="headerlink" href="#current-injection" title="Permalink to this headline">¶</a></h2> +<h3>Current injection<a class="headerlink" href="#current-injection" title="Permalink to this headline">¶</a></h3> <p>To carry out the electrical resistivity measurement, the first step consists of injecting current into the ground. In our case, a simple 12-V lead-acid battery is used to create an electrical potential difference that results in current circulating into the ground. The current is injected through electrodes A and B (see Fig. 2). This @@ -372,6 +400,12 @@ they remain in the normally closed position. This set-up offers a simple and rob <p class="caption"><span class="caption-text">Wiring of the 4-channel relay module board for current injection management</span><a class="headerlink" href="#id4" title="Permalink to this image">¶</a></p> </div> </div> +<div class="section" id="frist-four-electrodes-resistivity-mesurement"> +<h3>Frist four electrodes resistivity mesurement<a class="headerlink" href="#frist-four-electrodes-resistivity-mesurement" title="Permalink to this headline">¶</a></h3> +<p>Under construction describe the way vlide the first part of the instruction. +Electrical resistivity measurement on test circuit</p> +</div> +</div> <div class="section" id="multiplexer-implentation"> <h2>Multiplexer implentation<a class="headerlink" href="#multiplexer-implentation" title="Permalink to this headline">¶</a></h2> <p>The resistivity measurement is conducted on four terminals (A, B, M and N). The user could perform each measurement diff --git a/public/searchindex.js b/public/searchindex.js index 54f6fd7eda8cfe8f4ed4e7aca14781c24803fecd..6961d1358ba30837007f5ea6bf7bf3d0108e38d7 100644 --- a/public/searchindex.js +++ b/public/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["index","page0","page1"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","page0.rst","page1.rst"],objects:{},objnames:{},objtypes:{},terms:{"400px":[],"800px":[],"ao\u00fbt":1,"case":2,"cr\u00e9er":[],"d\u00e9mo":[],"esp\u00e8r":[],"final":2,"function":[1,2],"h\u00e9l\u00e8ne":[0,1],"justifi\u00e9":[],"mm\u00b2":2,"orl\u00e9an":1,"pr\u00e9sent":[],"pr\u00e9sentat":[],"premi\u00e8r":[],"r\u00e9mi":[0,1],"switch":2,"universit\u00e9":1,ADS:2,For:2,IGE:1,Its:2,The:0,These:2,With:2,abmn:2,abov:2,access:2,accord:2,accur:2,accuraci:2,acid:2,activ:2,actual:2,adafruit:2,adapt:2,adc:2,added:2,adding:2,addit:2,address:2,adjust:2,administr:[],ads1115:2,ads115:2,ads1x15:2,after:2,align:[],all:2,allow:[1,2],alp:1,also:2,alt:[],altern:[],amplifi:2,analog:2,ani:2,appli:2,apt:2,arrai:2,articl:[],assembl:2,assist:2,associ:1,attent:2,attribut:2,aug:[],author:[0,1,2],automat:[1,2],automobil:2,avail:2,bank:2,barbeau:[],base:2,basic:1,batteri:2,been:2,befor:2,behavior:2,being:2,below:2,between:2,bin:2,bit:2,black:2,blinka:2,block:2,blue:2,board:0,both:2,bridg:2,c_1:[],c_2:[],cabl:2,calcul:2,calibr:2,call:1,can:2,cap:2,capac:2,caption:[],card:2,carri:2,caus:2,ceci:[],cedex:1,cela:[],center:[],channel:2,characterist:2,charg:2,check:2,chosen:2,christoph:[],circuit:2,circuitpython:2,circul:2,clean:2,clement:[0,1],close:2,code:2,cokela:[],command:2,commerci:2,common:2,commun:1,complet:2,compon:2,comput:2,conduct:2,configur:2,connect:0,connector:2,consequ:2,consist:2,constitut:2,construct:0,consult:[],consumpt:2,contact:2,contain:2,content:0,control:2,convert:2,correct:2,cos:[],cost:1,could:2,cpu:2,creat:2,creation:1,csv:2,current:[0,1],damag:2,daniel:[],data:0,date:[0,1],deactiv:2,delai:2,deliv:2,demo:[],depend:2,describ:2,design:2,despit:2,dev:2,develop:[0,1,2],diagram:2,differ:2,digit:2,din:2,direct:2,directli:2,directori:2,disconnect:2,displai:2,distanc:2,disturb:2,divid:2,dkfjshkdfh:[],doc:[],document:1,done:2,download:2,dual:2,duboi:[0,1],durat:2,dure:2,dzwb4:2,each:2,eiffel:1,either:2,electr:[],electrod:[0,1],electron:2,enabl:2,end:2,energ:2,enough:2,ensur:2,entir:2,environ:2,environn:0,equal:2,equival:2,eric:[],ert:2,est:[],estim:2,everyon:1,exampl:2,excess:2,execut:2,experi:[1,2],extra:2,failur:2,fair:[],fargier:[0,1],featur:[],femal:2,fewer:2,field:2,fig:2,figclass:[],figur:2,file:2,first:2,flexibl:1,florsch:2,flow:2,folder:2,follow:2,fonctionn:[],formul:[],forquet:[0,1],four:2,framework:2,franc:1,from:2,full:2,fulli:1,fuse:2,gain:2,ganc:[0,1],gather:2,gener:[0,2],ger:1,get:[1,2],gitlab:2,gpio:2,grenobl:1,ground:2,gui:2,guidelin:0,gustav:1,guyard:[0,1],had:2,hand:2,handl:2,hardwar:[1,2],hardwareresist:[],has:2,have:2,hazard:2,header:2,hear:2,height:[],help:2,high:2,holder:2,hole:2,horizont:2,hous:2,how:2,howev:2,http:2,ifsttar:1,illustr:2,imag:[],imped:2,implement:[],implent:0,inastal:[],includ:2,incom:2,increas:2,inde:2,index:[],inform:[],inject:[0,1],injection_dur:2,input:2,inra:1,insert:2,insid:2,instal:0,instead:2,instruct:0,instrument:1,intens:2,introduc:2,introduct:0,introduir:[],invit:[],involv:1,ion:2,iri:1,irstea:2,jpg:[],juillet:1,julien:[0,1],justifi:[],keyboard:2,kjsdfhksdgfjksdf:[],kohm:2,laboratori:2,lastli:2,latest:2,lead:2,leav:2,length:2,less:2,let:2,libatla:2,librari:2,lie:2,lien:[],like:[],limit:0,line:2,lineno:[],list:2,lithium:2,lm358n:2,locat:2,logger:2,logo:[],logo_inra:[],logo_univ_gustav:[],low:[1,2],lying:2,lyon:1,made:2,mai:2,main:2,make:2,manag:2,manual:2,manuscript:2,master:2,matur:0,maxdepth:[],maximum:2,measur:[0,1],mechan:2,meet:2,mega:2,menu:2,met:2,meter:[1,2],meterfeatur:1,micro:2,mimic:2,min:2,model:2,modifi:2,modul:2,mohm:2,monitor:2,moreov:2,moscardi:[],mount:2,mous:2,multi:2,multiplex:[0,1],multipli:2,must:2,mux:2,name:2,nb_electrod:2,nbr_mea:2,necessari:2,need:2,neg:2,next:2,nicola:[0,1],noob:2,normal:2,note:2,notr:[],nov:0,now:2,number:2,numer:2,numpi:2,obtain:2,offcial:0,offer:2,officiel:[],ohm:2,ohmpi:[],onc:2,one:2,onli:[],onto:2,open:[1,2],oper:0,optim:2,option:2,order:2,org:2,osf:2,other:2,our:2,out:2,output:2,packag:0,page0:[],page1:[],page:[],pai:2,panda:2,paramet:[],parl:[],part:2,parten:1,pcb:2,per:2,perform:[1,2],permut:2,peu:[],philosophi:[0,1],pin1:[],pin:2,pip:2,pitch:2,place:2,pleas:2,plu:[],plug:2,png:[],point:2,polar:2,pole:2,posit:2,possibl:2,potenti:2,pour:[],power:2,practic:2,pradal:[],precis:2,prefer:2,prepar:2,present:[1,2],previous:2,print:2,procedur:[],produc:2,progress:[0,1],project:0,propos:2,protocol:2,provid:[1,2],puls:2,purpos:2,python3:2,python:2,quadripol:2,quadrupol:2,que:[],r10:2,r11:2,r12:2,rail:2,rang:2,rapberri:0,raspberri:0,raspberrypi:2,raspbian:2,raspbian_vers:[],readm:2,recommend:2,reduct:2,refer:2,relai:2,relat:[],releas:0,remain:2,rememb:2,remot:2,repeat:2,repetit:2,repositori:2,repres:2,requir:2,research:0,resist:[0,1],resistor:2,resolut:2,respect:2,result:2,revers:2,reversa:[1,2],robust:[1,2],role:2,rpi:2,rro:1,run:0,safeti:2,same:2,scale:1,schemat:2,scienc:2,scientif:1,screen:2,screw:2,search:[],second:2,section:2,see:2,select:2,sequenc:2,sequence_delai:2,seri:2,serv:2,set:2,setup:2,sever:2,shield:2,shortcut:2,should:2,show:2,shown:2,signal:2,simpl:2,simpli:2,simultan:2,singl:2,site:[],small:[1,2],smaller:2,softwar:2,soil:2,solder:2,solut:2,some:[0,2],sound:2,sourc:[1,2],specif:2,specifi:2,sphinx:[],stabl:2,stack:2,stainless:2,start:2,statu:[0,1],steel:2,step:2,still:2,storag:2,strip:2,strong:2,stronger:2,strongli:2,stuck:2,studi:2,style:[],subject:2,sudo:2,suffici:2,suggest:2,suitabl:2,sum:2,sum_:[],suppli:2,sur:[],surfac:1,system:2,tabl:2,target:0,task:2,technic:0,temperatur:2,ten:2,termin:2,test:2,text:[],than:2,thei:2,therefor:2,thi:[1,2],thoma:[],thonni:0,thousand:2,three:2,through:2,thu:2,time:2,toctre:[],togeth:2,tool:1,total:2,track:2,turn:2,tutori:0,two:2,txt:2,type:2,typic:2,unit:2,univ:1,unzip:2,updat:1,upping:2,use:2,used:2,user:[0,2],using:2,valu:2,variou:2,venv:2,version:2,vertic:2,via:2,villeurbann:1,virtual:0,vise:[],vivien:[0,1],voici:[],voltag:2,voltmet:2,vou:[],weaker:2,websit:2,welcom:1,well:2,were:2,when:2,which:2,whose:2,width:[],willing:1,wire:2,within:2,without:2,would:2,www:2,x_n:[],yannick:[0,1],you:2},titles:["OHMPI: Open source and open hardware resitivity-meter","<strong>OhmPi project</strong>","OhmPi V 1.01 (limited to 32 electrodes)"],titleterms:{The:2,bienvenu:[],board:2,center:0,cett:[],connect:2,construct:2,current:2,data:2,descript:2,document:0,electr:2,electrod:2,environn:2,formul:[],hardwar:0,imag:[],implement:2,implent:2,inastal:[],indic:[],initi:2,inject:2,instal:2,instruct:2,introduct:1,lien:[],limit:2,measur:2,meter:0,modif:[],multiplex:2,ohmpi:[0,1,2],onli:2,open:0,openalea:[],oper:2,packag:2,page:[],paramet:2,philosophi:2,preliminari:2,procedur:2,project:1,rapberri:2,raspberri:2,resist:2,resit:0,run:2,second:[],sourc:0,startup:2,summari:0,sur:[],tabl:[],technic:2,text:[],thonni:2,virtual:2,welcom:[]}}) \ No newline at end of file +Search.setIndex({docnames:["index","page0","page1"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","page0.rst","page1.rst"],objects:{},objnames:{},objtypes:{},terms:{"400px":[],"800px":[],"ao\u00fbt":1,"case":2,"cr\u00e9er":[],"d\u00e9mo":[],"esp\u00e8r":[],"final":2,"function":[1,2],"h\u00e9l\u00e8ne":[0,1],"justifi\u00e9":[],"mm\u00b2":2,"new":2,"orl\u00e9an":1,"pr\u00e9sent":[],"pr\u00e9sentat":[],"premi\u00e8r":[],"r\u00e9mi":[0,1],"switch":2,"universit\u00e9":1,ADS:2,For:2,IDE:[],IGE:1,Its:2,The:0,These:2,With:2,abmn:2,abov:2,acc:2,access:2,accord:2,accur:2,accuraci:2,acid:2,activ:[],actual:2,adafruit:2,adapt:2,adc:2,added:2,adding:2,addit:2,address:2,adjust:2,administr:[],ads1115:2,ads115:2,ads1x15:2,after:2,align:[],all:2,allow:[1,2],alp:1,also:2,alt:[],altern:2,amplifi:2,analog:2,ani:2,anoth:2,appear:2,appli:2,apt:2,arrai:2,articl:[],assembl:2,assist:2,associ:1,attent:2,attribut:2,aug:[],author:[0,1,2],automat:[1,2],automobil:2,avail:2,bank:2,barbeau:[],base:2,basic:1,batteri:2,been:2,befor:2,behavior:2,being:2,below:2,between:2,bin:2,bit:2,black:2,blinka:2,block:2,blue:2,board:0,both:2,bridg:2,button:2,c_1:[],c_2:[],cabl:2,calcul:2,calibr:2,call:1,can:2,cap:2,capac:2,caption:[],card:2,carri:2,caus:2,ceci:[],cedex:1,cela:[],center:[],channel:2,characterist:2,charg:2,check:2,chosen:2,christoph:[],circuit:2,circuitpython:2,circul:2,clean:2,clement:[0,1],click:2,close:2,code:2,cokela:[],command:2,commerci:2,common:2,commun:1,complet:2,compon:2,comput:2,conduct:2,configur:0,connect:0,connector:2,consequ:2,consist:2,constitut:2,construct:2,consult:[],consumpt:2,contact:2,contain:2,content:0,control:2,convert:2,correct:2,cos:[],cost:1,could:2,cpu:2,creat:2,creation:1,csv:2,current:1,damag:2,daniel:[],data:0,date:[0,1],deactiv:2,decid:2,delai:2,deliv:2,demo:[],depend:2,describ:2,design:2,despit:2,dev:2,develop:[0,1,2],developp:[],diagram:2,differ:2,digit:2,din:2,direct:2,directli:2,directori:2,disconnect:2,displai:2,distanc:2,disturb:2,divid:2,dkfjshkdfh:[],doc:[],document:1,done:2,download:2,dual:2,duboi:[0,1],durat:2,dure:2,dzwb4:2,each:2,eiffel:1,either:2,electr:[],electrod:[0,1],electron:2,enabl:2,end:2,energ:2,enough:2,ensur:2,entir:2,environ:2,environn:[],environnementshould:2,equal:2,equival:2,eric:[],ert:2,est:[],estim:2,everyon:1,exampl:2,excess:2,execut:2,experi:[1,2],extra:2,failur:2,fair:[],fargier:[0,1],featur:[],femal:2,fewer:2,field:2,fig:2,figclass:[],figur:2,file:2,find:2,first:2,flexibl:1,florsch:2,flow:2,folder:2,follow:2,fonctionn:[],formul:[],forquet:[0,1],four:[],framework:2,franc:1,from:2,full:2,fulli:1,fuse:2,gain:2,ganc:[0,1],gather:2,gener:[0,2],ger:1,get:[1,2],gitlab:2,gpio:2,grenobl:1,ground:2,gui:2,guidelin:0,gustav:1,guyard:[0,1],had:2,hand:2,handl:2,hardwar:[1,2],hardwareresist:[],has:2,have:2,hazard:2,header:2,hear:2,height:[],help:2,high:2,holder:2,hole:2,home:2,horizont:2,hous:2,how:2,howev:2,http:2,ifsttar:1,illustr:2,imag:[],imped:2,implement:[],implent:0,inastal:[],includ:2,incom:2,increas:2,inde:2,index:[],inform:[],inject:[0,1],injection_dur:2,input:2,inra:1,insert:2,insid:2,instal:[],instead:2,instruct:0,instrument:1,intens:2,interfac:2,interpret:2,introduc:2,introduct:0,introduir:[],invit:[],involv:1,ion:2,iri:1,irstea:2,jpg:[],juillet:1,julien:[0,1],justifi:[],keyboard:2,kjsdfhksdgfjksdf:[],known:2,kohm:2,laboratori:2,lastli:2,latest:2,lead:2,leav:2,length:2,less:2,let:2,libatla:2,librari:2,lie:2,lien:[],like:[],limit:0,line:2,lineno:[],list:2,lithium:2,lm358n:2,locat:2,logger:2,logo:[],logo_inra:[],logo_univ_gustav:[],low:[1,2],lying:2,lyon:1,made:2,mai:2,main:2,make:2,manag:2,manual:2,manuscript:2,master:2,matur:0,maxdepth:[],maximum:2,measur:[0,1],mechan:2,meet:2,mega:2,menu:2,met:2,meter:[1,2],meterfeatur:1,micro:2,mimic:2,min:2,model:2,modif:2,modifi:2,modul:2,mohm:2,monitor:2,moreov:2,moscardi:[],mount:2,mous:2,multi:2,multiplex:[0,1],multipli:2,must:2,mux:2,name:2,nb_electrod:2,nbr_mea:2,necessari:2,need:2,neg:2,next:2,nicola:[0,1],noob:2,normal:2,note:2,notr:[],nov:0,now:2,number:2,numer:2,numpi:2,obtain:2,offcial:0,offer:2,officiel:[],ohm:2,ohmpi:[],onc:2,one:2,onli:[],onto:2,open:[1,2],oper:0,optim:2,option:2,order:2,org:2,osf:2,other:2,our:2,out:2,output:2,ouvr:[],packag:[],page0:[],page1:[],page:[],pai:2,panda:2,paramet:[],parl:[],part:2,parten:1,path:2,pcb:2,per:2,perform:[1,2],permut:2,peu:[],philosophi:[0,1],pin1:[],pin:2,pip:2,pitch:2,place:2,pleas:2,plu:[],plug:2,png:[],point:2,polar:2,pole:2,posit:2,possibl:2,potenti:2,pour:[],power:2,practic:2,pradal:[],precis:2,prefer:2,prepar:2,present:[1,2],previous:2,print:2,procedur:[],produc:2,program:2,progress:[0,1],project:0,propos:2,protocol:2,provid:[1,2],puls:2,purpos:2,pyhton3:2,python3:2,python:[],pythonid:2,quadripol:2,quadrupol:2,que:[],r10:2,r11:2,r12:2,rail:2,rang:2,rapberri:[],raspberri:0,raspberrypi:2,raspbian:2,raspbian_vers:[],raspebrri:2,readm:2,recommend:2,reduct:2,refer:2,relai:2,relat:[],releas:0,remain:2,rememb:2,remot:2,repeat:2,repetit:2,repositori:2,repres:2,requir:2,research:0,resist:[0,1],resistor:2,resolut:2,respect:2,result:2,revers:2,reversa:[1,2],robust:[1,2],role:2,root:2,rpi:2,rro:1,run:2,safeti:2,same:2,save:2,scale:1,schemat:2,scienc:2,scientif:1,screen:2,screw:2,search:[],second:2,section:2,see:2,select:2,sequenc:2,sequence_delai:2,seri:2,serv:2,set:2,setup:2,sever:2,shield:2,shortcut:2,should:2,show:2,shown:2,signal:2,simpl:2,simpli:2,simultan:2,singl:2,site:[],small:[1,2],smaller:2,softwar:2,soil:2,solder:2,solut:2,some:[0,2],sound:2,sourc:[1,2],specif:2,specifi:2,sphinx:[],stabl:2,stack:2,stainless:2,start:2,statu:[0,1],steel:2,step:2,still:2,storag:2,strip:2,strong:2,stronger:2,strongli:2,stuck:2,studi:2,style:[],subject:2,sudo:2,suffici:2,suggest:2,suitabl:2,sum:2,sum_:[],suppli:2,sur:[],surfac:1,system:2,tab:2,tabl:2,target:0,task:2,technic:0,temperatur:2,ten:2,termin:2,test:2,text:[],than:2,thei:2,therefor:2,thi:[1,2],thoma:[],thonni:[],thousand:2,three:2,through:2,thu:2,time:2,toctre:[],togeth:2,tool:1,total:2,tourn:[],track:2,turn:2,tutori:0,two:2,txt:2,type:2,typic:2,under:2,unit:2,univ:1,unzip:2,updat:1,upping:2,use:2,used:2,user:[0,2],using:2,usr:2,valu:2,variou:2,venv:2,version:2,vertic:2,via:2,villeurbann:1,virtual:[],vise:[],vivien:[0,1],vlide:2,voici:[],voltag:2,voltmet:2,vou:[],wai:2,weaker:2,websit:2,welcom:1,well:2,were:2,when:2,where:2,which:2,whose:2,width:[],willing:1,window:2,wire:2,within:2,without:2,would:2,www:2,x_n:[],yannick:[0,1],you:2},titles:["OHMPI: Open source and open hardware resitivity-meter","<strong>OhmPi project</strong>","OhmPi V 1.01 (limited to 32 electrodes)"],titleterms:{IDE:2,The:2,activ:2,bienvenu:[],board:2,center:0,cett:[],configur:2,connect:2,construct:[],current:2,data:2,descript:2,document:0,electr:2,electrod:2,environn:2,formul:[],four:2,frist:2,hardwar:0,imag:[],implement:2,implent:2,inastal:[],indic:[],initi:2,inject:2,instal:2,instruct:2,introduct:1,lien:[],limit:2,measur:2,mesur:2,meter:0,modif:[],multiplex:2,ohmpi:[0,1,2],onli:2,open:0,openalea:[],oper:2,packag:2,page:[],paramet:2,philosophi:2,preliminari:2,procedur:2,project:1,python:2,rapberri:2,raspberri:2,resist:2,resit:0,run:[],second:[],sourc:0,startup:2,summari:0,sur:[],tabl:[],technic:2,text:[],thonni:2,virtual:2,welcom:[]}}) \ No newline at end of file diff --git a/sphinx/build/doctrees/environment.pickle b/sphinx/build/doctrees/environment.pickle index a3dd2b5d6537e1bf5f896d8bf6632e4f9736e472..d1b4274a449d830040a456a50f5dc22f0a980150 100644 Binary files a/sphinx/build/doctrees/environment.pickle and b/sphinx/build/doctrees/environment.pickle differ diff --git a/sphinx/build/doctrees/page1.doctree b/sphinx/build/doctrees/page1.doctree index ee599118d21ffefe6abb91bb00ef3e3bf5d7b1a4..49d9c0982a1d082d966092204976de3585a98c26 100644 Binary files a/sphinx/build/doctrees/page1.doctree and b/sphinx/build/doctrees/page1.doctree differ diff --git a/sphinx/build/html/_images/thonny_first_interface.jpg b/sphinx/build/html/_images/thonny_first_interface.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1456c9172429ec3676a9485707b557df4315b26f Binary files /dev/null and b/sphinx/build/html/_images/thonny_first_interface.jpg differ diff --git a/sphinx/build/html/_images/thonny_interpreter.jpg b/sphinx/build/html/_images/thonny_interpreter.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5f26cae69409d11217ad8fcb1b963e35983e2e2c Binary files /dev/null and b/sphinx/build/html/_images/thonny_interpreter.jpg differ diff --git a/sphinx/build/html/_images/thonny_interpreter_folder.jpg b/sphinx/build/html/_images/thonny_interpreter_folder.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bf330b00f2fef20510550cbb71390b39c81ad516 Binary files /dev/null and b/sphinx/build/html/_images/thonny_interpreter_folder.jpg differ diff --git a/sphinx/build/html/_images/thonny_option.jpg b/sphinx/build/html/_images/thonny_option.jpg new file mode 100644 index 0000000000000000000000000000000000000000..086f1f77e675b97dabcc02d1607bd478837ceb0f Binary files /dev/null and b/sphinx/build/html/_images/thonny_option.jpg differ diff --git a/sphinx/build/html/_sources/page1.rst.txt b/sphinx/build/html/_sources/page1.rst.txt index b0175187d7f3b0fdd9f5f14f0e8236641274b5b7..e8160c713935b561d5dedff781767b04c8bf6b00 100644 --- a/sphinx/build/html/_sources/page1.rst.txt +++ b/sphinx/build/html/_sources/page1.rst.txt @@ -109,9 +109,54 @@ to leave the virtual environment simply type: Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi) ====================================================================== -Under developpement +If you decided to use a virtual environment, it is necessary to setup Thonny Python IDE the first time you use it. +1- Run the Thonny Python IDE software, Click on raspebrry acces **menu > programming> Thonny pythonIDE** +2- Thonny's interface opens, Python runs on the Root (Python 3.7.3 (/usr/bin/python3)) + +.. figure:: thonny_first_interface.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +3-Click on **Run>select interpreter**, a new window opens click on interpret + +.. figure:: thonny_option.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +4-On the new open windows select **alternative Pyhton3 or virtual environnement** + +.. figure:: thonny_interpreter.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +5- New buttons appeared, selected **"locate another python executable "** + +6- A new window opens, find the folder where there is the python 3 file in the virtual environment folder previously created **/home/pi/ohmpi/bin/python3**. + +7- In the **known interpreter** tab the path of the virtual environnementshould appear + +.. figure:: thonny_interpreter_folder.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +8- Close the window by clicking on **ok**. +9- Close thonny to save modifications + + Measurement and Injection board and connection to the Raspberry ************************************************************************** diff --git a/sphinx/build/html/page1.html b/sphinx/build/html/page1.html index 241d7a639a3edff952aa3b6435512fd7d4105c3f..22acb500e0ce4fe10f2b1872767e63b83b30706b 100644 --- a/sphinx/build/html/page1.html +++ b/sphinx/build/html/page1.html @@ -293,7 +293,28 @@ to leave the virtual environment simply type:</p> </div> <div class="section" id="activate-virtual-environnement-on-thonny-python-ide-on-rapberry-pi"> <h3>Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi)<a class="headerlink" href="#activate-virtual-environnement-on-thonny-python-ide-on-rapberry-pi" title="Permalink to this headline">¶</a></h3> -<p>Under developpement</p> +<p>If you decided to use a virtual environment, it is necessary to setup Thonny Python IDE the first time you use it.</p> +<p>1- Run the Thonny Python IDE software, Click on raspebrry acces <strong>menu > programming> Thonny pythonIDE</strong></p> +<p>2- Thonny’s interface opens, Python runs on the Root (Python 3.7.3 (/usr/bin/python3))</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_first_interface.jpg"><img alt="alternate text" src="_images/thonny_first_interface.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>3-Click on <strong>Run>select interpreter</strong>, a new window opens click on interpret</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_option.jpg"><img alt="alternate text" src="_images/thonny_option.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>4-On the new open windows select <strong>alternative Pyhton3 or virtual environnement</strong></p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_interpreter.jpg"><img alt="alternate text" src="_images/thonny_interpreter.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>5- New buttons appeared, selected <strong>“locate another python executable “</strong></p> +<p>6- A new window opens, find the folder where there is the python 3 file in the virtual environment folder previously created <strong>/home/pi/ohmpi/bin/python3</strong>.</p> +<p>7- In the <strong>known interpreter</strong> tab the path of the virtual environnementshould appear</p> +<div class="align-center figure"> +<a class="reference internal image-reference" href="_images/thonny_interpreter_folder.jpg"><img alt="alternate text" src="_images/thonny_interpreter_folder.jpg" style="width: 600px; height: 450px;" /></a> +</div> +<p>8- Close the window by clicking on <strong>ok</strong>. +9- Close thonny to save modifications</p> </div> </div> <div class="section" id="measurement-and-injection-board-and-connection-to-the-raspberry"> diff --git a/sphinx/build/html/searchindex.js b/sphinx/build/html/searchindex.js index 1a00bd3e02f1ac7830fca2614db3408eb4eb9b86..6961d1358ba30837007f5ea6bf7bf3d0108e38d7 100644 --- a/sphinx/build/html/searchindex.js +++ b/sphinx/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["index","page0","page1"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","page0.rst","page1.rst"],objects:{},objnames:{},objtypes:{},terms:{"400px":[],"800px":[],"ao\u00fbt":1,"case":2,"cr\u00e9er":[],"d\u00e9mo":[],"esp\u00e8r":[],"final":2,"function":[1,2],"h\u00e9l\u00e8ne":[0,1],"justifi\u00e9":[],"mm\u00b2":2,"orl\u00e9an":1,"pr\u00e9sent":[],"pr\u00e9sentat":[],"premi\u00e8r":[],"r\u00e9mi":[0,1],"switch":2,"universit\u00e9":1,ADS:2,For:2,IDE:[],IGE:1,Its:2,The:0,These:2,With:2,abmn:2,abov:2,access:2,accord:2,accur:2,accuraci:2,acid:2,activ:[],actual:2,adafruit:2,adapt:2,adc:2,added:2,adding:2,addit:2,address:2,adjust:2,administr:[],ads1115:2,ads115:2,ads1x15:2,after:2,align:[],all:2,allow:[1,2],alp:1,also:2,alt:[],altern:[],amplifi:2,analog:2,ani:2,appli:2,apt:2,arrai:2,articl:[],assembl:2,assist:2,associ:1,attent:2,attribut:2,aug:[],author:[0,1,2],automat:[1,2],automobil:2,avail:2,bank:2,barbeau:[],base:2,basic:1,batteri:2,been:2,befor:2,behavior:2,being:2,below:2,between:2,bin:2,bit:2,black:2,blinka:2,block:2,blue:2,board:0,both:2,bridg:2,c_1:[],c_2:[],cabl:2,calcul:2,calibr:2,call:1,can:2,cap:2,capac:2,caption:[],card:2,carri:2,caus:2,ceci:[],cedex:1,cela:[],center:[],channel:2,characterist:2,charg:2,check:2,chosen:2,christoph:[],circuit:2,circuitpython:2,circul:2,clean:2,clement:[0,1],close:2,code:2,cokela:[],command:2,commerci:2,common:2,commun:1,complet:2,compon:2,comput:2,conduct:2,configur:0,connect:0,connector:2,consequ:2,consist:2,constitut:2,construct:2,consult:[],consumpt:2,contact:2,contain:2,content:0,control:2,convert:2,correct:2,cos:[],cost:1,could:2,cpu:2,creat:2,creation:1,csv:2,current:1,damag:2,daniel:[],data:0,date:[0,1],deactiv:2,delai:2,deliv:2,demo:[],depend:2,describ:2,design:2,despit:2,dev:2,develop:[0,1,2],developp:2,diagram:2,differ:2,digit:2,din:2,direct:2,directli:2,directori:2,disconnect:2,displai:2,distanc:2,disturb:2,divid:2,dkfjshkdfh:[],doc:[],document:1,done:2,download:2,dual:2,duboi:[0,1],durat:2,dure:2,dzwb4:2,each:2,eiffel:1,either:2,electr:[],electrod:[0,1],electron:2,enabl:2,end:2,energ:2,enough:2,ensur:2,entir:2,environ:2,environn:[],equal:2,equival:2,eric:[],ert:2,est:[],estim:2,everyon:1,exampl:2,excess:2,execut:2,experi:[1,2],extra:2,failur:2,fair:[],fargier:[0,1],featur:[],femal:2,fewer:2,field:2,fig:2,figclass:[],figur:2,file:2,first:2,flexibl:1,florsch:2,flow:2,folder:2,follow:2,fonctionn:[],formul:[],forquet:[0,1],four:[],framework:2,franc:1,from:2,full:2,fulli:1,fuse:2,gain:2,ganc:[0,1],gather:2,gener:[0,2],ger:1,get:[1,2],gitlab:2,gpio:2,grenobl:1,ground:2,gui:2,guidelin:0,gustav:1,guyard:[0,1],had:2,hand:2,handl:2,hardwar:[1,2],hardwareresist:[],has:2,have:2,hazard:2,header:2,hear:2,height:[],help:2,high:2,holder:2,hole:2,horizont:2,hous:2,how:2,howev:2,http:2,ifsttar:1,illustr:2,imag:[],imped:2,implement:[],implent:0,inastal:[],includ:2,incom:2,increas:2,inde:2,index:[],inform:[],inject:[0,1],injection_dur:2,input:2,inra:1,insert:2,insid:2,instal:[],instead:2,instruct:0,instrument:1,intens:2,introduc:2,introduct:0,introduir:[],invit:[],involv:1,ion:2,iri:1,irstea:2,jpg:[],juillet:1,julien:[0,1],justifi:[],keyboard:2,kjsdfhksdgfjksdf:[],kohm:2,laboratori:2,lastli:2,latest:2,lead:2,leav:2,length:2,less:2,let:2,libatla:2,librari:2,lie:2,lien:[],like:[],limit:0,line:2,lineno:[],list:2,lithium:2,lm358n:2,locat:2,logger:2,logo:[],logo_inra:[],logo_univ_gustav:[],low:[1,2],lying:2,lyon:1,made:2,mai:2,main:2,make:2,manag:2,manual:2,manuscript:2,master:2,matur:0,maxdepth:[],maximum:2,measur:[0,1],mechan:2,meet:2,mega:2,menu:2,met:2,meter:[1,2],meterfeatur:1,micro:2,mimic:2,min:2,model:2,modifi:2,modul:2,mohm:2,monitor:2,moreov:2,moscardi:[],mount:2,mous:2,multi:2,multiplex:[0,1],multipli:2,must:2,mux:2,name:2,nb_electrod:2,nbr_mea:2,necessari:2,need:2,neg:2,next:2,nicola:[0,1],noob:2,normal:2,note:2,notr:[],nov:0,now:2,number:2,numer:2,numpi:2,obtain:2,offcial:0,offer:2,officiel:[],ohm:2,ohmpi:[],onc:2,one:2,onli:[],onto:2,open:[1,2],oper:0,optim:2,option:2,order:2,org:2,osf:2,other:2,our:2,out:2,output:2,packag:[],page0:[],page1:[],page:[],pai:2,panda:2,paramet:[],parl:[],part:2,parten:1,pcb:2,per:2,perform:[1,2],permut:2,peu:[],philosophi:[0,1],pin1:[],pin:2,pip:2,pitch:2,place:2,pleas:2,plu:[],plug:2,png:[],point:2,polar:2,pole:2,posit:2,possibl:2,potenti:2,pour:[],power:2,practic:2,pradal:[],precis:2,prefer:2,prepar:2,present:[1,2],previous:2,print:2,procedur:[],produc:2,progress:[0,1],project:0,propos:2,protocol:2,provid:[1,2],puls:2,purpos:2,python3:2,python:[],quadripol:2,quadrupol:2,que:[],r10:2,r11:2,r12:2,rail:2,rang:2,rapberri:[],raspberri:0,raspberrypi:2,raspbian:2,raspbian_vers:[],readm:2,recommend:2,reduct:2,refer:2,relai:2,relat:[],releas:0,remain:2,rememb:2,remot:2,repeat:2,repetit:2,repositori:2,repres:2,requir:2,research:0,resist:[0,1],resistor:2,resolut:2,respect:2,result:2,revers:2,reversa:[1,2],robust:[1,2],role:2,rpi:2,rro:1,run:2,safeti:2,same:2,scale:1,schemat:2,scienc:2,scientif:1,screen:2,screw:2,search:[],second:2,section:2,see:2,select:2,sequenc:2,sequence_delai:2,seri:2,serv:2,set:2,setup:2,sever:2,shield:2,shortcut:2,should:2,show:2,shown:2,signal:2,simpl:2,simpli:2,simultan:2,singl:2,site:[],small:[1,2],smaller:2,softwar:2,soil:2,solder:2,solut:2,some:[0,2],sound:2,sourc:[1,2],specif:2,specifi:2,sphinx:[],stabl:2,stack:2,stainless:2,start:2,statu:[0,1],steel:2,step:2,still:2,storag:2,strip:2,strong:2,stronger:2,strongli:2,stuck:2,studi:2,style:[],subject:2,sudo:2,suffici:2,suggest:2,suitabl:2,sum:2,sum_:[],suppli:2,sur:[],surfac:1,system:2,tabl:2,target:0,task:2,technic:0,temperatur:2,ten:2,termin:2,test:2,text:[],than:2,thei:2,therefor:2,thi:[1,2],thoma:[],thonni:[],thousand:2,three:2,through:2,thu:2,time:2,toctre:[],togeth:2,tool:1,total:2,track:2,turn:2,tutori:0,two:2,txt:2,type:2,typic:2,under:2,unit:2,univ:1,unzip:2,updat:1,upping:2,use:2,used:2,user:[0,2],using:2,valu:2,variou:2,venv:2,version:2,vertic:2,via:2,villeurbann:1,virtual:[],vise:[],vivien:[0,1],vlide:2,voici:[],voltag:2,voltmet:2,vou:[],wai:2,weaker:2,websit:2,welcom:1,well:2,were:2,when:2,which:2,whose:2,width:[],willing:1,wire:2,within:2,without:2,would:2,www:2,x_n:[],yannick:[0,1],you:2},titles:["OHMPI: Open source and open hardware resitivity-meter","<strong>OhmPi project</strong>","OhmPi V 1.01 (limited to 32 electrodes)"],titleterms:{IDE:2,The:2,activ:2,bienvenu:[],board:2,center:0,cett:[],configur:2,connect:2,construct:[],current:2,data:2,descript:2,document:0,electr:2,electrod:2,environn:2,formul:[],four:2,frist:2,hardwar:0,imag:[],implement:2,implent:2,inastal:[],indic:[],initi:2,inject:2,instal:2,instruct:2,introduct:1,lien:[],limit:2,measur:2,mesur:2,meter:0,modif:[],multiplex:2,ohmpi:[0,1,2],onli:2,open:0,openalea:[],oper:2,packag:2,page:[],paramet:2,philosophi:2,preliminari:2,procedur:2,project:1,python:2,rapberri:2,raspberri:2,resist:2,resit:0,run:[],second:[],sourc:0,startup:2,summari:0,sur:[],tabl:[],technic:2,text:[],thonni:2,virtual:2,welcom:[]}}) \ No newline at end of file +Search.setIndex({docnames:["index","page0","page1"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","page0.rst","page1.rst"],objects:{},objnames:{},objtypes:{},terms:{"400px":[],"800px":[],"ao\u00fbt":1,"case":2,"cr\u00e9er":[],"d\u00e9mo":[],"esp\u00e8r":[],"final":2,"function":[1,2],"h\u00e9l\u00e8ne":[0,1],"justifi\u00e9":[],"mm\u00b2":2,"new":2,"orl\u00e9an":1,"pr\u00e9sent":[],"pr\u00e9sentat":[],"premi\u00e8r":[],"r\u00e9mi":[0,1],"switch":2,"universit\u00e9":1,ADS:2,For:2,IDE:[],IGE:1,Its:2,The:0,These:2,With:2,abmn:2,abov:2,acc:2,access:2,accord:2,accur:2,accuraci:2,acid:2,activ:[],actual:2,adafruit:2,adapt:2,adc:2,added:2,adding:2,addit:2,address:2,adjust:2,administr:[],ads1115:2,ads115:2,ads1x15:2,after:2,align:[],all:2,allow:[1,2],alp:1,also:2,alt:[],altern:2,amplifi:2,analog:2,ani:2,anoth:2,appear:2,appli:2,apt:2,arrai:2,articl:[],assembl:2,assist:2,associ:1,attent:2,attribut:2,aug:[],author:[0,1,2],automat:[1,2],automobil:2,avail:2,bank:2,barbeau:[],base:2,basic:1,batteri:2,been:2,befor:2,behavior:2,being:2,below:2,between:2,bin:2,bit:2,black:2,blinka:2,block:2,blue:2,board:0,both:2,bridg:2,button:2,c_1:[],c_2:[],cabl:2,calcul:2,calibr:2,call:1,can:2,cap:2,capac:2,caption:[],card:2,carri:2,caus:2,ceci:[],cedex:1,cela:[],center:[],channel:2,characterist:2,charg:2,check:2,chosen:2,christoph:[],circuit:2,circuitpython:2,circul:2,clean:2,clement:[0,1],click:2,close:2,code:2,cokela:[],command:2,commerci:2,common:2,commun:1,complet:2,compon:2,comput:2,conduct:2,configur:0,connect:0,connector:2,consequ:2,consist:2,constitut:2,construct:2,consult:[],consumpt:2,contact:2,contain:2,content:0,control:2,convert:2,correct:2,cos:[],cost:1,could:2,cpu:2,creat:2,creation:1,csv:2,current:1,damag:2,daniel:[],data:0,date:[0,1],deactiv:2,decid:2,delai:2,deliv:2,demo:[],depend:2,describ:2,design:2,despit:2,dev:2,develop:[0,1,2],developp:[],diagram:2,differ:2,digit:2,din:2,direct:2,directli:2,directori:2,disconnect:2,displai:2,distanc:2,disturb:2,divid:2,dkfjshkdfh:[],doc:[],document:1,done:2,download:2,dual:2,duboi:[0,1],durat:2,dure:2,dzwb4:2,each:2,eiffel:1,either:2,electr:[],electrod:[0,1],electron:2,enabl:2,end:2,energ:2,enough:2,ensur:2,entir:2,environ:2,environn:[],environnementshould:2,equal:2,equival:2,eric:[],ert:2,est:[],estim:2,everyon:1,exampl:2,excess:2,execut:2,experi:[1,2],extra:2,failur:2,fair:[],fargier:[0,1],featur:[],femal:2,fewer:2,field:2,fig:2,figclass:[],figur:2,file:2,find:2,first:2,flexibl:1,florsch:2,flow:2,folder:2,follow:2,fonctionn:[],formul:[],forquet:[0,1],four:[],framework:2,franc:1,from:2,full:2,fulli:1,fuse:2,gain:2,ganc:[0,1],gather:2,gener:[0,2],ger:1,get:[1,2],gitlab:2,gpio:2,grenobl:1,ground:2,gui:2,guidelin:0,gustav:1,guyard:[0,1],had:2,hand:2,handl:2,hardwar:[1,2],hardwareresist:[],has:2,have:2,hazard:2,header:2,hear:2,height:[],help:2,high:2,holder:2,hole:2,home:2,horizont:2,hous:2,how:2,howev:2,http:2,ifsttar:1,illustr:2,imag:[],imped:2,implement:[],implent:0,inastal:[],includ:2,incom:2,increas:2,inde:2,index:[],inform:[],inject:[0,1],injection_dur:2,input:2,inra:1,insert:2,insid:2,instal:[],instead:2,instruct:0,instrument:1,intens:2,interfac:2,interpret:2,introduc:2,introduct:0,introduir:[],invit:[],involv:1,ion:2,iri:1,irstea:2,jpg:[],juillet:1,julien:[0,1],justifi:[],keyboard:2,kjsdfhksdgfjksdf:[],known:2,kohm:2,laboratori:2,lastli:2,latest:2,lead:2,leav:2,length:2,less:2,let:2,libatla:2,librari:2,lie:2,lien:[],like:[],limit:0,line:2,lineno:[],list:2,lithium:2,lm358n:2,locat:2,logger:2,logo:[],logo_inra:[],logo_univ_gustav:[],low:[1,2],lying:2,lyon:1,made:2,mai:2,main:2,make:2,manag:2,manual:2,manuscript:2,master:2,matur:0,maxdepth:[],maximum:2,measur:[0,1],mechan:2,meet:2,mega:2,menu:2,met:2,meter:[1,2],meterfeatur:1,micro:2,mimic:2,min:2,model:2,modif:2,modifi:2,modul:2,mohm:2,monitor:2,moreov:2,moscardi:[],mount:2,mous:2,multi:2,multiplex:[0,1],multipli:2,must:2,mux:2,name:2,nb_electrod:2,nbr_mea:2,necessari:2,need:2,neg:2,next:2,nicola:[0,1],noob:2,normal:2,note:2,notr:[],nov:0,now:2,number:2,numer:2,numpi:2,obtain:2,offcial:0,offer:2,officiel:[],ohm:2,ohmpi:[],onc:2,one:2,onli:[],onto:2,open:[1,2],oper:0,optim:2,option:2,order:2,org:2,osf:2,other:2,our:2,out:2,output:2,ouvr:[],packag:[],page0:[],page1:[],page:[],pai:2,panda:2,paramet:[],parl:[],part:2,parten:1,path:2,pcb:2,per:2,perform:[1,2],permut:2,peu:[],philosophi:[0,1],pin1:[],pin:2,pip:2,pitch:2,place:2,pleas:2,plu:[],plug:2,png:[],point:2,polar:2,pole:2,posit:2,possibl:2,potenti:2,pour:[],power:2,practic:2,pradal:[],precis:2,prefer:2,prepar:2,present:[1,2],previous:2,print:2,procedur:[],produc:2,program:2,progress:[0,1],project:0,propos:2,protocol:2,provid:[1,2],puls:2,purpos:2,pyhton3:2,python3:2,python:[],pythonid:2,quadripol:2,quadrupol:2,que:[],r10:2,r11:2,r12:2,rail:2,rang:2,rapberri:[],raspberri:0,raspberrypi:2,raspbian:2,raspbian_vers:[],raspebrri:2,readm:2,recommend:2,reduct:2,refer:2,relai:2,relat:[],releas:0,remain:2,rememb:2,remot:2,repeat:2,repetit:2,repositori:2,repres:2,requir:2,research:0,resist:[0,1],resistor:2,resolut:2,respect:2,result:2,revers:2,reversa:[1,2],robust:[1,2],role:2,root:2,rpi:2,rro:1,run:2,safeti:2,same:2,save:2,scale:1,schemat:2,scienc:2,scientif:1,screen:2,screw:2,search:[],second:2,section:2,see:2,select:2,sequenc:2,sequence_delai:2,seri:2,serv:2,set:2,setup:2,sever:2,shield:2,shortcut:2,should:2,show:2,shown:2,signal:2,simpl:2,simpli:2,simultan:2,singl:2,site:[],small:[1,2],smaller:2,softwar:2,soil:2,solder:2,solut:2,some:[0,2],sound:2,sourc:[1,2],specif:2,specifi:2,sphinx:[],stabl:2,stack:2,stainless:2,start:2,statu:[0,1],steel:2,step:2,still:2,storag:2,strip:2,strong:2,stronger:2,strongli:2,stuck:2,studi:2,style:[],subject:2,sudo:2,suffici:2,suggest:2,suitabl:2,sum:2,sum_:[],suppli:2,sur:[],surfac:1,system:2,tab:2,tabl:2,target:0,task:2,technic:0,temperatur:2,ten:2,termin:2,test:2,text:[],than:2,thei:2,therefor:2,thi:[1,2],thoma:[],thonni:[],thousand:2,three:2,through:2,thu:2,time:2,toctre:[],togeth:2,tool:1,total:2,tourn:[],track:2,turn:2,tutori:0,two:2,txt:2,type:2,typic:2,under:2,unit:2,univ:1,unzip:2,updat:1,upping:2,use:2,used:2,user:[0,2],using:2,usr:2,valu:2,variou:2,venv:2,version:2,vertic:2,via:2,villeurbann:1,virtual:[],vise:[],vivien:[0,1],vlide:2,voici:[],voltag:2,voltmet:2,vou:[],wai:2,weaker:2,websit:2,welcom:1,well:2,were:2,when:2,where:2,which:2,whose:2,width:[],willing:1,window:2,wire:2,within:2,without:2,would:2,www:2,x_n:[],yannick:[0,1],you:2},titles:["OHMPI: Open source and open hardware resitivity-meter","<strong>OhmPi project</strong>","OhmPi V 1.01 (limited to 32 electrodes)"],titleterms:{IDE:2,The:2,activ:2,bienvenu:[],board:2,center:0,cett:[],configur:2,connect:2,construct:[],current:2,data:2,descript:2,document:0,electr:2,electrod:2,environn:2,formul:[],four:2,frist:2,hardwar:0,imag:[],implement:2,implent:2,inastal:[],indic:[],initi:2,inject:2,instal:2,instruct:2,introduct:1,lien:[],limit:2,measur:2,mesur:2,meter:0,modif:[],multiplex:2,ohmpi:[0,1,2],onli:2,open:0,openalea:[],oper:2,packag:2,page:[],paramet:2,philosophi:2,preliminari:2,procedur:2,project:1,python:2,rapberri:2,raspberri:2,resist:2,resit:0,run:[],second:[],sourc:0,startup:2,summari:0,sur:[],tabl:[],technic:2,text:[],thonni:2,virtual:2,welcom:[]}}) \ No newline at end of file diff --git a/sphinx/source/page1.rst b/sphinx/source/page1.rst index b0175187d7f3b0fdd9f5f14f0e8236641274b5b7..e8160c713935b561d5dedff781767b04c8bf6b00 100644 --- a/sphinx/source/page1.rst +++ b/sphinx/source/page1.rst @@ -109,9 +109,54 @@ to leave the virtual environment simply type: Activate virtual environnement on Thonny(Python IDE) (on Rapberry Pi) ====================================================================== -Under developpement +If you decided to use a virtual environment, it is necessary to setup Thonny Python IDE the first time you use it. +1- Run the Thonny Python IDE software, Click on raspebrry acces **menu > programming> Thonny pythonIDE** +2- Thonny's interface opens, Python runs on the Root (Python 3.7.3 (/usr/bin/python3)) + +.. figure:: thonny_first_interface.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +3-Click on **Run>select interpreter**, a new window opens click on interpret + +.. figure:: thonny_option.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +4-On the new open windows select **alternative Pyhton3 or virtual environnement** + +.. figure:: thonny_interpreter.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +5- New buttons appeared, selected **"locate another python executable "** + +6- A new window opens, find the folder where there is the python 3 file in the virtual environment folder previously created **/home/pi/ohmpi/bin/python3**. + +7- In the **known interpreter** tab the path of the virtual environnementshould appear + +.. figure:: thonny_interpreter_folder.jpg + :width: 600px + :align: center + :height: 450px + :alt: alternate text + :figclass: align-center + +8- Close the window by clicking on **ok**. +9- Close thonny to save modifications + + Measurement and Injection board and connection to the Raspberry ************************************************************************** diff --git a/sphinx/source/thonny_first_interface.JPG b/sphinx/source/thonny_first_interface.JPG new file mode 100644 index 0000000000000000000000000000000000000000..1456c9172429ec3676a9485707b557df4315b26f Binary files /dev/null and b/sphinx/source/thonny_first_interface.JPG differ diff --git a/sphinx/source/thonny_interpreter.JPG b/sphinx/source/thonny_interpreter.JPG new file mode 100644 index 0000000000000000000000000000000000000000..5f26cae69409d11217ad8fcb1b963e35983e2e2c Binary files /dev/null and b/sphinx/source/thonny_interpreter.JPG differ diff --git a/sphinx/source/thonny_interpreter_folder.JPG b/sphinx/source/thonny_interpreter_folder.JPG new file mode 100644 index 0000000000000000000000000000000000000000..bf330b00f2fef20510550cbb71390b39c81ad516 Binary files /dev/null and b/sphinx/source/thonny_interpreter_folder.JPG differ diff --git a/sphinx/source/thonny_option.JPG b/sphinx/source/thonny_option.JPG new file mode 100644 index 0000000000000000000000000000000000000000..086f1f77e675b97dabcc02d1607bd478837ceb0f Binary files /dev/null and b/sphinx/source/thonny_option.JPG differ