Search results

  1. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    Thanks Minder, Will let you know if I'm successful..
  2. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    Thanks! ;) Could I have the code for the 18F series aswell? :rolleyes: I always read the datasheet for a new PIC to become familiar with its registers, so should be alright.
  3. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    I'm using a PIC16F73. I do believe its my code, I have checked my hardware several times. Do you have any more asm code I could look at, or a complete LCD program
  4. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    Ok, I've done that. I have the 1st line as 0b11000000 (0x80) and the 2nd line as 0b11000000 (0xc0). Minder, whats this part of the code for in asm.. I dont think I've used the hex table in my code HEX_Table ADDWF PCL , f RETLW 0x30 RETLW 0x31...
  5. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    I've read that Minder :rolleyes: still stuck
  6. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    I can't find where I've gone wrong here, so I really need some help here. Another Tutorial Site Used: http://embedjournal.com/programming-lcd-in-8-bit-mode/ My LCD Command Sheet: http://s000.tinyupload.com/index.php?file_id=00528284006574499388 My Circuit Diagram: My current code...
  7. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    I'm having even more trouble understanding the assembly version, can anybody help? o_O
  8. Sadlercomfort

    Led flashing for one second using Mikro c

    There's alot of things which can go wrong when writing code, I'm fairly new to C aswell.. only be writing C since august. Generally I've found that writing small chunks of code first can help, like you said lighting the LED first is a good idea. I would try lighting the LED without an...
  9. Sadlercomfort

    Led flashing for one second using Mikro c

    I would also check that your prescaler is correct, I used to use this formula. Freq. out = Freq. osc / [prescaler * (256 - TMR0) * count] Maybe set Prescaler to 1/1 and create a count for 31250. I might be wrong :eek: Freq. out = 8MHz / [ 1/1 * (256 - 0) * 31250 ] Freq. out = 8MHz/256 *...
  10. Sadlercomfort

    Led flashing for one second using Mikro c

    Most of your code looks fine to me. Have you tried putting "Timer0_ISR" at the start of the interrupt routine like so: void interrupt Timer0_ISR(void) { } I also noticed your using TMR0L, I'm not familiar with setting up 8-bit or 16-bit modes.. but I assume if you've set it to 8-bit you would...
  11. Sadlercomfort

    Testing A TVS Diode

    Quite straight forward, thanks Harald :rolleyes:
  12. Sadlercomfort

    Testing A TVS Diode

    So I've tested the TVS diode and two other known good ones, and have the same measurements so how do I know if the diode is the faulty? You mentioned testing the breakdown voltage of the diode with a high voltage source.. How would i setup this test? I have access to power supplies e.t.c
  13. Sadlercomfort

    Testing A TVS Diode

    Is it too late to mention.. I was trying to find what caused the MOSFETS to short? I had already tested two of the FETs and found they had shorted.. the cause of this is important. I also tested several other components in the H-Bridge Circuit and found no faults. I assumed the TVS diode was...
  14. Sadlercomfort

    Testing A TVS Diode

    Okay, the low resistance is due to the faulty mosfets which were damaged during a fault, they have shorted. I removed the TVS diode and tested using a diode check and got nothing, I tested resistance and got an infinite resistance. I removed two known good TVS diodes and tested them.. i got...
  15. Sadlercomfort

    Testing A TVS Diode

    Right, the TVS diode is SMT so I tested it in-ciruit. It's also showing less than 200Ω one side and around 50Ω the other. If i test a known good one, also in-circuit i get like 0.65MΩ each side. So shall i continue to desolder with a hot-air gun.. and re-test?
  16. Sadlercomfort

    Testing A TVS Diode

    Hi Guys, Is it appropriate to test a TVS diode using a diode check, and simply testing both ways. I have a smbj33 TVS Diode which is used between the +/- of a motor in a H-Bridge Circuit. I'm getting 0.121V and 0.194V each way. :cool: Thanks, Ash
  17. Sadlercomfort

    Help Programming 16x2 LCD - PIC16F73

    I was taught assembly initially, but its been a few years.. :rolleyes: Since I'm struggling to understand this in C.. I'll try revisit assembly go through Nigel assembly code.. o_O
  18. Sadlercomfort

    electric Bike

    Oh sorry, I have a terrible sense of humour :rolleyes: Hoverboards are really kicking up steam atm about fires, there's alot of fakes and cheap manufacturers about trying to make a quick buck!
  19. Sadlercomfort

    electric Bike

    No problem, I've tried two electric bikes with both batteries. The lithium one performed a lot better and was much lighter
Top