# I put together a new pcb box this week. But there's a problem that I don't understand

**URL:** <https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708>\
**Category:** PCB\
**Created:** [25 August 2020 20:15 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708 "2020-08-25T20:15:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [25 August 2020 20:15 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/1 "2020-08-25T20:15:06Z")

</div>

For reference I am using:  
PCB V2  
Cytron

Today I tried to run it in the tractor but as soon as I turn it on the tractor starts steering. I can override it by pressing the buttons on the Cytron, but as soon as I stop pressing the MA button it steers back in the MB direction. I unplugged the usb from the arduino to make sure the computer wasn’t telling it to steer, but that didn’t help. The part that confuses me is it stops steering if I take the arduino out. This made me think the arduino was bad so I swapped it out with one from a different box and it did the same thing.  
Any help would be much appreciated

---

<div class="post-metadata">

**Author:** ![Larsvest](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@Larsvest](https://discourse.agopengps.com/u/Larsvest)\
**Post date:** [25 August 2020 20:21 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/2 "2020-08-25T20:21:25Z")

</div>

Do you use the latest program, together with the latest ino.?  
And did you program and upload settings for nano that is set in AOG, to the nano?

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [25 August 2020 20:22 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/3 "2020-08-25T20:22:47Z")

</div>

Yeah I did.  
But would having that wrong actually be able to make it do that?

---

<div class="post-metadata">

**Author:** ![Larsvest](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@Larsvest](https://discourse.agopengps.com/u/Larsvest)\
**Post date:** [25 August 2020 20:24 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/4 "2020-08-25T20:24:13Z")

</div>

Yes set to ibt\_2 would.  
Or wrong wiring.

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [25 August 2020 20:26 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/5 "2020-08-25T20:26:07Z")

</div>

I have it set to cytron.

The way I have it wired is as follows:

Dir - Dir  
PWM 1 - PWM  
GND - GND

That was the first thing i checked though

---

<div class="post-metadata">

**Author:** ![Larsvest](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@Larsvest](https://discourse.agopengps.com/u/Larsvest)\
**Post date:** [25 August 2020 20:35 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/6 "2020-08-25T20:35:52Z")

</div>

And you did upload from arduino ino at first and then load changes from AOG later.  
Does the nano work (can it do the blink program.  
Sorry but it is too late so you won’t hear more from me till tomorrow.

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [25 August 2020 20:37 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/7 "2020-08-25T20:37:23Z")

</div>

Yes I loaded the program in and than sent the changes from aog after.  
And the nano does work

Thanks for helping btw

---

<div class="post-metadata">

**Author:** ![m\_elias](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.agopengps.com/u/m_elias)\
**Post date:** [25 August 2020 23:11 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/8 "2020-08-25T23:11:53Z")

</div>

What are you turning on that makes it starts steering?

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [26 August 2020 00:31 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/9 "2020-08-26T00:31:46Z")

</div>

The entire box  
Like I have the on off switch permanently crossed  
I just plug it in and it starts steering

One of the problems I think there’s a slim chance that it is is that AUX 1 and AUX 2 were crossed  
I uncrossed it but the tractor is at the tire shop now so I can’t know if it fixed it. I doubt that’s the problem though because it makes very little sense that that would have any effect on it

---

<div class="post-metadata">

**Author:** ![m\_elias](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.agopengps.com/u/m_elias)\
**Post date:** [26 August 2020 00:45 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/10 "2020-08-26T00:45:25Z")

</div>

I’m not sure what AUX 1/2 are. If my memory is correct, the only aux IO are for the ADS’s extra inputs. What happened if you unplugged the jumper from the Arduino’s PWM output to the Cytron?

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [26 August 2020 02:31 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/11 "2020-08-26T02:31:23Z")

</div>

It stopped steering

---

<div class="post-metadata">

**Author:** ![m\_elias](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.agopengps.com/u/m_elias)\
**Post date:** [26 August 2020 02:34 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/12 "2020-08-26T02:34:14Z")

</div>

Try connecting one pin at a time to the Cytron starting with gnd, then direction. Make sure you’re connecting the correct ones.

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [26 August 2020 02:35 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/13 "2020-08-26T02:35:30Z")

</div>

I don’t have the tractor rn but I’ll try that when it gets back

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [26 August 2020 21:40 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/14 "2020-08-26T21:40:49Z")

</div>

New development on this issue

I went to the tire shop and did some more tests  
It still does the same thing but when I tell it it has an ibt\_2 it stops having that problem

---

<div class="post-metadata">

**Author:** ![Larsvest](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@Larsvest](https://discourse.agopengps.com/u/Larsvest)\
**Post date:** [26 August 2020 22:46 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/15 "2020-08-26T22:46:02Z")

</div>

Time to tell us what AOG version, and exact name and date of autosteer ino you are using.

you can testdrive in sim and measure output to the dir, pwm1 and pwm2 when driving on A B line and activating turn to left or right and at same time watching ACT SET and Err in autosteer configuration or the steer chart. PWM is at bottom of autosteer configuration.

---

<div class="post-metadata">

**Author:** ![Confused](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/confused/32/1690_2.png) [@Confused](https://discourse.agopengps.com/u/Confused)\
**Post date:** [26 August 2020 22:51 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/16 "2020-08-26T22:51:58Z")

</div>

The tractor is still at the tire shop and I’m gone for the next 3 days so I’ll let you know then.

---

<div class="post-metadata">

**Author:** ![small\_hobby\_farmer](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@small\_hobby\_farmer](https://discourse.agopengps.com/u/small_hobby_farmer)\
**Post date:** [19 November 2020 09:10 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/17 "2020-11-19T09:10:08Z")

</div>

Hello,

I am running in the same issue (I can get motors only running in 1 direction, only max (configured) PWM output, the sensor input is working well but the PWM output and direction seem not to take it into account) I am using the “test drive” button in the autosteer config menu to test. When I switch steering direction in the settings the motors run in the opposite direction so the cytron is working well I think…

Is your problem solved, and how did you solve it? changing the “cytron” setting to “IBT2” seems not logic as a solution to me…

Thanks a lot!

FYI: I am using  
AGOpenGPS v4.3.10  
Arduino: Autosteer\_USB\_4.3.10  
PCB V2  
 ![test positioning wheels](https://discourse.agopengps.com/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Larsvest](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@Larsvest](https://discourse.agopengps.com/u/Larsvest)\
**Post date:** [19 November 2020 10:36 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/18 "2020-11-19T10:36:57Z")

</div>

To make sure I understand you correctly. When the red Rijd button is green, then you can make motor run in both directions by pressing the right and left arrows? Also you should add more min PWM

---

<div class="post-metadata">

**Author:** ![Kaupoi](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/ea5d25/32.png) [@Kaupoi](https://discourse.agopengps.com/u/Kaupoi)\
**Post date:** [19 November 2020 11:45 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/19 "2020-11-19T11:45:44Z")

</div>

Is your WAS properly mounted and centered?

---

<div class="post-metadata">

**Author:** ![Jhmach](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@Jhmach](https://discourse.agopengps.com/u/Jhmach)\
**Post date:** [19 November 2020 14:27 UTC](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708/20 "2020-11-19T14:27:27Z")

</div>

Check that the red LED, MA and MB are lighting as you switch direction and increase error. If they are, check output voltage for both directions. If LED’s are not switching, check connection fron Dir pin. Dir pin should have voltage for one direction, and none for the other.  
Please post results

[Next page](https://discourse.agopengps.com/t/i-put-together-a-new-pcb-box-this-week-but-theres-a-problem-that-i-dont-understand/2708.md?page=2)
