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

SIDE 1185. SPEED TEST

2 posters

Go down  Message [Page 1 of 1]

1SIDE 1185. SPEED TEST Empty SIDE 1185. SPEED TEST Thu May 19, 2022 11:41 am

Defran

Defran

Look the speed to present the data in Serial Monitor in both position of the switch... Power supplies with 4,96v and 0,96v.

SIDE 1185. SPEED TEST 2022-015
Attachments
SIDE 1185. SPEED TEST AttachmentTEST_SPEED.zip
You don't have permission to download attachments.
(4 Kb) Downloaded 2 times

2SIDE 1185. SPEED TEST Empty Re: SIDE 1185. SPEED TEST Thu May 19, 2022 6:53 pm

arcachofo

arcachofo

Look the speed to present the data in Serial Monitor in both position of the switch... Power supplies with 4,96v and 0,96v.
Have you seen when wheels or any rotating thing look still or even rotating backwards in a movie or video?

3SIDE 1185. SPEED TEST Empty Re: SIDE 1185. SPEED TEST Thu May 19, 2022 8:55 pm

Defran

Defran

I can tray it, but i am not experet in this kind of things. I include soft and schematic in order that You can reproduce it to your covenience with a minimal effort on your part, kmowing that You are very busy...

What I see in this case is that at 1 V aprox, serial Monitor shows the values very fast, but at 5 v aprox, it is very, very slow. In this last case it takes to reproduce 5 digits around 4 o 5 seconds. It is very rare.

4SIDE 1185. SPEED TEST Empty Re: SIDE 1185. SPEED TEST Thu May 19, 2022 9:03 pm

Defran

Defran

From 4,94  V to 5 v it is when it canges to be slow. In other lower values it is fine. It is very difficult to move the pot wheel to appeciate tenths of volt, this is de reason Why I ask you for linear pots, but that is an other subject for the moment.

5SIDE 1185. SPEED TEST Empty Re: SIDE 1185. SPEED TEST Thu May 19, 2022 9:33 pm

arcachofo

arcachofo

From 4,94  V to 5 v it is when it canges to be slow.
It looks slow, but it is not slow.
To test is add a timestamp:
Code:
void loop()
{
  valin = analogRead(A5);
  Serial.println( micros() );
  Serial.println(valin);
}

Sometimes in a movie you see the helicopter  blades rotating very slow or even backbards.
This is the same effect.
To avoid this you can add a delay:
Code:

void loop()
{
  valin = analogRead(A5);
  Serial.println(valin);
  delay( 300 );
}

It is very difficult to move the pot wheel to appeciate tenths of volt, this is de reason Why I ask you for linear pots
I explained how to do fine adjustments here:
https://simulide.forumotion.com/t321-rotary-potentiometers-adjustments

You can also set exact value in Properties Dialog.

6SIDE 1185. SPEED TEST Empty Re: SIDE 1185. SPEED TEST Thu May 19, 2022 9:52 pm

Defran

Defran

Right, It works, yes. Thanks for your help.

Respet to the pot... right too. Doing it like this is a very good idea!
Sorry, I did not remember this option, it works very well, thanks again. I take notes for  future.

arcachofo likes this post

Sponsored content



Back to top  Message [Page 1 of 1]

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