USB haas operator panel interface

More
23 Aug 2020 18:29 #179128 by dyntar
Hello , is any new about this problem ?
This is super idea to use haas keybord panel. Im working on this machine and im satisfied with this panel.
I want to use this or similar keybord panel on my cnc.

Please Log in or Create an account to join the conversation.

More
23 Aug 2020 18:47 #179130 by cmorley
What problem are you referring to?
The only problem I'm aware of is finding a keyboard that is cheap enough.

Please Log in or Create an account to join the conversation.

More
23 Aug 2020 19:10 #179131 by cmorley
Here are some connection pics.
One pic is too big to post I'll see if I can downgrade it...

Attachments:

Please Log in or Create an account to join the conversation.

More
23 Aug 2020 19:27 #179133 by cmorley


Ok here is the other pic.
I'm holding a speaker I salvaged from a motherboard.
There is a momentary button out of the picture used to set the mega's USB chip into upload mode.
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 05:55 #179191 by dyntar
Hello,
thank you for some pictures.
Is the keyboards working similar on the haas system ? or you are using keyboard and some other touchts ?
how looks your home window in EMC for this keyboard ?

Please Log in or Create an account to join the conversation.

More
25 Aug 2020 01:23 #179295 by cmorley
As programmed, the keyboard works like a USB keyboard.
I wanted it to work while I booted the computer.
How you use it is up to you and the linuxcnc software you use with it.

Of course you could reprogram the mega to use the keyboard in another way if you like.

Please Log in or Create an account to join the conversation.

More
05 Dec 2020 01:57 - 05 Dec 2020 02:12 #191096 by vatso
Great work

I would like to do the reverse - connecting a keyboard / Arduino into a Haas.

I am not smart enough to do this on my own - could someone reach out to help? would this just work rather then waiting for an input it outputs on the pins?
Last edit: 05 Dec 2020 02:12 by vatso.

Please Log in or Create an account to join the conversation.

More
14 Feb 2021 01:38 #198772 by cmorley

fupeama wrote: Hi,

long time ago I try to "hack" sserial. It is posible.
I had to make new firmrware for my 7i76e, because i need ttl on p2 no rs485. Than I used logic analyzer and listen communication between 7i76e and 7i73
after a long time and many attempts my stm32f1 and 7i76e speeks together. Then I migrated to stm32f4, because f1 have not enough pins for keyboard, encoders etc.
(atmega is fine, but not for fast communication on 2,5Mb speed)
here is a very simple example.and log file from analyzer.




File Attachment:

File Name: rozbor.rar
File Size:1,446 KB


and source code made in stm32cubemx and uvision arm keil for f1 (no keyboard attached only sserial communication) and f4 (keyboard attached)
only for ilustration. I am not programmer.

File Attachment:

File Name: stm.rar
File Size:35 KB

Martin


Hey Martin - i'm finally getting back to this but seem to be overwhelmed with the STM IDE process.
wonder if you could do some hand holding for me.
I see someone started an arduino library(which might be easier for many) but it seems incomplete:
github.com/fdarling/mesa-smartserial-device-template

I have blue pill f1 (and some blackpill f4 coming).
I would like to make a Sserial to VFD interface.

Chris

Please Log in or Create an account to join the conversation.

More
18 Feb 2021 11:28 #199235 by andypugh

cmorley wrote: I see someone started an arduino library(which might be easier for many) but it seems incomplete:
github.com/fdarling/mesa-smartserial-device-template


I guess that you mean using the Arduino IDE with an STM32?

Please Log in or Create an account to join the conversation.

More
19 Feb 2021 00:56 #199363 by cmorley
It seems it is a complete example but was for teensy? micro.
i am trying to adapt it to the stm32.

I found the STM IDE too complicated to attempt this - I there is a lot of moving parts to get right just to start to program it.

Using the Arduino with STM would be a lower bar for people to experiment.

Please Log in or Create an account to join the conversation.

Time to create page: 0.265 seconds
Powered by Kunena Forum