Welcome, Guest. Please login or register.


Author Topic: BoxSoft Mouse Interface (Read 40650 times)

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
    • http://enterprise.iko.hu/
Re: BoxSoft Mouse Interface
« Reply #180 on: 2015.March.08. 21:50:41 »
I read few months ago: driver update from the original USB-serial converter chip manufacturer kill the chinese clone chips.

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #181 on: 2015.March.08. 23:53:37 »
Not in this case, only it died connecting and disconnecting so many times. It lights the power led but the PC doesn't find it. Not a matter of drivers as I haven't changed them.

I think that clone Arduinos aren't made sturdy enough for my hard testing....
« Last Edit: 2015.March.09. 00:40:02 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #182 on: 2015.March.14. 18:33:32 »
In the Arduino documentation it is recommended to use only one of the +5v sources, the USB(PC programming side) or the host(the EP). But the adapter still works connected to the Enterprise so, I have left both the EP and the USB connected and then I've heard the familiar sound of Windows finding a new  device...

At the end the Chinese Arduino is not completely dead. I still can program it....

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #183 on: 2015.March.15. 20:59:04 »
I do not know if due to my own ignorance:smt102    or that I am trying to run two adapters in a row, but I can't fully tune the operation of the mouse.

I have a glitch in the movement of the cursor. It perfectly responds to the movement in all directions, but if I move the mouse down it goes left-down.

I have tested the Arduino side and the mistake is at the interpretation in the EP, probably due to some form of bouncing in the signals.

So.....I will attempt the direct connection of the Arduino....

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #184 on: 2015.March.15. 22:57:47 »
I was thinking of optocouplers, as them will give us total isolation of the Enterprise side, then it can see mere switches connected to its Joy1 port.

The program needs little modifications to light the leds, it can run almost the same.

I remember a Midi adapter with optocouplers I made for my Amiga 500+, and Midi operates at 31250 baud, fast enough for this project.

For the  STROBE signal(RTS) it can be connected directly as it can be referenced to +5v or 0v the same with the 10k and 82k resistors like in the Boxsoft's.

Then I need 6 optocouplers(4 ways and two buttons), but I need advice to select the best type for this task.

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #185 on: 2015.March.15. 23:31:16 »
This CNY74 is used in the Raspberry projects to move motors. It triggers at 1.25v, no problem, I can add a resistor, but better one that triggers higher to save components.

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 35.0 Firefox 35.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #186 on: 2015.March.16. 13:11:26 »
Zozo please, what optocoupler can I use to do it?

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
    • http://enterprise.iko.hu/
Re: BoxSoft Mouse Interface
« Reply #187 on: 2015.March.16. 18:38:20 »
Zozo please, what optocoupler can I use to do it?
Unfortunately I don't know, never used it :oops: :-(

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #188 on: 2015.March.16. 19:11:45 »
Ok, thanks. I will search the best option.

Another option, the PS2501.

Or the pc817.

Or TLP521.
« Last Edit: 2015.March.17. 16:02:39 by szipucsu, Reason: Contracting some short posts into a bigger one. »

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #189 on: 2015.March.17. 15:39:58 »
OK. it seems that all the optocouplers at hand have similar triggering voltage so I will opt for the  Sharp PC827 or clones.


In reality, I think Tim Box could have done a better mouse interface if there had been optocouplers at that time. His interface does the same task.

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #190 on: 2015.March.21. 01:54:15 »
Here you have the work in process of a mini-Boxsoft made with optocouplers.

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #191 on: 2015.March.23. 23:25:57 »
As a first attempt I have used three Sharp PC825, but they had proven too sensitive to (normal) noise. From the six buttons to simulate only three were stable, the other oscillated quickly even at idle....

This chip has a "Darlington" output, a regular transistor is aided to trigger by the optical sensitive transistor.

Today I bought what I wanted at first, three clones of the older Sharp PC827, fitted only with plain optical sensitive transistors.

Now it works as planed.

(edit: the 2 signifies 2 PC817 joined in a eight pin chip)
« Last Edit: 2015.March.23. 23:43:35 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #192 on: 2015.March.24. 16:32:10 »
This is the simplified schematic of my project.

Observe that in the case of the second fire button I am using "Keyboard K" on pin A2 of the Control 1 port instead of "Keyboard J" on pin A1.

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
    • http://enterprise.iko.hu/
Re: BoxSoft Mouse Interface
« Reply #193 on: 2015.March.25. 08:16:13 »
Wow! It is looks very simple!

Offline gflorez

  • EP addict
  • *
  • Posts: 2667
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 36.0 Firefox 36.0
    • View Profile
Re: BoxSoft Mouse Interface
« Reply #194 on: 2015.March.25. 10:33:56 »
Yes, it is.

It doesn't need logical gates and the uncommon EP side is perfectly isolated.

The operation as a joystick port is working.

I have limited time but I'll try putting a D-sub 9 pin connector to test the Neos mouse on it this night....