It seems I have been caught by the Chinese new year holidays as my Cubie has estimated delivery at end March to early April. Bummer

So to keep things Blackbox interesting I bought an Arduino Mega2560 to play with, gave up then got an Arduino DUE. This is much more interesting as its based on the Atmel ARM Cortex M3 cpu.
I was trying to get one web page that displayed info and running data on two or more Classics but even with the Mega2560 4 h/w serial ports and an rs232 connection to each Classic the task proved near impossible. Running two or more parallel modbus processes (state machines) was just not going to work because the modbus RTU timing and retrying is very timing critical. Definitely in the bloody difficult category

Anyway this is not really what modbus libs were designed for. The topology is for multiple slave devices on one bus where each device ID is unique and a master's state machine can poll them as required.
The Classic only provides rs232 serial which is a point to point physical layer so proper multi system polling over rs232 appears (is) impossible.
So to progress with this use of serial communications I have installed several rs485 converters on Classics and have an rs485 arduino shield that I used on the Mega2560
RS485 is a serial connection which can connect multiple other RS485 devices to a shared physical cable (bus) - better descriptions on google
The RS485 for Classic is a bit more tedious to implement. I have used a small MAX232 pcb (that also has the needed max232 circuitry) to shift rs232 signals to TTL logic levels then connected another TTL to RS485 converter ( that uses a MAX485 and required circuitry).
These tiny converter circuit boards are from Ebay and cost a dollar or so each - and most importantly they do seem to work.
The next stage is now getting the modbus lib on the Arduino M3 to extract the data from several rs485 bussed Classics and present it in a not so simple web page.
I have noticed that even just the 16mhz Mega2560 cpu can do a simple web server page refresh rate of about once per 4 seconds, Getting pretty close to a real time display.
The first couple of tests using rs232 on the 84Mhz Cortex M3 get this to nearer every 2 to 2.5 seconds, I have not done the sums yet but maybe this is approaching the rs232 baud rate capabililty or past it already, or maybe not

Perhaps if I replace the sketch usage of FLOAT types and do string/integer manipulation to display Classic data numbers not only would the annoying trailing real number zero after the decimal point be gone but the script might run even faster for a few millis faster page refresh rate

dgd
Cheeky note for boB, next revision of Classic change one of those rs232 serial ports for RS485, betcha its dead easy to do
