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


Groups > sci.electronics.design > #480313

Re: Creating serial or USB interface from standard PC

From piglet <erichpwagner@hotmail.com>
Newsgroups sci.electronics.design
Subject Re: Creating serial or USB interface from standard PC
Date 2017-10-04 22:16 +0100
Organization A noiseless patient Spider
Message-ID <or3j4b$5cs$1@dont-email.me> (permalink)
References <oqtlbi$4i4$1@l01news1.ot.hr> <oqtmq2$4lo$1@gioia.aioe.org> <oqtnu8$591$1@l01news1.ot.hr>

Show all headers | View raw


On 02/10/2017 17:02, gm wrote:
> The task is really simple.
>
> Arduino sends impulse when coin acceptor detects correct coin value.
> PC should print out the bill and take a picture
> -----------------------------------------
> On the other side, barcode scanner should read barcode and if the
> barcode is correct, program should send trigger to arduino to open
> the relay.
> -----------------------------------------
>
> So, you have two systems in one box.
> Coin acceptor / barcode scanner / printer / relay.
>
> Arduino is used for triggering relay and reading coin acceptor and
> PC for all the rest...
> ----------------------------------------
>
> I have done the same system with raspberry and it has worked OK but
> it isn't stable. SD card is additional problem. Anyhow, i want to avoid
> rsp alike systems.
>
> GM

You can get the cheapest-nastiest USB keyboard and hack it for simple 
I/O. The coin acceptor triggers a keypress and the scroll lock LED 
triggers the camera. Lot of easy O/S calls to change num/caps/scroll 
lock state exist and of course keyboard input is even easier to read.

piglet

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


Thread

Creating serial or USB interface from standard PC gm <notmy@mail.com> - 2017-10-02 17:18 +0200
  Re: Creating serial or USB interface from standard PC edward.ming.lee@gmail.com - 2017-10-02 08:24 -0700
  Re: Creating serial or USB interface from standard PC Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-02 08:27 -0700
  Re: Creating serial or USB interface from standard PC Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-10-02 16:42 +0100
    Re: Creating serial or USB interface from standard PC gm <notmy@mail.com> - 2017-10-02 18:02 +0200
      Re: Creating serial or USB interface from standard PC Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-02 09:13 -0700
      Re: Creating serial or USB interface from standard PC edward.ming.lee@gmail.com - 2017-10-02 10:13 -0700
      Re: Creating serial or USB interface from standard PC edward.ming.lee@gmail.com - 2017-10-02 10:26 -0700
      Re: Creating serial or USB interface from standard PC piglet <erichpwagner@hotmail.com> - 2017-10-04 22:16 +0100
        Re: Creating serial or USB interface from standard PC "Michael A. Terrell" <mike.terrell@earthlink.net> - 2017-10-11 15:02 -0400
          Re: Creating serial or USB interface from standard PC Jasen Betts <jasen@xnet.co.nz> - 2017-10-12 04:37 +0000
  Re: Creating serial or USB interface from standard PC Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-02 16:52 +0000
    Re: Creating serial or USB interface from standard PC gm <notmy@mail.com> - 2017-10-04 21:38 +0200
      Re: Creating serial or USB interface from standard PC mike <ham789@netzero.net> - 2017-10-04 13:06 -0700
      Re: Creating serial or USB interface from standard PC Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-05 08:45 +0000
  Re: Creating serial or USB interface from standard PC WangoTango <Asgard24@mindspring.com> - 2017-10-02 17:21 -0400
  Re: Creating serial or USB interface from standard PC David Brown <david.brown@hesbynett.no> - 2017-10-03 09:43 +0200
  Re: Creating serial or USB interface from standard PC Martin Riddle <martin_ridd@verizon.net> - 2017-10-03 18:25 -0400
  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