[chbot] Lightweight Linux,and serial

Robin Gilks robin at gilks.org
Tue May 30 11:12:31 BST 2017


>
> Something in
> http://technostuff.blogspot.co.nz/2008/10/some-useful-socat-commands.html
> might come in useful.

I second socat - every toolbox should have a copy!!


> On 30/05/2017, at 4:45 PM, Mark Atherton wrote:
>
>> Hi All,
>>
>> Just about to start poking serial commands at the Pan and Tilt head
>> (following on from a posting here, maybe a month ago), and would like
>> suggestions about a lightweight Linux distro to create the test patterns
>> from.
>>
>> The P&T unit has an unknown control protocol, but am pretty sure that
>> the signalling is RS232. There are at least three possible protocols, so
>> need an easy way to generate test data, and to examine returned serial
>> data.
>>
>> How well / simply implemented / fully buffered is serial data managed
>> when the OS receives (binary) messages ?
>>
>> Basically plan to send out a test message, wait maybe 20ms, then see if
>> any data has been received. If data is present, then dump it out as hex,
>> if not, then move onto the next test message.
>>
>> Since this is close to being a real-time application, am concerned about
>> of ease of checking for incoming messages, and of course, the
>> possibility of incoming bytes getting dropped.
>>
>> Messages each way are likely to be short (less than 10 bytes), and at
>> low speed (less than 57.6k baud).
>>
>> So, need a (preferably) lightweight Linux distro, which can be installed
>> on a laptop reasonably quickly, preferably has GCC pre-installed, and is
>> capable of being easily controlled from a win7 machine via a readily
>> available (free) remote desktop.
>>
>> Thoughts, comments, and observation please.
>>
>> -Mark
>>
>>
>>
>> _______________________________________________
>> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/chchrobotics
>> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
>> Meetings usually 3rd Monday each month. See http://kiwibots.org for
>> venue, directions and dates.
>> When replying, please edit your Subject line to reflect new subjects.
>
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for venue,
> directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
>


-- 
Robin Gilks zl3rob/g8ecj
Internet: g8ecj at gilks.org    http://www.gilks.org






More information about the Chchrobotics mailing list