# Machine Control Board - USB

**URL:** <https://discourse.agopengps.com/t/machine-control-board-usb/1441>\
**Category:** Section Control\
**Created:** [24 March 2020 18:43 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441 "2020-03-24T18:43:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [24 March 2020 18:43 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/1 "2020-03-24T18:43:05Z")

</div>

I’ve made the schematic for the USB Machine Board. Quite simple to assemble point to point even.

**See corrected schematic below**

![MachineUSB_Schematic](https://discourse.agopengps.com/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![ikidd](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/i/f04885/32.png) [@ikidd](https://discourse.agopengps.com/u/ikidd)\
**Post date:** [24 March 2020 18:56 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/2 "2020-03-24T18:56:09Z")

</div>

Have you looked at the SK21 board? It looks pretty similiar and would just need a different ino. It’ll use USB regular Nano or the Nano33 IOT

---

<div class="post-metadata">

**Author:** ![Mdmcurt](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@Mdmcurt](https://discourse.agopengps.com/u/Mdmcurt)\
**Post date:** [25 March 2020 01:53 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/3 "2020-03-25T01:53:32Z")

</div>

Hi Brian, looks good. Couple questions.  
Do I need the LM2596 or could I power it off the 5volts that is available on the autosteer PCB board, or is there too much draw?  
Is the nano being powered by the USB?  
On the relay module there is a vcc jumper, do you know what that is for?  
Thanks for the wiring diagram, I just have a 4 channel now was just going to do left and right sectional, then end row lift so hoping 4 channels will do it

---

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [25 March 2020 04:51 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/4 "2020-03-25T04:51:15Z")

</div>

I would just add another LM2596 and then you are good. Power the nano with the usb then since all the real power needs will be powered by the supply, the nano will use almost nothing.

I’m not sure what the vcc jumper is for exactly on your particular board for sure, they are all a little different and quirky, but here is a good description that might match yours. One way is fully isolated, the other not. Adjust the schematic accordingly.

[http://arduinoinfo.mywikis.net/wiki/ArduinoPower#Optically-Isolated\_Relays](http://arduinoinfo.mywikis.net/wiki/ArduinoPower#Optically-Isolated_Relays)

And another good one here:

[http://yourduino.com/sunshop//index.php?l=product\_detail&p=201](http://yourduino.com/sunshop//index.php?l=product_detail&p=201)

---

<div class="post-metadata">

**Author:** ![Mdmcurt](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@Mdmcurt](https://discourse.agopengps.com/u/Mdmcurt)\
**Post date:** [25 March 2020 18:49 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/5 "2020-03-25T18:49:02Z")

</div>

The LM2596 is on its way! Changed back to 8 channel relay board seeing I had it in a bag anyway. My WAS is on right side of pic, it’s a honeywell magnetic so we well see how well it works on pivot of 4wd  
 ![image000000_03~2](https://discourse.agopengps.com/images/transparent.png)

Thanks Brian

---

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [25 March 2020 19:00 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/6 "2020-03-25T19:00:04Z")

</div>

The one thing that isn’t in the code is if the relays are inverted, like 1 is off and 0 is on. Can add the code as req’d to make that work “upside down” if needed

---

<div class="post-metadata">

**Author:** ![MTZ8302](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@MTZ8302](https://discourse.agopengps.com/u/MTZ8302)\
**Post date:** [28 March 2020 05:58 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/7 "2020-03-28T05:58:50Z")

</div>

you can use the all in one section control code. In the setup zone of the code you can set SectRelaysON = 0 so they spray on low. If You don’t use switches, set everything about them to false

> **[GitHub - mtz8302/AOG\_SectionControl\_Arduino\_Nano: AgOpenGPS: module for...](https://github.com/mtz8302/AOG_SectionControl_Arduino_Nano)**
>
> AgOpenGPS: module for arduino nano doing section control (16 sections), switches to remote AOG - GitHub - mtz8302/AOG\_SectionControl\_Arduino\_Nano: AgOpenGPS: module for arduino nano doing section c...

---

<div class="post-metadata">

**Author:** ![Richardklasens\_admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/richardklasens_admin/32/22279_2.png) [@Richardklasens\_admin](https://discourse.agopengps.com/u/Richardklasens_admin)\
**Post date:** [28 March 2020 07:32 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/8 "2020-03-28T07:32:46Z")

</div>

I heard already people asking that, are coming from Cerea

---

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [28 March 2020 13:54 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/9 "2020-03-28T13:54:47Z")

</div>

You can also just run the relays with VCC and signal and use the optoisolator built in for isolation rather then pulling signal low and common ground.

This is the proper way to use those relay boards [http://arduinoinfo.mywikis.net/wiki/ArduinoPower#Optically-Isolated\_Relays](http://arduinoinfo.mywikis.net/wiki/ArduinoPower#Optically-Isolated_Relays)

---

<div class="post-metadata">

**Author:** ![SK21](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SK21](https://discourse.agopengps.com/u/SK21)\
**Post date:** [28 March 2020 14:32 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/10 "2020-03-28T14:32:12Z")

</div>

Would one of the power supplies need to be an isolated power supply such as:

> **[RFM-0505S Recom Power | Power Supplies - Board Mount | DigiKey](https://www.digikey.com/en/products/detail/recom-power/RFM-0505S/8550767)**
>
> Order today, ships today. RFM-0505S – Isolated Module DC DC Converter 1 Output 5V - - - 200mA - - 5V Input from Recom Power. Pricing and Availability on millions of electronic components from Digi-Key Electronics.

---

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [28 March 2020 17:20 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/11 "2020-03-28T17:20:14Z")

</div>

No, with proper grounding, the current draw from the relays is not seen in the autosteer board ground if used as opto input type relay

---

<div class="post-metadata">

**Author:** ![BrianTee\_Admin](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briantee_admin/32/7_2.png) [@BrianTee\_Admin](https://discourse.agopengps.com/u/BrianTee_Admin)\
**Post date:** [28 March 2020 17:54 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/12 "2020-03-28T17:54:15Z")

</div>

The new updated schematic. Now a low turns on the relay, and its isolated, best of both worlds. You can still use the +5 from the nano if you only have a couple of relays, just connect Nano +5 to JD-Vcc.

![MachineUSB_Schematic](https://discourse.agopengps.com/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![kansasfarmer](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/kansasfarmer/32/16265_2.png) [@kansasfarmer](https://discourse.agopengps.com/u/kansasfarmer)\
**Post date:** [22 April 2020 00:54 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/13 "2020-04-22T00:54:03Z")

</div>

Is it possable to use an nano 33 IOT in place of a plain NANO. When i try to upload machine usb to it i get this message

Arduino: 1.8.12 (Windows 10), Board: “Arduino NANO 33 IoT”

Machine\_USB:9:12: fatal error: EEPROM.h: No such file or directory

#include \<EEPROM.h\>

```
        ^ ~~~~~~~~~

```

compilation terminated.

exit status 1  
EEPROM.h: No such file or directory

This report would have more information with  
“Show verbose output during compilation”  
option enabled in File → Preferences.

---

<div class="post-metadata">

**Author:** ![SK21](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SK21](https://discourse.agopengps.com/u/SK21)\
**Post date:** [22 April 2020 00:55 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/14 "2020-04-22T00:55:29Z")

</div>

The Nano33 doesn’t have eeprom. So it won’t work with an ino for the Nano that uses eeprom.

---

<div class="post-metadata">

**Author:** ![kansasfarmer](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/kansasfarmer/32/16265_2.png) [@kansasfarmer](https://discourse.agopengps.com/u/kansasfarmer)\
**Post date:** [22 April 2020 00:56 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/15 "2020-04-22T00:56:49Z")

</div>

Ok their is no quick change in program to make it work?  
thanks

---

<div class="post-metadata">

**Author:** ![SK21](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SK21](https://discourse.agopengps.com/u/SK21)\
**Post date:** [22 April 2020 00:59 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/16 "2020-04-22T00:59:00Z")

</div>

There is no quick change. There is a work around. Just looking for it now.

---

<div class="post-metadata">

**Author:** ![SK21](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SK21](https://discourse.agopengps.com/u/SK21)\
**Post date:** [22 April 2020 01:01 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/17 "2020-04-22T01:01:57Z")

</div>

I believe you can use this:

> **[GitHub - cmaglie/FlashStorage: A convenient way to store data into Flash...](https://github.com/cmaglie/FlashStorage)**
>
> A convenient way to store data into Flash memory on the ATSAMD21 and ATSAMD51 processor family - GitHub - cmaglie/FlashStorage: A convenient way to store data into Flash memory on the ATSAMD21 and ...

---

<div class="post-metadata">

**Author:** ![MTZ8302](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@MTZ8302](https://discourse.agopengps.com/u/MTZ8302)\
**Post date:** [24 April 2020 04:48 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/18 "2020-04-24T04:48:30Z")

</div>

I have a rewrite for Nano33Iot and I’m using it on my sprayer:  
It works on ESP32 and Nano33iot.

supports

- switches
- relays or documentation only
- 2 independent WiFi networks
- Webinterface

based on the WEder circuit, but adjustable pinout

> **[GitHub - mtz8302/AOG\_SectionControl\_ESP32: Section Control for AgOpenGPS for...](https://github.com/mtz8302/AOG_SectionControl_ESP32)**
>
> Section Control for AgOpenGPS for ESP32 supporting 16 sections and switches to remote AOG - GitHub - mtz8302/AOG\_SectionControl\_ESP32: Section Control for AgOpenGPS for ESP32 supporting 16 sections...

---

<div class="post-metadata">

**Author:** ![wwfarm](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/w/bc79bd/32.png) [@wwfarm](https://discourse.agopengps.com/u/wwfarm)\
**Post date:** [25 April 2020 02:44 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/19 "2020-04-25T02:44:04Z")

</div>

Would this be set up to work with machine control? I need 2 relays for hydraulic lift and 2 for section control?

---

<div class="post-metadata">

**Author:** ![MTZ8302](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@MTZ8302](https://discourse.agopengps.com/u/MTZ8302)\
**Post date:** [25 April 2020 10:55 UTC](https://discourse.agopengps.com/t/machine-control-board-usb/1441/20 "2020-04-25T10:55:02Z")

</div>

The code above is for section control. If you need hydraulic lift, it might be supported by the autosteer code, as well as the section control as output only.

[Next page](https://discourse.agopengps.com/t/machine-control-board-usb/1441.md?page=2)
