Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #480613

Re: Creating serial or USB interface from standard PC

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups sci.electronics.design
Subject Re: Creating serial or USB interface from standard PC
Date 2017-10-06 20:30 +0000
Organization "JJ's own news server"
Message-ID <or8p5p$s42$1@gonzo.alcatraz> (permalink)
References <oqtlbi$4i4$1@l01news1.ot.hr>

Show all headers | View raw


On 2017-10-02, gm <notmy@mail.com> wrote:
> Hi to all.
> Let me explain weird subject text :-)
>
> I want to avoid using raspberry because it dindt pass basic tests for 
> app that i need to  design. Beside, i have to use HDD so PC is better
> solution.
>
> Anyways, i want to create some electronics that i can use as "GPIO"
> inputs/outputs but on standard linux based PC.
>
> The idea is to set some serial communication ( over some USB2serial 
> adapter ) or directly if possible.
>
> This device on serial port should read the state of arduino PIN's and 
> that's all. When the state changes java or python based desktop app
> will set some action ( print/send mail/record picture etc... )
>
> Ideas ?

A usb serial port has 5 inputs and 3 outputs.. all can be reached via
ioctl(), but they're kind of slow (~100ms delay)

Get one with TTL voltages for easier interfacing, or get an arduino
with one on-board (eg: "uno"), but they may not have all the i/o
available.


-- 
This email has not been checked by half-arsed antivirus software 

Back to sci.electronics.design | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Creating serial or USB interface from standard PC Jasen Betts <jasen@xnet.co.nz> - 2017-10-06 20:30 +0000
  Re: Creating serial or USB interface from standard PC Martin Riddle <martin_ridd@verizon.net> - 2017-10-06 19:11 -0400

csiph-web