Boa noite! estou com um servo motor SG90 num projeto, mas quando executa o comando ele fica girando descontroladamente. Alguém poderia me ajudar?
O projeto é uma CNC caseira que usa uma caneta para desenhar, o servo terá a função de subir e descer o suporte da caneta, mas após executar o código, ele fica girando sem parar.
If you can tell me what is on the shelf next to me I will give you your wanted answer. Answering that is easier then trying to answer your question. Check out the following:
Your problem is not unexpected, it happens to all of us. Your wiring may be the root cause. Since hardware is involved, it’s crucial to provide an accurate, annotated schematic of your circuit as it is currently wired. Please note that Fritzing diagrams are not considered proper schematics; they are wiring diagrams and are often not helpful for troubleshooting.
What to Include:
- Annotated Schematic: Show all connections, including power, ground, and power sources. This helps us understand how your circuit is set up and identify any potential issues.
- Technical Information Links: Provide links to technical documentation for each hardware device used in your setup. Avoid links to sales sites like Amazon, as they usually lack the necessary technical details. We need complete specifications to help you effectively.
- Additional Information Needed: If the above details are incorrect, more information is required. Tell us what hardware and software you are using, the format of any data (like map data), and how your system determines its position. For example, if your project involves a robot, describe how it navigates and what computers are involved.
- Code Without code we cannot see the interrelationship between the code and hardware.
Why This Matters:
We have no way of knowing the specifics of your setup unless you provide that information. Clear and detailed descriptions enable us to offer the most accurate help possible. Without these details, it’s difficult to diagnose and solve the issues you're experiencing. You should check this link: How to get the best out of this forum
Estou usando um Arduino UNO, Shield V3, Drivers A4988, Fonte 12V para alimentação, Guia Linear e rolamento para os eixos X e Y, Correia dentada, Motores de passo Nema 17 para os Eixos X e Y, Servo Motor SG90 9g para o (Eixo Z). Os cabos do servo: (vermelho no 5V), (marrom no GND) e (Laranja no Z+, Pino 11).
Os programas são: GRBL modificado para dar comandos ao servo motor, UGS para executar os códigos e Inkscape para gerar os caminhos.
Você provavelmente está usando um servo de 360° (rotação contínua) e, em vez do ângulo, você controla a velocidade.
A propósito, no fórum em inglês você deve escrever em inglês.
Olá @renatorodrigs. Mudei seu tópico de uma categoria de idioma inglês para a categoria International > Português do fórum.
No futuro, por favor use a categoria apropriada para o idioma que você escolher para postar. Esta é uma parte importante do uso responsável do fórum, conforme explicado no guia "Como obter o melhor desse Fórum". O guia contém muitas outras informações úteis. Por favor, leia.
Agradecemos antecipadamente a sua cooperação.