Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document covers the regular use and maintenance of the BenchBot Version 3.0 in the semi-field image acquisition application.

...

Note

TIPPING RISK. ALWAYS SET AMIGA SPEED TO 3-4 BARS using the Amiga dashboard. Do not operate or test E-Stops at higher speeds. The default setting is extremely fast and can likely cause the BenchBot to fall over and cause injury or death.

Warning

[NCSU ONLY] ONLY THE CARRIAGE MOUNTED (MIDDLE) E-STOP IS OPERATING FULLY

  1. The Right Side E-Stop (next to the Amiga dashboard) is not stopping the Amiga motors which can move any direction in the Y-plane.

  2. The Left Side E-Stop (near the WiFi dish) is not connected to anything.

  3. The E-Stop on the “Manual Control” tab on the BenchBot App does not function.

Please use the carriage-mounted E-Stop and test that the auto-controlled X, Y, and Z axis as well as the Amiga manual controls will not move.

This is a current error as of 7/10/2024.

Warning

BenchBot App E-STOP NOT WORKING: The E-Stop on the “Manual Control” tab on the BenchBot App does not function properly.

This is a current error as of 7/2/2024.

Note

Battery Fire Hazard: Farm-NG notified us of a battery fire. As of 7/29/24, here are some of their steps to mitigate risk/further damage if a battery does catch on fire.

  1. Whenever possible, avoid charging the Amiga batteries indoors and near flammable materials.

  2. Take steps to avoid further damage in the unlikely event of a fire. 

  3. If you do not use and charge the Amiga and its batteries on a regular basis, we recommend charging each battery for 2 hours every 2 months to prevent over-discharge.

  4. Use only the chargers provided by Farm-NG ( 2A and 5A models).

  5. Please review the warnings included on the Battery.

This is a current error as of 7/29/2024.

Info

PAUSE ERROR: Pausing can cause the Brain to lose tracking of the camera and all axes of the BenchBot to stop moving. Restarting the BenchBot app on the Brain may restart the axes motion, but it will not recover accurate tracking of the camera. Please avoid pausing the BenchBot if possible until resolved.

This is a current error as of 6/28/2024.

Hardware Setup

What needs to be done before the system can be powered on and used.

  • Battery Charging

    • Read the warnings and be aware of any hazards (as of August 2024, FarmNG released a fire hazard warning that is included in the warnings at the top of this page).

    • Make sure the battery is dry, then, using the correct adapter and plug, charge the battery.

    • You can tell if a battery is fully charged by the green light on the adapter. If it is charging, it will be red. If the plug is not plugged into a battery, the adapter light will also be green.

  • Battery Installation / Removal

    • To Install Batteries:

      1. Take 4 Amiga batteries and 4 battery keys to the BenchBot.

      2. Make sure the battery is set to “UNLOCK” or “LOCK” using the key (some batteries have different icons and setting names). This setting should make the rod on the battery be as short as possible, allowing you to slide the battery into the slot while the battery is also off.

        1. If the battery is in another position, to get past the 2nd marking on the battery (sometimes labeled “PUSH,” you’ll need to slightly push in the key in order to turn the key left or right.

      3. If the battery key is in, take it out.

      4. In the area above each wheel, there will be a slot to slide each battery into. Orient the battery so that the rod on the battery will fit into the hole in the slot.

      5. Slide the battery in. The grooves should fit the slot on both sides so that it is in place.

      6. Make sure the plug is not wet, and plug it into the battery.

      7. Insert the key into the battery and turn the battery into the “ON” position. On some batteries, this is a red icon that is the furthest setting away from “LOCK” or “UNLOCK”. This will both turn the battery on, while also locking the rod outward to secure the battery in the slot.

      8. Leave the battery key inside to run the BenchBot. This is similar to turning a car on. The key needs to stay in.

    • To Remove Batteries:

      1. Turn the battery key to “LOCK” or “UNLOCK” so the battery is off and the rod on the battery is shortened.

      2. Take out the key.

      3. Unplug the plug.

      4. Slide out the battery. On one specific NCSU BenchBot slot, this is difficult. You may have to shake the battery side to side while pulling outward to get it loose. Try not to shake the BenchBot too much as the bot is top heavy.

    • To leave batteries in briefly while powering down:

      1. Turn the battery key to “OFF”. On some batteries this is a white/grey icon that is next to the “ON” or red icon.

      2. This will turn off the battery, while keeping it locked in via the rod in the slot.

      3. Take the keys with you so nobody can steal the batteries.

    • Note: Don’t leave them out for long if you are unsure of the weather or if you can’t get back quickly to take them inside if it begins to storm.

  • Sony Camera (& Flash Device) Installation / Removal

    • WARNING: Don’t damage your eyes with the flash device. The flash from the flash device is very powerful so do not look directly into it when testing the flash device or running the bot. Make sure other people are not looking or in the way of the flash.

    • Camera settings are in another portion of this page.

    • SONY Camera Installation (the flash device is mounted with the SONY Camera): [Video Link: https://youtube.com/watch?v=Q6woepaJYKM&si=OwiEP2KcKKMvgq17]

      1. Make sure irrigation is turned off even if irrigation is not scheduled to run.

        1. Reason: the camera and flash device will not survive the sprinklers.

      2. To attach the camera mount to the mounting bracket, place the V-shape piece (of the camera mount) in position to fit with the mounting bracket (on the bot) and slide it down. It will lock in place very tightly.

      3. Check that the camera is straight in the mounting bracket and not tilted. If it is tilted, during imaging the Amiga may be in frame which is not the end of the world, but is generally not desirable.

        1. If the camera is moving around a lot and is loose, tighten it via the mounting screw adapter.

      4. When placing the camera in, before placing shade on or anything on top, you must tilt the SONY screen upwards a bit (as shown below) or else the camera will not take pictures.

      5. Plug the USB-C end of the black USB cable (must be USB 3 and approximately 10 ft. long) into the camera. Then route the USB cable as shown below, being supported lightly.

        1. Make sure:

          1. the cable will not strain too hard or pull on anything too hard as you adjust the Z-axis. You can test this by adjusting the Z-axis slowly during the testing portion of the BenchBot operations detailed in this manual

          2. the cable will not get caught in any gears or moving parts

          3. the cable does not interfere with the images

      6. Screw off the protective cap on the USB port of the box & plug the USB-A end of the cable into the box.

      7. Screw off the protective cover on the green cable (provides flash power).

      8. Green cable will screw into another black connector (not the USB cable). It may be a bit hard to screw in, so keep at it until it bottoms out.

      9. Plug the black connector (which is connected to green flash power) into the flash device. Also make sure of the same things as the USB cable (not straining the cable or pulling on anything too much when the Z axis adjusts, not getting caught in gears or moving parts, and not interfering with images).

      10. Get camera ready for photos

        1. If needed, complete camera settings (Section: SONY CAMERA SETTINGS for SEMI FIELD).

        2. Otherwise, power on the camera and the flash.

        3. Check that flash screen displays “1/1”.

        4. Check that the settings on camera screen are correct:

          1. As of 7/31/24, the camera settings to quickly check are on screen are:

            1. Top left corner: “M”

            2. From bottom left to bottom right: “1/200 F11 ISO100”

      11. Put sunshade on to keep the camera cool and dry if it drizzles a bit.

    • When finished for the day:

      1. Take off sunshade (cardboard with metal tape).

      2. Unplug the black USB cable attached to the SONY Camera.

      3. Unroute the USB cable.

      4. When unplugging the USB port, you MUST screw the cap back on all the way to prevent bugs from getting in. If damaged, the port will need to be replaced and will take a week.

      5. Unplug the other cable from the flash device and unscrew the connector from the green flash power.

      6. Screw a protective connecting cover onto the green cable to protect it from bugs.

      7. Place a small finger between the mounting bracket and camera mount and press down on the red button. Then, while pressing down, pull up on the camera mount and it will detach. 

      8. Take the 2 cables inside as they are not waterproof. Take in the camera and sunshade.

      9. Make sure to complete other “end of day” tasks such as the ones detailed in BBV3 Step by Step Operation.

...

  1. Be aware of your surroundings and of the terrain the BenchBot will traverse on.

  2. On the Dashboard, click start.

  3. On the 1st tab on the left sidebar: Set speed limit to 3 or 4 bars.

    1. MUST KEEP IT LOW or else the bot MAY FALL OVER. THE DEFAULT SETTING IS TOO HIGH.

  4. Do two preliminary E-Stop tests.

    1. Test that E-Stops are preventing Pendant-controlled movement from beginning:

      1. Press in an E-Stop.

        1. Do not press two E-Stops in at once. We are testing each one to make sure it works individually.

      2. Attempt to move the BenchBot forward or backwards using the Pendant (make sure it is a direction where you have room, in case anything goes wrong). The BenchBot should NOT move.

      3. If this test fails, that E-Stop is faulty and this issue should be resolved.

      4. If this test passes, clear that E-Stop and repeat the test for other E-Stops.

    2. Test that E-Stops are preventing Pendant-controlled movement that has already begun:

      1. Move the BenchBot in a direction where you have room.

      2. As you are moving it, have someone press in an E-Stop. The BenchBot should stop.

      3. Clear the E-Stop and repeat the test for other E-Stops.

  5. On the Amiga dashboard, click on the 3rd tab on the left sidebar. Turn on auto-control.

    1. The icon will turn from gray to orange/yellow. Now the Amiga is ready to be controlled by the BenchBot App on the BenchBot Brain.

    2. Auto-control may reset each time an E-Stop is used.

  6. On the Brain, click on BenchBot App on the Apps screen.

  7. Start on the 1st tab: Manual Control tab.

  8. We will check for 5 things to be working properly (X axis, Y axis, Z axis, image capture, and the Emergency Stops (E-Stops)).

    1. Before moving anything, make sure you have enough room to safely operate, so that even if you accidentally move the BenchBot in the wrong direction or if you press the movement buttons a few too many times, it will not go off course or hit something.

      1. Sometimes you will need to give yourself some more breathing room, especially for Y-axis movement.

      2. Tip: If a movement on a specific axis was set to too high of a distance, and let’s say the bot is moving too far in the Negative Y-axis to the point where it may hit something: another way to stop it (besides using an E-Stop) is to just click the opposite direction of that axis (for instance, 50cm in Positive Y if the bot is moving too far in the Negative Y direction). As of 7/18/24 for the NCSU BenchBot, this will stop the movement in the current direction, and go the newly specified distance in the other direction.

    2. Test the app-controlled X-axis movement a small amount: add 10cm, then click +X (positive X). Then click -X to check the negative direction.

      1. Note: Getting very close to the end sensor may cause problems, so you may want to move it a few centimeters away.

      2. Now test each E-Stop for the X-axis.

        1. Move the X-axis a decent distance like 50cm.

        2. Press in an E-Stop as it moves. It should stop.

          1. It should stop because of the E-Stop, not due to an error that has been found where sometimes Z-axis movement will stop short of the specified distance, or because you did not press the E-Stop in-time.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    3. Test the app-controlled Y-axis movement. Do a small amount like 20-30cm. Too small of a Y-axis movement will not work well. Check both directions.

      1. Now test each E-Stop for the Y-axis.

        1. Move the Y-axis a decent distance like 50cm.

        2. Press in an E-Stop as it moves. It should stop.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    4. Test the app-controlled Z-axis movement as well at a small amount like 5cm or 10cm. Check both directions.

      1. Now test each E-Stop for the Z-axis.

        1. Move the Z-axis a decent distance like 50cm

        2. Press in an E-Stop as it moves. It should stop.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    5. Finally done testing E-Stops. Now we know that Amiga Pendant-controlled movement (any direction in the Y-plane) and BenchBot App-controlled movement (X, Y, and Z axis) are stopped by each E-Stop individually.

    6. Check the camera by clicking “Take Image.” The flash should go off and the image should appear on screen in a few seconds.

      1. Check that the image exposure looks correct.

  9. If any E-Stops are not working, be sure to alert others who may be in the vicinity during operation. And those who may use/work on the BenchBot in the future.

  10. Make sure the X-axis, Y-axis and Z-axis are in correct locations as well before beginning.

    1. The Z-axis should be adjusted to where the camera lens is 1.8m above the dirt in the pots. Bring a measuring tape if needed.

  11. Skip over the 2nd tab.

  12. Go to the 3rd tab “Species Map”

    1. Adding more rows of species will add them on top of the previous rows. So plan accordingly by adding rows that are closest first and move further out.

      1. You can also add empty rows (use the “none” selection for species).

    2. Set pots per row, row spacing (Y-Axis), pot spacing (X-axis) and other settings.

    3. Click add species and the map will update.

    4. On the map, you can make some individual changes to pots.

      1. UNDO only works for entire rows, not individual pot actions.

    5. Verify everything by swiping and checking the screen.

    6. Click save to save map. “Species map saved!” will appear on screen.

  13. Go to 4th tab “Traversal”

    1. The map is shown in its final version on the right. It is uneditable on this screen.

    2. STARTING TRAVERSAL:

      1. Before starting, confirm there are no errors on the dashboard, that auto control is ready, and the speed is still 3-4 bars.

      2. Click Start on the traversal tab.

      3. Text logs will begin appearing. Images will show as they are taken on the bottom and on the map. If there are errors, it will show on the map.

      4. Watch and listen to make sure the bot is operating normally as it moves across the X-axis and traverses for the first time in the Y-axis.

    3. DURING TRAVERSAL:

      1. Make sure to check the bot every few minutes. Setting a timer may help. You may need to make sure the bot is not going off-course (to the left, right, or too far forward when the bot is almost complete with the run for the day) or that there are no errors.

      2. Check that the camera is taking photos (it will appear on screen) and flash is working.

    4. PAUSING:

      1. The bot will finish taking its last action before pausing.

      2. To confirm the bot is paused, after clicking pause, the log will show “Traversal paused” and the corner will show it is paused. 

      3. Clicking start after pause will start from where it left off.

    5. STOPPING:

      1. Stop will take some time like the pause button to finish the last action.

    6. LEFT AND RIGHT NUDGES:

      1. Left and right will provide small directional correction when the BenchBot is a bit off. 

      2. It will only take effect when the Y-axis is moving next. You can confirm that the left nudge was registered by looking at the logs. 

      3. No matter how many times you click, it will only nudge a single time. 

      4. If accidentally clicked left instead of right, just click right and it will move to the right (it acts according to the last selection). 

      5. However, if left or right is clicked, it cannot be deselected. The bot will nudge. In the future it will be updated.

    7. EXITING:

      1. Click exit to launcher. 

  14. To pause BenchBot for a short amount of time:

    1. Click “Pause” on Traversal screen.

    2. Press in an E-Stop. WARNING: For NCSU, only the carriage-mounted (middle) E-Stop fully works. Left-side E-Stop is not plugged in, right-side E-Stop does not function for the Y-Axis, and BenchBot App E-Stop does not function. This is a current error as of 6/25/2024.

    3. Have somebody trustworthy watch the bot.

  15. To restart in the middle of a run after stopping and exiting (not the same as pausing):

    1. Stop soon after a photo is taken on the right-most side of a row. Please try to not stop in the middle of a row. This is to limit duplicate images as the BenchBot will only restart after stopping/exiting on the right-hand side.

    2. Leave the Y-Axis as it is.

    3. When you come back, move the X-Axis to begin taking photos from the right-hand side. Match the starting X-Axis value from the beginning of the run so photos are all aligned correctly.

    4. Check other startup procedures (dashboard (speed and auto-control), species map, etc.).

    5. Start the BenchBot.

  16. To stop and exit the BenchBot for the day.

    1. Click “Stop” on Traversal screen.

    2. Click “Exit to launcher” on Traversal screen.

    3. Turn off Auto-Control on dashboard.

    4. Make sure the speed is low and move the BB to a good place.

    5. Press in a physical E-Stop. WARNING: For NCSU, only the carriage-mounted (middle) E-Stop fully works. Left-side E-Stop is not plugged in, right-side E-Stop does not function for the Y-Axis, and BenchBot App E-Stop does not function. This is a current error as of 6/25/2024.

    6. Turn batteries to LOCK and take them out.

    7. Return batteries, battery keys, cover USB ports on box, and remember to take the camera and other equipment as detailed other sections (such as hardware setup).

    8. Make sure irrigation is back on if it needs to run.

...