data_trasmitt_div

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times

data_trasmitt_div

Post by nuwan5213 »

hi all,
mr ben,

please check my flowcode attached and cct diagram .
my idea is getting keypad number and unit id via rs232 later 485 previosly you adviced.
this time i added extra barcode scanner branded as"metrologic" sending scan numbers via rs 232 .
i use one wire only Txto get number to ic in scan mode activated by user using toggle switch port A0.
if port A0 deactivated it will in number tansmitting mode and i built cct and working nicely..can i recive scaner data with my flow code program do it need modifications.please advice.

best regards,
nuwan
Attachments
data_device_mod_2.fcf
(14.5 KiB) Downloaded 206 times
data_div_mod2.JPG
(124.46 KiB) Downloaded 529 times
Electronics for better world.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: data_trasmitt_div

Post by Benj »

Hello,

I'm not sure it the circuit will work as is to allow you to receive data from the scanner. The problem is that the RX pin from the scanner will be fighting with the RX pin from the MAX232 chip. What you could do is something like this which will allow you to control the source to the RX pin on the microcontroller. You could probably replace the transistors with a logic multipler IC if this would be easier.
Attachments
op.jpg
op.jpg (9.38 KiB) Viewed 2338 times

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times

Re: data_trasmitt_div

Post by nuwan5213 »

hi ben,

ok i use 4016 ic for switching max and scanner.
scanner send string data and i can read directly via com port in pc.can we want to use voltage level matching before send data to ic pin.my scanner is metrologic model ms9540.

is the delay use in scanner mod enough to catch the scanner data and send with unit id.
i modified flowcode.plse check.
Attachments
data_device_mod_2.fcf
(17.59 KiB) Downloaded 204 times
data_div_mod_3.JPG
(128.03 KiB) Downloaded 508 times
Electronics for better world.

Post Reply