User Tools

Site Tools


offsprings:building:tutorialcaptor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
offsprings:building:tutorialcaptor [2018/07/04 16:08]
roger
offsprings:building:tutorialcaptor [2018/07/04 16:10] (current)
roger
Line 156: Line 156:
  
   ​   ​
-  ​- Now its time to mount the filesystem on the SD card, to do so, go to the directory where the provided Captor software files are and run this command: “./​format_sd_extroot.sh CaptorID_start CaptorID_end”. If you are only creating one node, CaptorID_start = CaptorID_end. +- Now its time to mount the filesystem on the SD card, to do so, go to the directory where the provided Captor software files are and run this command: “./​format_sd_extroot.sh CaptorID_start CaptorID_end”. If you are only creating one node, CaptorID_start = CaptorID_end. 
-  - Before uploading our sketch to Arduino CPU, we must do several steps: +- Before uploading our sketch to Arduino CPU, we must do several steps: 
-    - Upload “Read Accurate Vcc” sketch to Arduino, open the serial monitor and take note of the value that appears. +  - Upload “Read Accurate Vcc” sketch to Arduino, open the serial monitor and take note of the value that appears. 
-    - On the CS_API_helper follow the steps that are described there to make the sure the value of the voltatge is filtered. +  - On the CS_API_helper follow the steps that are described there to make the sure the value of the voltatge is filtered. 
-    - Now its time to upload “CaptorV3_5” arduino file to our Arduino CPU +  - Now its time to upload “CaptorV3_5” arduino file to our Arduino CPU 
-  - Now we have to upload all the software that makes our Captor node work. Like in step 3, you just need to run the command like this: “./​upload_software.sh CaptorID_start CaptorID_end 5”. The arguments work as the other script, just ignore that 5 as third argument, just write that :).+- Now we have to upload all the software that makes our Captor node work. Like in step 3, you just need to run the command like this: “./​upload_software.sh CaptorID_start CaptorID_end 5”. The arguments work as the other script, just ignore that 5 as third argument, just write that :).
   - Download the “Libraries ZIP” and then just run the script like this: “/libs.sh CaptorID_start CaptorID_end 5” This step can take several minutes, just wait patiently.   - Download the “Libraries ZIP” and then just run the script like this: “/libs.sh CaptorID_start CaptorID_end 5” This step can take several minutes, just wait patiently.
   - (Just follow this step if you want to use 3G Module to send data). We need to create a network interface for the 3G Module, so first plug it to USB port on the Yun. Then follow this steps:   - (Just follow this step if you want to use 3G Module to send data). We need to create a network interface for the 3G Module, so first plug it to USB port on the Yun. Then follow this steps:
-    ​- Go to “network” → “Add New Interface” +- Go to “network” → “Add New Interface” 
-    - Name it like “3gHuawei” and select UMTS mode. Then save the changes. +  - Name it like “3gHuawei” and select UMTS mode. Then save the changes. 
-    - Now, new fields to fill appeared, just fill them in order: ​ /​dev/​TTYUSB0 -> UMTS/GPRS -> APM = em +  - Now, new fields to fill appeared, just fill them in order: ​ /​dev/​TTYUSB0 -> UMTS/GPRS -> APM = em 
-    - Now you need to create the RSA key on the yun, Just follow “install_captor.sh” steps to do so. You don’t have to do server part, just send me the key creating a question on our FAQ.+  - Now you need to create the RSA key on the yun, Just follow “install_captor.sh” steps to do so. You don’t have to do server part, just send me the key creating a question on our FAQ.
   - Just activate your SIM, on your SIM provider, and make sure the 3G module makes the attach to your ISP.   - Just activate your SIM, on your SIM provider, and make sure the 3G module makes the attach to your ISP.
  
offsprings/building/tutorialcaptor.txt · Last modified: 2018/07/04 16:10 by roger