Search:

Type: Posts; User: pedja089; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    437

    Re: Current limit for HV Power Supply

    That solution sound very familiar to me :)
    I have done same thing on 42V Communication PSU. I used ADC in interrupt in background to monitor V and I, it was fast enough to not cause damage. Anyway I...
  2. Replies
    14
    Views
    437

    Re: Current limit for HV Power Supply

    Can you try it without base connected? Measure voltages measured above?
    It will be grate to get some pictures, T2 part no, layout etc... If you don't want to share public, send me links to PM....
  3. Replies
    14
    Views
    437

    Re: Current limit for HV Power Supply

    It was late when I replayed and didn't look in to schematic too much. And now it late again, so sorry in advanced if I miss something.
    You are right, for P channel configuration is correct. Your...
  4. Replies
    14
    Views
    437

    Re: Current limit for HV Power Supply

    EDIT: "DS voltage" on SHOULD BE: "GateSource voltage".
    https://reviseomatic.org/help/s-followers/Source%20Follower.php
    And right schematic for t2 is correct. Emitter should be on higher potential...
  5. Replies
    14
    Views
    437

    Re: Current limit for HV Power Supply

    You need N-channel mosfet. Not P. When DS voltage on P type mosfet is just 2-3V it will conduct.
    Your design need voltage follower, so you need to use N channel mosfet.
    ...
  6. Replies
    11
    Views
    824

    Re: 16-bit version of the WS2801 chip

    Woow.
    Is it published anywhere?
  7. Replies
    11
    Views
    824

    Re: 16-bit version of the WS2801 chip

    I helped friend with project for university. It had 4 counters(<2Hz, 50% duty) and 4 timers, 16x2 LCD and it was problem to fit all that code in microbasic on pic16f877. Simple code, I thing PBP...
  8. Replies
    11
    Views
    824

    Re: 16-bit version of the WS2801 chip

    PIC24 isn't dsPIC. PIC24 can be programmed in proton basic. I have dongle, but newer try it....
    Or in microbasic, but I don't recommend it. I fon't have nice experience with it.
  9. Replies
    5
    Views
    383

    Re: Some ASM Help Please

    You must dig little dipper in PBP librarys. Look for PBPPICxx.mac and PBPPICxx.LIB files for macro definition.
    If I was in your place, I would start from controlling PIN, then LCD basic...
  10. Replies
    5
    Views
    383

    Re: Some ASM Help Please

    That isn't ASM instruction. It is ASM macro, from PBP library.
    Alos arraywrite, etc... All instruction with ? are from PBP lib's.
  11. Replies
    8
    Views
    1,088

    Re: SSD1306 INCLUDE for PBP3

    Looks good. I don't have lcd to try it out.
    I hope that you didn't write all user command wrapper manually.
    I posted app for that
    http://www.picbasic.co.uk/forum/showthread.php?t=20208
  12. Replies
    9
    Views
    1,327

    Re: GOTO vs RETURN after a GOSUB

    Yes. It have almost same effect as MCLR pulled low, then high. Only 2 bits are different, if I remember correctly.
  13. Replies
    9
    Views
    1,327

    Re: GOTO vs RETURN after a GOSUB

    Better question is why you would use GOSUB without RETURN? That just doesn't have any sense.
    If stack is full then PBP can't call internal subroutines, and it crash...
    You just disabled reset on...
  14. Replies
    52
    Views
    8,229

    Re: Decline of PicBasic ?

    If I remember correctly DT use test PID/VID from microchip.
  15. Replies
    22
    Views
    2,543

    Re: PWM and audio noise

    Add capacitors close to noise source(right across pin of PIC). 1,10 and 100nF in parallel.
    Also Breadboard have large capacitance between 2 rows of pin. Try to put ground next to PWM pin.
    Use short...
  16. Replies
    52
    Views
    8,229

    Re: Decline of PicBasic ?

    For CDC(usb serial port) you have example from DT. And you don't need any PC software, except drivers. And you have another serial port when your device is plugged in.
    If you want HID comm, then you...
  17. Replies
    9
    Views
    1,202

    Re: Future project Ideas

    Look in manual for COUNT.
    Also you can start counting when another switch on rotary is closed.(It should be closed when rotary dial is moved from home position)
  18. Replies
    6
    Views
    890

    Re: Again about array

    That should work.
  19. Replies
    6
    Views
    890

    Re: Again about array

    Where you index your array here

    for i=0 to 9
    ADCON0.1 = 1 ' Start conversion
    While ADCON0.1=1:Wend ' Wait for conversion
    DataW.HighByte=ADRESH ' Read variable from ADC and save...
  20. Replies
    10
    Views
    942

    Re: Chattering relay

    Hysteresis, maybe?
  21. Replies
    67
    Views
    7,215

    Re: MicroCodeStudioPlus keeps crashing.

    If program not doing anything, and error pops up, then problem is in programming language, and framework. That would be very bad situation...
    I can put bet that there is some events that are timer...
  22. Replies
    67
    Views
    7,215

    Re: MicroCodeStudioPlus keeps crashing.

    No, yes, maybe :) It depends...
    It needed to be added only to events subroutine. Eg click, keypress, keydown, timer tick, etc... For MCS I think it is just few events for editor box(timer, keypress,...
  23. Replies
    67
    Views
    7,215

    Re: MicroCodeStudioPlus keeps crashing.

    No. Just when exception is catch, you can get detailed description about it. You can convert it to string, and then display in msgbox with some custom info. Eg I put name of subroutine, etc...
    This...
  24. Replies
    6
    Views
    764

    Re: I2C fast to slow at runtime

    No. But as far as I know all 400K devices work on 100K.
  25. Thread: Good ol' 877

    by pedja089
    Replies
    9
    Views
    711

    Re: Good ol' 877

    I'm not 100% sure but HIGH set 2 registers, tris and port. Who know what is happening when you try to set tris of ADCON0...
    HIGH and LOW should be used only with PIN on uC.
    You should look at...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4