I use the duino as a modbus master and RF module. My Pi talks to it on serial. I talk to temp controllers on modbus. I'll point you to that when I get it up on the repo.
C > On Jun 24, 2015, at 2:34 PM, Alex Shepherd <list...@ajsystems.co.nz> wrote: > > Hi Colin, > >> On 25/06/2015, at 1:44 am, Colin Reese <colin.re...@gmail.com> wrote: >> >> I recently wrote a simple software serial modbus master for use with an >> arduino attached to an rs485 transceiver, the max3485 IIRC. Not sure what >> you're talking with, but this is useful if you've got a serial port >> available. Haven't quite gotten around to writing it up but it's here. > > Is the Arduino the Slave or Master Modbus node in this instance? If you don’t > mind sharing the code then I’d take a look at it and maybe use parts of it. > > I had wondered about making a Arduino 1-Wire Slave device using one of the > emulation libraries and still might do that - not sure which way to jump yet. > > One good thing about making an Arduino 1-Wire slave is I can do a few other > things with the Arduino like make a bit of a Watch-Dog and if I don’t hear > from the 1-Wire Master for a while, I could change the PID Controller SV to a > lower/safe value if the heat load (House) has gone. The PID controller has 2 > SV values and they can be selected by a 5V digital input on the back of the > PID controller. > > The other option is to write some glue code (python maybe?) that is a Modbus > Master that sits between the PID Controller and talks to it via RS485/Modbus > and the owfs Server on my linux box. I still could add the Arduino as another > Modbus Slave as well. > > I was wondering if I used the owfs option: --fake=devices on owserver and > created a device that I was then able to update the value of via the OWNet > python API. > > Regards > > Alex Shepherd > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers