Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

A rotary knob

5 posters

Go to page : 1, 2  Next

Go down  Message [Page 1 of 2]

1A rotary knob Empty A rotary knob Sat Feb 05, 2022 12:15 pm

marjan.mrak



Hello,

I propose an "endless rotary "knob" with "turning direction" and "steps" outputs.

PROPERTIES:
- "step" can be set in properties as like "pulses per full circle"

OUTPUTS:
- direction (0/1: left/right)
- pulse output: emitting pulse per "step"

Marjan



Last edited by marjan.mrak on Sun Feb 06, 2022 9:58 am; edited 1 time in total

2A rotary knob Empty Re: A rotary knob Sat Feb 05, 2022 5:34 pm

arcachofo

arcachofo

There is a rotary encoder: KY40 in Micro->perifericals.
But it's not configurable.

A generic and configurable one could be useful...
Let me think about it.

3A rotary knob Empty Re: A rotary knob Sat Feb 05, 2022 9:23 pm

marjan.mrak



Thank you.

4A rotary knob Empty Re: A rotary knob Mon Feb 07, 2022 6:19 am

marjan.mrak



Actually, it should be just like those on the scope and logic analyzer are.

5A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 6:49 pm

arcachofo

arcachofo

Hi.

KY040 has been refactored as a generic relative rotary encoder.
By now only the number of step per rotation is configurable.

Done at Rev 961.

Sergei likes this post

6A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 8:51 pm

marjan.mrak



After bzr pull, qmake and make, I got this:

make: *** No rule to make target '../src/icons/components/touch.png', needed by 'qrc_application.cpp'.  Stop.

It's R962.

Regards,
Marjan

7A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 9:00 pm

arcachofo

arcachofo

Sorry, missing file added at Rev 963.

8A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 9:30 pm

marjan.mrak



Much obliged, it builds now.

However I can't find any configuration fields in a KY040's properties dialog.

9A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 9:39 pm

arcachofo

arcachofo

Property "Steps":

A rotary knob Ky04010

10A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 9:50 pm

marjan.mrak



Sorry, haven't learned how to insert/upload an image yet.

This is what I get.
Attachments
A rotary knob Attachmentky-040.zip
You don't have permission to download attachments.
(14 Kb) Downloaded 3 times

11A rotary knob Empty Re: A rotary knob Fri Feb 18, 2022 10:09 pm

arcachofo

arcachofo

I did a clean bzr branch from repository and it's working ok.

Are you sure your local copy is updated?

12A rotary knob Empty Re: A rotary knob Sat Feb 19, 2022 9:32 am

marjan.mrak



Well, it says:

bzr pull
Using saved parent location: http://bazaar.launchpad.net/~arcachofo/simulide/1.0.0/
No revisions or tags to pull.

bzr revno                                    
963


make clean did not help. This would be for the first time, that something didn't update.

Then I made a fresh bzr pull. That updated KY040 settings.

arcachofo likes this post

13A rotary knob Empty Re: A rotary knob Sun Jun 26, 2022 3:15 pm

Sergei



arcachofo wrote:Hi.

KY040 has been refactored as a generic relative rotary encoder.
By now only the number of step per rotation is configurable.

Done at Rev 961.
Hi.
Please add the ability to enable this element in board mode.

if I understood correctly:
file(ky040.cpp) -> KY040::KY040 -> add line( m_graphical = true; )

And thanks

14A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 8:48 am

Alex68

Alex68

A rotary knob 2022-230
A rotary knob 2022-231
A rotary knob 2022-232


Sorry, I don't know how to insert schema files.
 Links are clear.

Anchor motor control with an encoder is shown. Output two pulses per revolution. First forward one impulse, then the second impulse - back. Then we turn in the opposite direction until the engine is turned off.
 If you leave just a counter without an engine. And take out for example on the encoder 15 imp. per revolution, the counter will output the binary code forward and backward. At the bottom right of the encoder is a counter reset button.



Last edited by Alex68 on Tue Jun 28, 2022 4:47 pm; edited 6 times in total

15A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 9:57 am

n3645



Alex68 wrote: Sorry, I don't know how to insert schema files.

Make a zip archive with files. There is a list of extensions which are acceptable which can be seen on this page bottom. Also, limitation is that file need to be under 50KB per each attachment.

16A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 2:37 pm

Alex68

Alex68

n3645 wrote:
Alex68 wrote: Sorry, I don't know how to insert schema files.

Make a zip archive with files. There is a list of extensions which are acceptable which can be seen on this page bottom. Also, limitation is that file need to be under 50KB per each attachment.


Archive with a file on the desktop -4kb.
But how to insert it? Show - what where to click in the editor.
I used to insert archives with files through Yandex disk. Gave a link. Everything was set up here.
Thank you.

17A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 2:51 pm

n3645



There is nothing related with attachments in the text editor on this forum. That is not how I used to work with different forums as well...

Instead, scroll down on the page when finish reply (before send), there is section "Attach file" where you can upload files, I believe one by one... Click on "Choose file", then "Submit"...

Also you can edit and add more files.

Yes, I cannot more to agree that is more than complicated simple thing. But it is free...

18A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:15 pm

Alex68

Alex68

On other forums, everything is set instantly.
Here I put "attach the file" - it is included. I click send. But it's not in the post.
I asked why. I had this problem before too.
Link from jand. disk is installed.

19A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:28 pm

n3645



You have to click on "Choose file", then "Submit" file button, look is it listed and then sent the message.
Only then it will accept it.

Often, I had a problem with as well, if file is larger than 50KB. I believe then nothing is reported, just ignored.

20A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:33 pm

Alex68

Alex68

There is no file in the post.A rotary knob 2022-233
A rotary knob 2022-234

21A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:44 pm

n3645



It does not accept rar archive. Attachment have to be one of this:
Code:

3g2, 3gp, bmp, doc, docm, docx, gif, jpg, m4a, m4v, mov, mp3, mp4, mpg, pdf, png, pps, ppt, pptm, pptx, swf, tif, txt, wma, wmv, xls, xlsb, xlsm, xlsx, zip

EDIT: I have added one screenshot in zip archive this way, when I reduced its size.
Attachments
A rotary knob Attachment2022-232.zip
You don't have permission to download attachments.
(47 Kb) Downloaded 0 times
A rotary knob Attachment2022-232 - русские буквы.zip
You don't have permission to download attachments.
(47 Kb) Downloaded 0 times



Last edited by n3645 on Mon Jun 27, 2022 3:59 pm; edited 1 time in total

22A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:48 pm

Alex68

Alex68

For example, on the KAZUS forum, I can send an archive weighing 5 megabytes. without notifying the moderator. If the archive is larger then the moderator can give a command to exceed.A rotary knob 2022-235

23A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 3:53 pm

n3645



Unfortunately, 50KB is limit here for attachment and is limited to specific extension in order to accept it...

Than is enough here for sim files and firmware sources packed in one zip file, as is hosted on disk there, not on "cloud server" as is mandatory for images

24A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 4:00 pm

n3645



I have also though it does not accept Russian letters (UTF, thought), but it does - added in the message with attachment.

25A rotary knob Empty Re: A rotary knob Mon Jun 27, 2022 4:06 pm

Alex68

Alex68

So I have one sim file in the archive.
In general, some kind of misunderstanding with the reception.
Then you will have to give a link to my YANDEX disk on some other large schemes. Just do not want to produce a disk with all sorts of schemes.
Thank you for your clarifications.

Sponsored content



Back to top  Message [Page 1 of 2]

Go to page : 1, 2  Next

Permissions in this forum:
You cannot reply to topics in this forum