Power Up of Testbed
I mounted the components and wired them up. The battery is held in place with Velcro.
Needed to jump some power for the WeMos (note the short blue wire):
No Smoke
No smoke, nothing hot and supply voltage was nominal (always good).
Web page came up and the laser (sorry LED) responded to commands.
The motion control did not work properly but motors are engaged and it does step (so a software problem - no surprise).
Now if you are really sharp you will notice I have soldered the battery snaps the wrong way. It was such a pain soldering the heavy duty wire from the battery it is going to stay that way!
Fixed the motion control and cleaned up the code. Slowed the steppers down, speed up the webpage response time from 1 000 ms to 500 ms. Disabled the stepper when stopped to save power.
I need to check the DRV8825 current limiting settings.
Works okay, the 500 ms response time is about as fast as the webpage can update so precision turns are out. Probably should slow down turns further and speed up the forward movement.
A bit of a problem with the wheels coming loose and falling off! I will have to have a look at what can be done to fix it.
AlanX
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.