User Tools

Site Tools


start

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2019/01/13 05:21]
rammy
start [2019/06/03 23:57] (current)
wtalen
Line 31: Line 31:
 It uses the .NET framework (4.0 minimum). It uses the .NET framework (4.0 minimum).
  
-The minimum screen resolution AgOpenGPS will work with is 1366 x 768. +The minimum screen resolution AgOpenGPS will work with is 1024 x 768. 
  
 1920 x 1080 is preferred, and of course the higher resolutions found on the Acer transformer 300, Acer Switch 12, Microsoft Surface, or Samsung work even better. 1920 x 1080 is preferred, and of course the higher resolutions found on the Acer transformer 300, Acer Switch 12, Microsoft Surface, or Samsung work even better.
Line 37: Line 37:
 A Touchscreen is preferred to work with AgOpenGPS. ​ A Touchscreen is preferred to work with AgOpenGPS. ​
  
-When selecting a tablet, ensure it has at least one USB port free with its charging cord plugged in. You need to charge the tablet and use a USB port for external hardware (arduino) at the same time.+When selecting a tablet, ensure it has at least one USB port free with its charging cord plugged in. You need to charge the tablet and use a USB port for external hardware (arduino) at the same time. Another thing to consider is screen brightness, 1000 NITS is ideal.
 Agopengps will also use Ethernet in future so keep this in mind if you upgrading. Agopengps will also use Ethernet in future so keep this in mind if you upgrading.
  
Line 51: Line 51:
   * unzip   * unzip
  
-Folder Contains:+Folder Contains: ​                                                        ​
   * agopen_dev: the software   * agopen_dev: the software
-    * Application: ​agopengps.exe  ​-this is the software+    * Application: ​AgOpenGPS ​     ​-this is the software ​icon →                 {{{ :​aog_app_snip.jpg?​400|}}
     * Source: ​                    -this is the source code     * Source: ​                    -this is the source code
-    * Modules: ​                     -This contains the Arduino codes +    * Modules: ​                   -This contains the Arduino codes 
 ===== GPS and visual guidiance ===== ===== GPS and visual guidiance =====
  
Line 70: Line 70:
 You need an arduino uno/nano and  You need an arduino uno/nano and 
  
-[[https://​www.amazon.de/​dp/​B01C2IN2U2/​ref=asc_df_B01C2IN2U256101088/?​tag=googshopde-21&​creative=22434&​creativeASIN=B01C2IN2U2&​linkCode=df0&​hvadid=232019949970&​hvpos=1o1&​hvnetw=g&​hvrand=2396920004769529166&​hvpone=&​hvptwo=&​hvqmt=&​hvdev=c&​hvdvcmdl=&​hvlocint=&​hvlocphy=20047&​hvtargid=pla-422799561783&​th=1&​psc=1|a ​reley board]]+[[https://​www.amazon.de/​dp/​B01C2IN2U2/​ref=asc_df_B01C2IN2U256101088/?​tag=googshopde-21&​creative=22434&​creativeASIN=B01C2IN2U2&​linkCode=df0&​hvadid=232019949970&​hvpos=1o1&​hvnetw=g&​hvrand=2396920004769529166&​hvpone=&​hvptwo=&​hvqmt=&​hvdev=c&​hvdvcmdl=&​hvlocint=&​hvlocphy=20047&​hvtargid=pla-422799561783&​th=1&​psc=1|a ​relay board]]
  
 First goto https://​www.arduino.cc/​ and download Arduino IDE. First goto https://​www.arduino.cc/​ and download Arduino IDE.
Line 143: Line 143:
   * The BNO055 IMU has been found to only work reliably when placed as far from metal as possible. Usually it is placed on the roof in a weatherproof container or very high on the windshield. Keep this in mind when building your board.\\   * The BNO055 IMU has been found to only work reliably when placed as far from metal as possible. Usually it is placed on the roof in a weatherproof container or very high on the windshield. Keep this in mind when building your board.\\
   * There is a 5v version and a 3.3 v version of the MMA 8452/1. If using the 3.3v version you can  power it from the 3.3v supply pin of arduino and in series add 330 ohm resistors to SCL and SDA lines.\\   * There is a 5v version and a 3.3 v version of the MMA 8452/1. If using the 3.3v version you can  power it from the 3.3v supply pin of arduino and in series add 330 ohm resistors to SCL and SDA lines.\\
-  * If you use the ADS analog to digital ​converter try to place it as close to the wheel angle sensor as possible. If it is unsuitable to place away from main board the converter is still beneficial to install. If you do not use the converter connect the sense wire from the wheel sensor to A0 on the Nano.+  * If you do not use the ADS analog to digital converter connect the sense wire from the wheel sensor to A0 on the Nano.
  
  
Line 175: Line 175:
 Once the sensor reads zero, close the wizard and click on the red drive button. The button will now turn green and the steer motor should respond to changes when the slider moves. Move the slider side to side and ensure the vehicle corresponds to the input correctly. If not you may have to invert angle sensor in Arduino code, reupload, close and open agopengps and try again.{{roll.png?​250}}\\ ​ Once the sensor reads zero, close the wizard and click on the red drive button. The button will now turn green and the steer motor should respond to changes when the slider moves. Move the slider side to side and ensure the vehicle corresponds to the input correctly. If not you may have to invert angle sensor in Arduino code, reupload, close and open agopengps and try again.{{roll.png?​250}}\\ ​
 Once the vehicle corresponds correctly open the steer wizard and follow the instructions.\\ ​ Once the vehicle corresponds correctly open the steer wizard and follow the instructions.\\ ​
-After you obtain the counts per degree close the wizard and open the steer tab. Enter the counts per degree. Max steer angle is the maximum angle you want the vehicle to turn. Minimum pwm is the power that will be required before it is sent to the steer motor.(prevents the motor noise from PWM) At this point other settings will be variable and must be adjusted by trial and error. FarmerBrianTee has many youtube videos explaining theory on each setting. https://​www.youtube.com/​watch?​v=rYBWaVwWf ​+After you obtain the counts per degree close the wizard and open the steer tab. Enter the counts per degree. Max steer angle is the maximum angle you want the vehicle to turn. Minimum pwm is the power that will be required before it is sent to the steer motor.(prevents the motor noise from PWM) At this point other settings will be variable and must be adjusted by trial and error. Here are [[PID settings|a few sample settings]] with various motor and motor driver combinations. FarmerBrianTee has many youtube videos explaining theory on each setting. https://​www.youtube.com/​watch?​v=rYBWaVwWf ​
  
 ---- ----
Line 216: Line 216:
 [[AgopenGPS:​|AgopenGPS:​]] [[AgopenGPS:​|AgopenGPS:​]]
  
-====== How AGOpen ​works ======+====== How AgOpenGPS ​works ======
  
 1. GPS sends position and heading info to AOG. 1. GPS sends position and heading info to AOG.
Line 226: Line 226:
 4. The AB line is a point and a heading - but think of it as a line with 2 points. you take the pivot point of vehicle and measure the distance from it to the nearest point of the AB Line. You also need a point forward on the line, called the look ahead point or goal point that you intend to drive towards. Then you draw a circle using the heading of the vehicle, and the goal point where the radius is twice the distance on the other side of the ABLine twice the distance the vehicle is away. The circle is tangent to the pivot point. Using the wheelbase of the vehicle you can then calculate the required steering angle to follow that circle to your goal point. 4. The AB line is a point and a heading - but think of it as a line with 2 points. you take the pivot point of vehicle and measure the distance from it to the nearest point of the AB Line. You also need a point forward on the line, called the look ahead point or goal point that you intend to drive towards. Then you draw a circle using the heading of the vehicle, and the goal point where the radius is twice the distance on the other side of the ABLine twice the distance the vehicle is away. The circle is tangent to the pivot point. Using the wheelbase of the vehicle you can then calculate the required steering angle to follow that circle to your goal point.
  
-5. That steering angle is sent to the arduino, and the distance away from the AB Line (although the calcs are already done, it isn;t really needed but rather is used to turn steering control off and on.+5. That steering angle is sent to the arduino, and the distance away from the AB Line (although the calculations ​are already done, it isn't really needed but rather is used to turn steering control off and on.
  
-6. The arduino sends the roll side to side ( the DOGS2) to AOG and then AOG changes the antenna position to match the movement of the antenna as it leans over.+6. The arduino sends the roll side to side ( the DOGS2 or MMA8450) to AOG and then AOG changes the antenna position to match the movement of the antenna as it leans over.
  
-7. The other job of the arduino is make sure the steering angle sensor value equals the steering setpoint set by AOG. The PID loop keeps moving the steering wheels to match that value sent.+7. The another ​job the arduino ​does is to make sure the steering angle sensor value equals the steering setpoint set by AOG. The PID loop keeps moving the steering wheels to match that value sent.
  
-8. The majority of the calcs and smarts are in AOG. The modules, like auto steer module, only have to control specific tasks - which makes them significantly easier to build.+8. The majority of the calculations ​and smarts are in AOG. The modules, like the auto steer module, only have to control specific tasks - which makes them significantly easier to build.
  
 9. There is a lot more going on in AOG, like boundaries, UTurn, OpenGL, GUI, and all the machine control stuff for AgraBot. 9. There is a lot more going on in AOG, like boundaries, UTurn, OpenGL, GUI, and all the machine control stuff for AgraBot.
Line 294: Line 294:
 If you want to create a boundary using Google Earth... Click> Google Earth and then once Google Earth opens click >add polygon or >add path. The pop-up window that appears has to stay open while you are drawing a polygon or path. Once you've outlined your field boundary, title it in the pop-up window and click >​OK>​File>​Save>​Save Place As. Save as KML file and not the default KMZ to your desired location. Then go back to AgOpenGPS and click >Load KML and voila your boundary is ready to go. If you want to create a boundary using Google Earth... Click> Google Earth and then once Google Earth opens click >add polygon or >add path. The pop-up window that appears has to stay open while you are drawing a polygon or path. Once you've outlined your field boundary, title it in the pop-up window and click >​OK>​File>​Save>​Save Place As. Save as KML file and not the default KMZ to your desired location. Then go back to AgOpenGPS and click >Load KML and voila your boundary is ready to go.
  
-**Creating a Headland**+**Creating a Headland** ​(this feature is currently unavailable. For now adjust the headland in U-Turn settings)
 This can only be done after a boundary is created. And you must be in AB or AB Curve mode for this to work. This can only be done after a boundary is created. And you must be in AB or AB Curve mode for this to work.
  
Line 359: Line 359:
 = =
 ====== other Wikis ====== ====== other Wikis ======
-Pictures Gallery [[pictures:​start|pictures:​start]]+Pictures Gallery ​of some farmers'​ installations ​[[pictures:​start|pictures:​start]]
  
  
start.1547353316.txt.gz · Last modified: 2019/01/13 05:21 by rammy