# 100% first timer here; Sunfounder Control Board confusing me with how pins relate to attach()

**URL:** https://forum.sunfounder.com/t/100-first-timer-here-sunfounder-control-board-confusing-me-with-how-pins-relate-to-attach/1158
**Category:** General Discussion
**Created:** [May 29, 2024, 7:34am UTC](https://forum.sunfounder.com/t/100-first-timer-here-sunfounder-control-board-confusing-me-with-how-pins-relate-to-attach/1158 "2024-05-29T07:34:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ammiller78](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/ammiller78/32/670_2.png) [@ammiller78](https://forum.sunfounder.com/u/ammiller78)
#### Post date: [May 29, 2024, 7:34am UTC](https://forum.sunfounder.com/t/100-first-timer-here-sunfounder-control-board-confusing-me-with-how-pins-relate-to-attach/1158/1 "2024-05-29T07:34:47Z")

</div>

I have my Arduino Nano hooked up to my Sunfounder Servo Control, and have just installed the IDE etc for the very first time, so I’m a 100% newbie – assuming I did something stupid is fair.

My issue:

With the Sunfounder servo control board, the attach(x) command doesn’t seem to match 1:1 with the pins 1-12 on the board. Specifically:

- Servo pin/set #1 sends signal only with command: servo.attach(2) → off by one ??
- pin #2 is servo.attach(3)
- pin #3 is servo.attach(4)
- pin #4 is servo.attach(5)
- pin #5 is servo.attach(6)
- pin #6 is servo.attach(7)
- pins #7-12 don’t respond to any attach commands … why?

Any tips would be greatly appreciated! Feeling like I’m missing something obvious.  
Oh also i’d love it if anyone could link me to the Sunfounder servo board instructions or diagram or anything – the product page has NOTHING that I could find, so I don’t even know how to troubleshoot this myself.

Many thanks!!

---

<div class="post-metadata">

### Author: ![ammiller78](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/ammiller78/32/670_2.png) [@ammiller78](https://forum.sunfounder.com/u/ammiller78)
#### Post date: [May 29, 2024, 4:51pm UTC](https://forum.sunfounder.com/t/100-first-timer-here-sunfounder-control-board-confusing-me-with-how-pins-relate-to-attach/1158/2 "2024-05-29T16:51:56Z")

</div>

Update w/answer: JBV from [engineezy.com](http://engineezy.com) (awesome site!!) shared the pin mappings with me, so I’ll post them here! Thanks, Jay!!

/\*

- Sunfounder Board Outputs
- Nano SunFounder | Nano Sunfounder
- D2 → 1 A0 → 7
- D3 → 2 A1 → 8
- D4 → 3 A2 → 9
- D5 → 4 A3 → 10
- D6 → 5 A4 → 11
- D7 → 6 A5 → 12
- 

\*/
