Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Is this the first time you are using the bootloader on this device? have you correctly programmed the bootloader hex file? Do you reset the pic once you start the search in tiny bootloader application? The baud rate is what is set from the hex file you pick, unless you re assembled the bootloder...
Yes the diodes are included in L293D and are sufficient for most applications, Are you driving the motors from the same power line as the microcontroller? If yes then perhaps the microcontroller is not getting a steady power source and causes it to misbehave. try using a filter capacitor in your...
Try this:
You have to clear the interrupt once it is serviced.
add INTCON3bits.INT1IF = 0;
after
LATAbits.LATA2 = 1;
Delay1KTCYx(20);
LATAbits.LATA2 = 0;
well your design lacks voltage limiting diodes, try and assemble the real JDM, it works well. Even if you buil a clone PIC Kit 2 you need a way to program the PIC kit firmware. beware 8volts on PGC and PGD can damage the PIC.
are you using a USB to serial converter for this? if you are then it will not work because JDM makes use of negative voltage from the serial port. JDM works great on a native serial port.
just a thought: using a common resistor for all the LED's is a bad practice, each one must have its own resistor to limit current. in your case only one LED lights at a time so its fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.