# Section Control for sprayer

**URL:** <https://discourse.agopengps.com/t/section-control-for-sprayer/20907>\
**Category:** Section Control\
**Created:** [23 June 2026 13:48 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907 "2026-06-23T13:48:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoelCH](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@JoelCH](https://discourse.agopengps.com/u/JoelCH)\
**Post date:** [23 June 2026 13:48 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907/1 "2026-06-23T13:48:07Z")

</div>

Hi everyone,

I made a 7-section section control box using an Arduino, and I posted a short demo video here:

[![](https://discourse.agopengps.com/uploads/default/original/3X/e/5/e5404a5b1d6e693ea2c4d74b32b2d2a285fabea7.jpeg "AgOpenGPS DIY Section Control for Sprayer – Arduino Demo") ](https://www.youtube.com/watch?v=GjkuSguRTBg)

This project is largely based on MaxVD76’s SectionControl\_AgOpenGPS project:

> **[GitHub - MaxVD76/SectionControl\_AgOpenGPS: Complete section control solution using Ag Open...](https://github.com/MaxVD76/SectionControl_AgOpenGPS)**
>
> Complete section control solution using Ag Open GPS software and arduino controler. Could be adapted on old machineries, such as sprayer, hoeing machines or electrical planters.

I mainly modified the code to make it compatible with the latest AgOpenGPS version 6.8.5.

I hope this can be useful for others working on a similar DIY section control setup.

---

<div class="post-metadata">

**Author:** ![Lukaniu](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4bbf92/32.png) [@Lukaniu](https://discourse.agopengps.com/u/Lukaniu)\
**Post date:** [23 June 2026 17:24 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907/2 "2026-06-23T17:24:32Z")

</div>

Do you have a list of things you need?

---

<div class="post-metadata">

**Author:** ![JoelCH](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@JoelCH](https://discourse.agopengps.com/u/JoelCH)\
**Post date:** [23 June 2026 17:44 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907/3 "2026-06-23T17:44:38Z")

</div>

Yes, there is already a parts list here:

> <https://github.com/MaxVD76/SectionControl_AgOpenGPS/blob/main/Boitier%20(Harware)/Parts_AOG_SC_V0.9.ods>

Basically, you will need an Arduino and momentary switches, type (ON)-OFF-(ON). This is important: do not use switches that stay in position, because the code needs a short 5V signal, not a permanent signal.

You will also need 10k ohm pull-up resistors for the buttons, 220 ohm resistors for the LEDs, a relay module, and a 12V to 5V voltage regulator to power the relay module.

---

<div class="post-metadata">

**Author:** ![Lukaniu](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4bbf92/32.png) [@Lukaniu](https://discourse.agopengps.com/u/Lukaniu)\
**Post date:** [13 September 2026 13:44 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907/5 "2026-09-13T13:44:17Z")

</div>

Can you give me code to Arduino nano?

---

<div class="post-metadata">

**Author:** ![JoelCH](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@JoelCH](https://discourse.agopengps.com/u/JoelCH)\
**Post date:** [14 September 2026 10:29 UTC](https://discourse.agopengps.com/t/section-control-for-sprayer/20907/6 "2026-09-14T10:29:28Z")

</div>

[Coupure\_troncon\_V0.9.9.ino](https://discourse.agopengps.com/uploads/short-url/36dEgw1sUBVo9dJjksTdQkNpbSF.ino) (37,9 Ko)  
Here is the code.
