Control a motor with pi pico
this is how you can controll a stepper motor by defining the digital pins on the Arduino board to control direction and steps, then set up the direction and steps pins as outputs, we start at off state for stability.
Then we give the direction pin power to turn the motor at one direction by iterating the stepps to 200. next we turn off the direction to rotate in the other direction
Make sure to like and folow for more.
1
view
How to add a header file in MPLAB x IDE
In this quick video i will show you how to add a header file in MPLAB, We can add functions in the header file that we can use for multiple programs.
In this example i will add a header file for LEDs, as you can see first, i coppied the code, then i right clicked header files then i press NEW, then xc8 header dot H.
I name my header file then i hit finish.
Now the hader window is automatically oppened, i simply paste the code for the LED.
We are almost done, last step is to add include the header file in the main code, we do this by oppening the main code then we type #include "name of our header file dot H"
Dont forget to like and follow for more
1
view
Simple soil moisture sensor project with ARDUINO tutorial very well explained.
Simple soil moisture sensor project with ARDUINO tutorial very well explained, good project if you have a delicate plant.
5
views
Simulate Electronic Boards for free,No signup
Wonderfull website to simulate powerful microcontrollers for free! No adds no signups!
9
views
PWM signal
What is a PWM signal used for?
You can find full tutorial here with code for free:https://youtu.be/8WsAkH7Prpk?si=VmJB7co1nrfX6SdD
6
views
The secret behind the KEYBOARD you use!
How do KEYBOARDS work? Well it is not what you think. Watch the short video to understand what i mean!
2
views