Go Down

Topic: Have Arduino uno got enough current for vibration motor ? (Read 13347 times) previous topic - next topic

jeolex

When I connect them same ground It didnt work. I changed to direction of diode then it work. So my first diode direction was wrong.

JimboZA

I guess that with the diode cathode to the -ve of the power supply, ie the transistor collector, that's essentially a short across the motor so the current will take that route and not go through the motor.

The "right way" to have that diode is to have it the "wrong way"....
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

jeolex

I am here with new problems :)

I have a LCD display problem. I made connections, I can get power to LCD but I couldn't write anything to LCD display.

My LCD always looks like this:


My connections:

LCD Pin -----> Arduino
LCD pin 14 --> pin 1
LCD pin 13 --> pin 2
LCD pin 12 --> pin 3
LCD pin 11 --> pin 4
LCD pin 10, 9, 8, 7 --> empty
LCD pin 6 --> pin 5
LCD pin 5 --> GND
LCD pin 4 --> pin 6
LCD pin 3 --> GND
LCD pin 2 --> 5V
LCD pin 1 --> GND

I didn't attach images about connections, because it s so crowded and complex.

Here is my LCD 's datasheet : http://www.ozkulelektronik.com/p_docs/HY-1602F-001.pdf

And my simple codes for trying
Code: [Select]

#include <LiquidCrystal.h>

LiquidCrystal lcd(6,5,4,3,2,1);

void setup(){
lcd.begin(16,2);
lcd.print("Hello");
}

void loop(){
 
lcd.print("hello");
}


Go Up