# I started yesterday with particle photon and ported my Autosampler code quite easily

**URL:** <https://community.particle.io/t/i-started-yesterday-with-particle-photon-and-ported-my-autosampler-code-quite-easily/26583>\
**Category:** Firmware\
**Created:** [October 17, 2016, 5:23pm UTC](https://community.particle.io/t/i-started-yesterday-with-particle-photon-and-ported-my-autosampler-code-quite-easily/26583 "2016-10-17T17:23:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1bit](https://avatars.discourse-cdn.com/v4/letter/1/d6d6ee/32.png) [@1bit](https://community.particle.io/u/1bit)\
**Post date:** [October 17, 2016, 5:23pm UTC](https://community.particle.io/t/i-started-yesterday-with-particle-photon-and-ported-my-autosampler-code-quite-easily/26583/1 "2016-10-17T17:23:05Z")

</div>

I ported my code for this unit and it runs fine. It runs a sequence for these pumps and valves, and manipulates the lights; It also parses a serial string for the remote analyzer… I am trying to decide on a hard Ethernet bridge option to go with the wireless photon. I want to make it into a bridge for other non wireless devices e.g. another project talking MODBUS TCP. The other happens to be a Mega2560 as was this project before porting. I used to use mudbus for the arduino and I know that there is a mudbus wifi library. Has anyone used it on particle???

I did use the neopixel library and did get the Sparkfun 7 segment ( Arduino I2C slave) i also have a nano I2c slave running the pumps. I guess I could slave the mega too just for the hard MODBUS port W5100.

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/7/70cabf24ccd2f59c6fc18fd9182df1f685672c5e.jpg)
