I would like to connect a TCP/IP enabled barcode scanner to an arduino to be able to read and display scanned codes.
Already did it with a RS232 one, any suggestion will be more than welcome.
Juraj
October 13, 2021, 1:51pm
2
do you have a link to a documentation for the scanner?
what networking shield/module do you plan to use?
It is cognex dm8072-dl with base
Thanks
Juraj
October 14, 2021, 5:33am
4
it uses Modbus TCP. that is simple to read but you need the documentation for the Modbus addresses
here I have an Arduino project which uses Modbus TCP with Ethernet library.
/*
This Arduino sketch is for DIY "SG Ready" adapter for Stiebel Eltron ISGweb.
The ISGweb device is Internet Service Gateway for Stiebel Eltron heat pumps.
The ISGweb doesn't have physical SG Ready input pins, but SG Ready inputs
can be be controlled over Modbus TCP.
This sketch reads a state of digital input input pin of Arduino and sets
the state over Modbus TCP to SG Ready INPUT1 register of ISGweb.
Network shield, module or on board TCP/IP networking capability is required.
Ethernet library for Wiznet W5x00 chips or UIPEthernet library for enc28j60.
It is easy to adapt the sketch for one of WiFi libraries for Arduino.
To access the adapter over network point telnet client to the IP of the adapter
and port 2323.
Copyright 2020 Juraj Andrassy https://github.com/jandrassy
This sketch is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This file has been truncated. show original
system
Closed
April 12, 2022, 5:33am
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.