Help with speed controlled fan (pot) keyestudio components (INA and INB) fan type

Can someone help me with a code that uses a potentiometer that controls speed of INA and INB fan? for a school project demonstrating the rotations of a planet

pls help guys due next Monday :sob:

What is an INA and INB fan?

its the key studio model

@sterretjeToo please help me

Next time please post a link to the product so we don't have to search the web.

Did you read https://wiki.keyestudio.com/Ks0168_keyestudio_L9110_fan_control_module?

What are you stuck with?

I haven't worked with potentiometers in a while and need help intigrating it into the base fan code

What is the resistance of your potentiometer?

Im pretty sure its 10k resistance or ohms because it says b10k on it ?

yeah I looked it up and it says it means 10k ohms

Example 01. Basics → AnalogReadSerial should get you started.

[quote="sterretje, post:13, topic:1349728"]
where can i find Example 01. Basics → AnalogReadSerial ?
[?]

Oh found it, thanks everybody

INA and INB fan. One button press: spin right. Two presses: spin left. Three presses: off
else: off

1 Like

link to keyestudio fan code:

https://wiki.keyestudio.com/Ks0168_keyestudio_L9110_fan_control_module

hold on , i am writing the sketch

So, does the example code work ?

Show us your expanded code to perform the desired actions,

Please attach your schematic that shows power supply, switches etc.