# Servo 2040 wifi add?

**URL:** <https://forums.pimoroni.com/t/servo-2040-wifi-add/19817>\
**Category:** Support\
**Created:** [July 8, 2022, 9:17am UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817 "2022-07-08T09:17:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pimpoldi](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pimpoldi](https://forums.pimoroni.com/u/Pimpoldi)\
**Post date:** [July 8, 2022, 9:17am UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817/1 "2022-07-08T09:17:03Z")

</div>

Hi There!  
I’m new to this forum. My name is Pim, from the Netherlands, and just started with a nice project.  
For this project I want to use the new Servo2040 from pimoroni. However, I need to add Wifi to this board to get Json data from an API and use this data to rotate servo motors.  
Since I just started programming, in Thonny, I don’t have a lot of knowledge about this case. I was wondering if anyone could advice me a wifi add on for the Servo2040? And maybe there is an example I can use to practise. I’ve searched for this but could not find anything unfortunately (maybe I don’t use the right search tags).

My first step is to connect to Wifi and request the data from the API.  
The next step is to structure this data in the right way so I can run a calculation.  
After that I will make the servo’s rotate the right amount of degrees according to the calculation.

I really hope someone has nice info for me.

Kind regards!  
Pim

---

<div class="post-metadata">

**Author:** ![assadollahi](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/assadollahi/32/9144_2.png) [@assadollahi](https://forums.pimoroni.com/u/assadollahi)\
**Post date:** [November 6, 2022, 3:35pm UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817/2 "2022-11-06T15:35:58Z")

</div>

I have the same problem. I’m tempted to add a Raspberry Pi Zero W to the project and communicate via USB serial with the servo controller. Thonny also runs on the Raspberry. Right now, I have my Ubuntu PC connected to the board in much the same way.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 6, 2022, 8:02pm UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817/3 "2022-11-06T20:02:20Z")

</div>

Same thing but different. I’m wishing there was an Interstate 75 WIFI?  
Or, like you two, an easy way to add WIFI to an RP2040 board.

---

<div class="post-metadata">

**Author:** ![assadollahi](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/assadollahi/32/9144_2.png) [@assadollahi](https://forums.pimoroni.com/u/assadollahi)\
**Post date:** [November 6, 2022, 8:23pm UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817/4 "2022-11-06T20:23:22Z")

</div>

oh don’t get me wrong, i’d love to see a Servo 2040 with WiFi included, but I think the chances that Pimoroni will build one are quite low. Unfortunately, I don’t see many people using the board although I think it’s the perfect (in fact: _the only_) Microphython operated servo controller. I’d also love to see on that can handle 24 servos, while we’re at it. I’m totally fed up with the old servo controllers that need compilation, have some nasty Win98 style servo controller software on the PC side or run BASIC etc.

---

<div class="post-metadata">

**Author:** ![hegdav70](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hegdav70/32/8036_2.png) [@hegdav70](https://forums.pimoroni.com/u/hegdav70)\
**Post date:** [November 16, 2022, 4:21pm UTC](https://forums.pimoroni.com/t/servo-2040-wifi-add/19817/5 "2022-11-16T16:21:37Z")

</div>

Firstly I’ll caveat this by saying I don’t have nor have I used the Servo 2040, so what I’m saying may be nonsense, but it looks from the schematic at [https://cdn.shopify.com/s/files/1/0174/1800/files/servo2040\_schematic.pdf?v=1648817752](https://cdn.shopify.com/s/files/1/0174/1800/files/servo2040_schematic.pdf?v=1648817752) that the servo pin headers are GPIO pins broken out and arranged nicely for connecting servos to.

I’d imagine you could use any of the UART pins (eg the default UART0 GP0 and GP1) and a serial connection to a cheap ESP01 module with its standard AT firmware to get wireless network connectivity - I’ve done that on normal Pico boards before the Pico W was a thing. There are plenty examples of doing this on t’internet eg [https://www.instructables.com/Webserver-Using-Pi-Pico-and-ESP01/](https://www.instructables.com/Webserver-Using-Pi-Pico-and-ESP01/)

Doing this would obviously mean you’d lose a couple of the servo connections, but honestly who needs 18 servos anyway ;)

Or you could get an I2C-UART module (there are a few around that aren’t expensive) and connect that to the “BG” connectors on the board and use that to connect to the ESP.

David
