Recent Posts

Pages: 1 2 [3] 4 5 ... 10

Sounds like you've burnt out the 5v regulator on the Uno. One of two things may have happened:-

1) The regulator chip has blown open circuit. This may have saved the rest of the arduino an it may be possible to power it up via the USB port and it might work.

2) The regulator chip has blown short circuit. This would have applied the 12V to the entire circuit and trashed the Arduino.

Either way I would replace the Uno.

Pololu have a useful resource for the A4988 here:-

Which includes this bare bones wiring diagram:-

Note that the 12V 10A supply should be connected directly to the VMOT and GND pins NOT via the Arduino. The Arduino should only be used to power up the VDD pin to supply the on-board logic.

Also check the spec sheet for your stepper motor as the A4988 is only rated for 1A into each coil. You may need something with a little more drive capacity such as the TB6600.

You might want to check the wiring of your motor windings you seem to have them in the order 1A(Red), 1B(Black), 2A(Red), 2B(Black) whereas the pinout of the A4988 is 1B(Black), 1A(red), 2A(Red), 2B(Black).
No it's not a servo, it's much closer to a latching solenoid.

OP, just checking but have you actually read the instructions in the manual you linked to? Particularly the part about pulling back the lever which effectively sets up the device ready for release. If you don't do that then nothing will can't release something which is already released.

Hardware / Re: problema comportamento rel...
Last post by tonioB - Today at 10:33 am
Ha scritto che non lo ha tolto
Quel circuito che ha mandato non è giusto :)

Dovrebbe far vedere il circuito che ha provato.
It's still a servo. It's just been programmed to do one thing and one thing only. Calling it 'servoless' is marketing deception.
I doubt you need the usual servo signals telling it to travel forth and then back. It's probably more like a windshield wiper motor that just needs a trigger signal and the cycle is internally organized.
Software / Re: Precisione Millis()
Last post by PaoloF_60 - Today at 10:29 am
Ciao wuefed che devo dire la prcisione è quella di uno strumento di laboratorio, il data sheet Tektronics specifica Horizontal Accuracy - ±0.01% parliamo di uno strumento digitale da 100MHZ a 4 canali.

ormai fuori produzione ma il suo successore ha solo il display a colori invece che bianco e nero.|pcrid|74363451738|kword|tbs1104|match|p|plid|&CMP=KNC-GIT-GEN-SKU-MDC&gclid=EAIaIQobChMIoc7m2c-E2gIVQkQYCh0YuQaiEAAYASAAEgLRGfD_BwE

ho scritto due righe di codice per generare un segnale col timer2 e metterlo a confronto con un segnale
temporizzato con delay per lo stesso periodo e il risultato da un segnale dal timer 2 di 1000uS precisi
con la delay 1012uS. SE l' oscillo scoppio da corretti i 1000 sono corretti anche i 1012.

Allego forme d'onda

Code: [Select]

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

int retroPin = 10;//digital 10

int led = 13;//fisicamente collegato a rled
int rled = 12;//fisicamente collegato a led

int cout = 11;//fisicamente collegato a rcout uscita pwm t2
int rcout = 3;//fisicamente collegato a cout

int mout = 5;//uscita con delay

void setup() {
  // LED Display connected to digital pin 10:
  // sets the digital pin as output:
  pinMode(retroPin, OUTPUT); 
  // sets retro off:
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("     Ready      ");

  pinMode(rled,INPUT);//collegato a led
  pinMode(rcout,INPUT);//collegato a cout uscita di pwm t2
  pinMode(mout,OUTPUT);//uscita delay
  TCCR2B=0;//Blocco t2
  TIFR2=0b00000011;//Azzero int flag
  //TIMSK2=0b00000011;//Abilito if ov e cp solo dopo creazione vettori interruzioni altrimenti non parte
  TCNT2=0;//Inizializzo t2
  OCR2A=249;//Imposto 250 x 2uS (16000000/32) Fclk/prescaler
  ASSR=0b01000000;//Clock di sistema al t2
  TCCR2A=0b01000011;//Mode 7 e compare togle oc2a
  TCCR2B=0b00001011;//Mode 7 e Prescaler a 32
  DDRB=DDRB | 0b00001000;//Abilito uscita
  while(rcout==0) {//aspetto salita per sinconizzare mout a cout   

void loop() {

Generale / Re: Piccolo aiuto per sketch
Last post by VinDiesel - Today at 10:27 am
Ok, che puoi anche scrivere meglio:
Code: [Select]
if (led < 6)

ah ok :) Grazie per la dritta :)
Programming Questions / Re: universal telegram bot bro...
Last post by pert - Today at 10:27 am
I'd be most concerned about the BOTtoken value you published. It that's supposed to be a secret then you should expire that token in your Telegram account immediately.

Unless you reuse passwords, I'm not sure publishing a WiFi SSID and password is that big of a deal since that's only useful within the range of your WiFi router.
So i have placed an attachment with my circuit.
Looks a bit amateuristic, but I hope it will give the information needed

In the attachment, there is a picture of the circuit.
Note that in this picture, another temperature sensor is connected (LM35).
The wiring scheme I have drawn, is the one where the TSYS01 sensor is connected.

I have replaced the TSYSO1 sensor with the LM35 but the problem is still present.

Français / Re: SIM800L réseau probléme......
Last post by latune51 - Today at 10:22 am
Problème trouvé:
Je viens de monter à l'étage de la maison pour tester l'ensemble et en fait c'est l'antenne qui pose problème.
Je vais surement la déporter.
Merci quand même et bon week-end.
Generale / Re: Piccolo aiuto per sketch
Last post by SukkoPera - Today at 10:22 am
Ok, che puoi anche scrivere meglio:
Code: [Select]
if (led < 6)
Pages: 1 2 [3] 4 5 ... 10