L298N + Eagle Schematic Problem


hello all,
we working on robot , going great etched our pcb , our sensors worked got our motors , freak out.  we had bread boarded out , worked fine.  i not sure problem is, have tried re making board on perf board , doing exact same thing motors won't work or work if ftdi chip plugged in still freak out.  if ftdi chip not plugged in (not computer on pins) motors won't turn on , spin @ all.  i have checked double checked pins seem correct.  i posted pictures of eagle schematic , snippets of code.  i not 100% code written correctly pre made h bridges have used in past worked little different when wiring own 298. understanding h bridge takes difference between 2 pwm signals , passed motor in terms of voltage.  so high 255 , 110 = 145 motor.  i wanted add have 5v running logic of h bridge , 7-8 v running vs pin power motor. help!!!

code: [select]
void forward(){
 digitalwrite(pin_r_motor_dir, high);
 analogwrite(pin_r_motor_spd, 110);
 
 digitalwrite(pin_l_motor_dir, high);
 analogwrite(pin_l_motor_spd, 90);
}

welcome back.  can't read schematic on browser, won't open wie me, have wait until home. can post rest of code?


Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > L298N + Eagle Schematic Problem


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support