Hi… new to forum…. ...
 
Notifications
Clear all

Hi… new to forum…. My name is Bob

4 Posts
3 Users
0 Likes
373 Views
(@bob55)
Member
Joined: 1 year ago
Posts: 8
Topic starter  

I am a retired software developer looking to stay engaged in a field that kept me employed for 45 years. I have purchased a couple of ESP32 Dev boards and have enjoyed going through the samples provided on this site. My most recent one is using a SG90 servo however, the sweep, knob and pca9865 all produce servos that spin continuously. If modify parameters for myservo.attach I can make the servo go forward continuously, backward continuously or stop… but not move to a desired position. Doing an internet search I see this is not a unique issue and indeed my servos may be continuous ones. Perhaps there is another library that supports this kind. I would like to get some servos working in a 180 degree only mode. Does someone have a suggestion for the source for one that works as is supported by the examples provided?


   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@bob55 Hi Bob, welcome to the forum. I too am a long termer, first exposure 1959, Ferranti Packard analog computer.

I am unclear what you are looking for, is source the source code or a source of servos. For the later, searching amazon is a good place to start, then if that works for you and you need a quantity of them check out AliExpress. Servos have several important specs, first is the torque they can apply, and second is the angle. A google of '180 degree servos' got a hit on Amazon.com and it lists many pages. Good luck.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

Posted by: @bob55

I am a retired software developer looking to stay engaged in a field that kept me employed for 45 years. I have purchased a couple of ESP32 Dev boards and have enjoyed going through the samples provided on this site. My most recent one is using a SG90 servo however, the sweep, knob and pca9865 all produce servos that spin continuously. If modify parameters for myservo.attach I can make the servo go forward continuously, backward continuously or stop… but not move to a desired position. Doing an internet search I see this is not a unique issue and indeed my servos may be continuous ones. Perhaps there is another library that supports this kind. I would like to get some servos working in a 180 degree only mode. Does someone have a suggestion for the source for one that works as is supported by the examples provided?

Welcome to the forum.

There are two kind of servos as you have already researched.  It is a function of the servo, not a library.  Servos that go to "a" position have a potentiometer in them... they can not physically go past the stop without breaking the gears/pot.  You'll need to get the correct kind of servos.  Actually, I'd like to get some like you have... those are not the norm.

I've bought two sets of these... mainly because they're dirt cheap and they include a lot of electronics as "bonus gifts".

$18 - "https://www.amazon.com/JOS-Walking-Helicopter-Airplane-Control/dp/B089GPC9NK"

 

 

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
(@bob55)
Member
Joined: 1 year ago
Posts: 8
Topic starter  

Thanks! I will find a way to do something with these units but will get some more standard ones as well.


   
ReplyQuote