Search:

Type: Posts; User: John Drew

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    4

    Re: Analyser gives error

    Thanks Johan. I'll wait to see if Harm has advice.
    John
  2. Replies
    3
    Views
    4

    Re: Analyser gives error

    Hi Johan
    I can't help with the problem but I can help with the link for people in future.
    Can you please provide WIKI address of the article and the correct link for the file?
    Thanks
    John
  3. Replies
    17
    Views
    18

    Re: Sub-EndSub and Gosub-Return

    As an indicator 4mA is oodles.
    When doing your sums remember that the voltage drop across a LED is about 1.8V for a red LED and about 3V across a blue.
    So to hit 4mA on a red (5-1.8) / 4 = 0.8k...
  4. Replies
    17
    Views
    18

    Re: Sub-EndSub and Gosub-Return

    Charlie,
    Of late I've had a few problems programming various devices using my PICkit3.
    I found a solution by reducing the voltage in MPLAB8.92 from 5.0 to 4.85.
    I have no idea what's going on but...
  5. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    Good point Norm.
    I'm going to wait until John is ready to release. Otherwise he's going to be distracted answering posts instead of coding and bug fixing. My words not John's.
    John D
  6. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    Good name "Proton Studio". Easy to remember.
    If you like I will create a forum category for it.
    I suggest it would fit nicely below the Proton 24 section. What do you think?
    We could post our...
  7. Replies
    17
    Views
    18

    Re: Sub-EndSub and Gosub-Return

    Judging from Les's post the main difference from our perspective is how they are called.
    gosub Test compared with
    Test ()

    I'm sure there's more under the hood though as Les is investigating...
  8. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    Looking forward to the new IDE John.
    John D
  9. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Yes, you're right Henk. It must be a divide not a multiply.
    I wondered why the result was different from the 5cm, I assumed another step somewhere.
    If you plug the complete formula into a...
  10. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Henk a comment on the maths when using floats.
    Floats aren't very accurate at 16 bits so I suggest a couple of strategies.
    Firstly remove the overhead of 1/0.000413153 and instead use 2420.4 (don't...
  11. Replies
    5
    Views
    6

    Re: Wiki Database error

    Lester has it fixed Henk.
    John
  12. Replies
    5
    Views
    6

    Re: Wiki Database error

    You're right. I'll send a message to Lester.
  13. Replies
    7
    Views
    8

    Re: Proton stopped working!

    Hi Colin,
    I can't remember when but at some point it became necessary to use declare in front of some items that previously assumed the word.
    On my phone at present so can't look it up for you....
  14. Replies
    25
    Views
    26

    Re: Just to let you know

    I've always felt the macro approach was an unnecessary complication, I can see that it makes main code easier to read. But I do struggle reading other programmers macros. If using their code I...
  15. Replies
    25
    Views
    26

    Re: Just to let you know

    I should give it a try. I knew it existed but haven't used it.
    Thanks for the example.
    John
  16. Replies
    25
    Views
    26

    Re: Just to let you know

    I know about push/pop, macros, and reserving a set of variables for passing to subroutines in Proton. Is there another way?
    None of the above are as tidy as the method used in P24 for devices with...
  17. Replies
    25
    Views
    26

    Re: Just to let you know

    G'day George
    Although Les is a great supporter of we users, my guess is that he is a man that likes to challenge himself. How many times have we all slipped in a nicety because we can, rather than...
  18. Replies
    25
    Views
    26

    Re: Just to let you know

    All understood Les,
    For the PC I love programming in Pascal (Delphi now after growing up on Turbo Pascal) and I got in the habit of subroutines being upfront and I continue to use that layout with...
  19. Replies
    25
    Views
    26

    Re: Just to let you know

    Les, will it still be necessary to "goto Main" or will the compiler know to jump over sub routines?
    John
  20. Replies
    25
    Views
    26

    Re: Just to let you know

    Wow! That has me very interested Les, particularly if/when parameters are added. I appreciate this may mean extra demand on memory.
    Proton stars!
    Let me know if you want some Beta testing done....
  21. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    It might be possible to use the reference input by FM modulating an external oscillator.
    I'm guessing that this input could be used to stabilise the device using a GPS standard.
    I think I'll wait...
  22. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    Les/Charlie
    Is it possible to FM modulate the device? I'd love to be able to put a 1kHz tone at up to 5 KHz deviation onto the output.
    John
  23. Re: Les has just uploaded Proton Compiler Update 3.6.0.7 - 1.0.4.9!

    I have created a link from the Updates tab at page top to make it easier for Users to find the update.
    John
  24. Replies
    6
    Views
    7

    Re: Currently on line

    Just out of curiosity. 202are online, of these - 1 registered user (me), 3 spiders, 198 guests viewing various pages.
    John
  25. Replies
    15
    Views
    16

    Re: Re. latest vweaion 3.6.0.7

    That's cutting it fine Shantanu
    John
  26. Replies
    15
    Views
    16

    Re: Re. latest vweaion 3.6.0.7

    Les, I notice that the PPI list now includes ATMEGA328.
    Also I can see that the MCP series are embedded controllers but cannot find a reference to the RF509AF etc.
    Are these some new devices? Is...
  27. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    Charlie,
    The latest copy of Silicon Chip (May 2018) has an article "35MHz-4.4GHz digitally controlled oscillator". Uses an ADF4351 PLL and can produce a sinewave for that range. Apparently Banggood,...
  28. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    I bought my si5351a boards from Adafruit. Freight cost me more than the boards!
    John
  29. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    G'day Charlie,
    I've only worked with the AD9850 which is good up to about 40MHz so good as a nice crystal substitute and creates either a sine wave or a square wave, and the si5351A which produces a...
  30. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    Charlie,
    I calibrated output using a digital pot and a touch screen graphic display referenced from my Marconi 2031 sig gen. Reasonably accurate 20kHz to 2.7GHz but I only used 1MHz to 450MHz.
    I...
  31. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    Rick's solution would be a darn sight simpler for that job but the issue would be calibration of the harmonics if you're looking for 3dB drops. The odd harmonics will probably be stronger too.
    John
  32. Replies
    20
    Views
    21

    Re: Programmable RF oscillators

    Hi Charlie
    Have you looked at wiki/example code/radio frequency?
    The 500MHz would be a harmonic on the si5351.
    Cheers
    John
  33. Thread: Nsoic-8

    by John Drew
    Replies
    7
    Views
    8

    Re: Nsoic-8

    Basiclover,
    When writing a post click on 'Go Advanced' and you'll see a number of extra options. This may help in future.
    John
  34. Replies
    20
    Views
    21

    Re: Proton Compiler, Pulse Counter with a multiplexed 7-segment LED display

    It's stable to 4 significant figures. That may be within the sensors capability. What does the datasheet claim?
    You are seeing about 0.01% fluctuation.or about 0.1 gram shift. Not bad accuracy.
    I...
  35. Replies
    20
    Views
    21

    Re: Problem in pulse per second meter

    Hi Amod,
    If you get stuck send me the values as a table and I'll develop a formula if Pete's link doesn't sort your problem.
    John
Results 1 to 35 of 100
Page 1 of 3 1 2 3