Search Results - Proton BASIC community web site


Search:

Type: Posts; User: Mellbreak

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    I've just been using a serial terminal to investigate the ZDA stuff Bob. Just done a factory reset and got the message "$PNMRX600,0,NemeriX NS1030A, SW Release Version 4.0.13_PROD, Welcome On Board!...
  2. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    Bob,

    The code I've been using is that from post 1. I've also connected the GPS shield directly to serial terminal software and observed the unit's output. On my shield with a ZX4120 receiver the...
  3. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,

    I've now got my unit outputting the ZDA sentence. As I expected the date is incorrect here too. It shows today's date (15/11/2019) as 31/03/2000. Thanks for the pointers on getting the...
  4. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    Yes, I had a look at the datasheet Bob. Despite what it says, my modules will not decode the ZDA or the GLL sentences. GGA, GSA, GSV , RMC and VTG are all OK.


    Bob
  5. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,

    A couple of things, firstly I don't think that the ZX4120 decodes the ZDA sentence - at least mine doesn't appear to do so. Secondly, most GPS units will be unaffected by this roll-over...
  6. Replies
    14
    Views
    218

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,

    $GPRMC should be fine as it has both the time and date fields present. I haven't looked at $GPZDA, but I can't see the unit offering two different dates.

    Bob
  7. Replies
    14
    Views
    218

    Amicus 18 GPS Shield date issue.

    I wonder if those of you with an Amicus 18 GPS shield have noticed that there is a wee issue with the date that the GPS unit produces - it's about 19 years adrift. It would seem that, as a...
  8. Replies
    7
    Views
    403

    Re: Support for 18LF26K22 and 18LF45K22

    That would make sense John and gives a practical solution.

    Bob
  9. Replies
    7
    Views
    403

    Re: Support for 18LF26K22 and 18LF45K22

    Good point George, is the device ID in the PPI file I wonder. Perhaps it would be possible to make a copy of the appropriate 16F files and alter the ID to suit the 16LF. If I can find the time I...
  10. Replies
    7
    Views
    403

    Re: Support for 18LF26K22 and 18LF45K22

    Hi Radio,

    Welcome to the forum!

    The F and LF versions are functionally the same, the only difference being the voltage range that can be tolerated by each type of device. So, even though you...
  11. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Lester, many thanks for my last box of goodies. So much good stuff of all kinds. It will keep me amused for months (possibly years) to come.

    Bob
  12. Replies
    33
    Views
    477

    Re: Driver for ILI9341

    G'day John,

    The picture you posted of your display looks identical to a display I have. In my case the controller is the ILI9325. I've had it working very nicely using Les's sample code. As far as...
  13. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Glad I'm not the only one who has seen this issue. I did place another order, but made the value up to 10 . Even at this price what you get in return represents brilliant value for money.

    Bob
  14. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Lester, there appears to be an issue with "checkout" at the moment. It is insisting on a minimum order of 10 (+VAT?). Is this intended for the special delivery option.

    Bob
  15. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    OK Lester, just don't let them go to landfill. A couple of Amicus 24 boards would be of interest.

    Bob
  16. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Lester, I could make use of another built Amicus 18 board. Additionally a couple GPS shields and 2 or 3 bare Amicus boards would be particularly helpful.

    Happy to pay postage.

    Bob
  17. Replies
    88
    Views
    226

    Re: Les's ILI9325 Wiki code

    Is this what you're looking for Charlie?


    $ifndef _ADS7846_
    $define _ADS7846_
    '
    ' Interface to an ADS7846 Touch Screen Controller
    ' Written by Les Johnson. September 2011
    '
    Include...
  18. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Ye gods and little fishes Lester! I asked for a box of "stuff", but didn't expect anything close to that size. Amazing. Lots of good bits and pieces which I'll be able to use over time. Items I...
  19. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Lester, After your comments in post 43, I've paid another lot of postage for a box of "stuff". As you correctly say, best not to annoy Greta.

    Bob
  20. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Lester, if there's anything left over I'm happy do buy a second box. Just let me know.

    Regards,

    Bob
  21. Re: Assember Error 113 when compiling Scroll_demo.bas ILI9320

    Thank you Les, that's sorted the problem out.

    Much appreciated,

    Bob
  22. Assember Error 113 when compiling Scroll_demo.bas ILI9320

    Having received a box of goodies from Crownhill this morning, I decided to have a play with the GLCD shield. I've managed to get one of Les's demo programs, Wheel_Animation.bas, to work perfectly....
  23. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Perfect, thank you Lester.

    Bob
  24. Replies
    72
    Views
    435

    [OFFER] Re: Proton MKII Development Board

    Just received my box of goodies from Crownhill - well pleased. Thanks Lester.

    Does anyone have a copy of the Proton Mk11 manual they can let me have? Thanks

    Bob
  25. Replies
    2
    Views
    16

    Re: SSD1306 display

    Ditto Charlie. I've made a lot of use of that code and found it both useful and reliable. Bob
  26. Replies
    2
    Views
    16

    Re: SSD1306 display

    Apologies for the double post I'm having problems with the forum editor at the moment. Bob
  27. Replies
    4
    Views
    24

    Re: Stupid things I dun today

    We've all been there George😂😂😂
  28. Thread: MAX7219 help

    by Mellbreak
    Replies
    9
    Views
    33

    Re: MAX7219 help

    If you want to display display letters, you must first send $09FF to the '7219. This will set all digits to the to non-decode mode. I suggest that you try this first. Once you have done this, send...
  29. Thread: MAX7219 help

    by Mellbreak
    Replies
    9
    Views
    33

    Re: MAX7219 help

    Hi antonhsp,

    Below is a code snippet which might be of help to you.....



    Symbol LED_CLK = PORTB.5'PORTB.5
    Symbol LED_CS = PORTB.4'PORTB.4
    Symbol LED_Data = PORTB.3'PORTB.3
  30. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    What sort of things do you have in mind Les? I'm sure that there would be significant interest. Perhaps forum users might like to suggest things they would like to see available.


    Bob
  31. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    I suggest you pm Les Craig. Money well spent IMHO.

    Bob
  32. Replies
    14
    Views
    14

    Re: Toner transfer made easy .....

    Interesting post moonshadow. Your board look pretty tidy to me. I like the fact you can print onto the non-copper side of the board too. Was the idea of using a t-shirt press yours? Gem of an idea.
    ...
  33. Replies
    8
    Views
    329

    Re: 18F25K22 Bootloader .....

    Hi John,

    Welcome back! PDS has undergone considerable development in recent years - I'm sure you're going to be impressed with the latest offerings.

    To answer your post, have you seen this?
    ...
  34. Re: johngb has just uploaded Proton Studio - 1.0.2.1!

    All good John, thank you.


    Bob
  35. Re: johngb has just uploaded Proton Studio - 1.0.2.1!

    John, the 64-bit version of Proton studio installs as 1.0.2.0 not 1.0.2.1

    Cheers,

    Bob
  36. Re: New Wiki entry for interfacing to an ILI9325 Colour Graphic LCD

    Hi SebaG,

    Have you seen this post.....

    http://www.protonbasic.co.uk/showthread.php/78176-Driver-for-ILI9341

    It uses an SPI interface, but may be of some help.

    Bob
  37. Replies
    48
    Views
    4,663

    Re: mcp41*** Microchip Digital Pot

    Harm,

    I don't know if this is what you are looking for, but it works for me with 4151 digital pots...



    '*************************************************************
    '* Update digital...
  38. Replies
    38
    Views
    737

    Sticky: Re: PICKitPlus Forum

    Evan, I wonder if you are confusing Les and Lester. My apologies if this is not the case.


    Bob
  39. Replies
    8
    Views
    16

    Re: Some serious errors in proton 3.7.0.3

    Hi Atomix, I don't know if it will make any difference to your results, but there is a version 3.7.0.4 available - might be worth a try.

    I also see you have the line....

    Declare...
  40. Replies
    20
    Views
    47

    Re: Use of the Proton 3.7.0.3 version

    I'm sure that everyone would agree, 25 is a very modest sum Les.

    Bob
  41. Re: johngb has just uploaded Proton Studio Update 1.0.2.0!

    All good now John, thanks again.
  42. Re: johngb has just uploaded Proton Studio Update 1.0.2.0!

    John,

    I've just noticed that on 64-bit version of the latest update, the version number appears as 1.0.1.12. Minor "drop off" ?

    Regards,

    Bob
  43. Re: johngb has just uploaded Proton Studio Update 1.0.2.0!

    Thank you John.
  44. Replies
    3
    Views
    6

    Re: HRSIn Hex2 not working as expected

    Oops, sorry should have read your post more carefully.

    cheers,

    Bob
  45. Re: johngb has just uploaded Proton Studio Update 1.0.1.11!

    Much appreciated John.
  46. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    @David - My initial surprise at Simon's quality fix of 2 was because I had forgotten that augmentation systems such as WAAS and EGNOS are a form of DGPS. I was thinking more in terms of what you...
  47. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    Looks a nice module. As you say, it supports EGNOS etc so that will give you DGPS and a quality rating of 2.

    Thanks for the info.


    Bob
  48. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    I'm intrigued that you get a fix quality of 2. Is your GPS unit capable or receiving WAAS/EGNOS transmissions?
  49. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    Interesting find George. So using your example we take a UTC of 8:30:00 and add 1 second to it. On the occurrence of the rising edge of the next PPS signal we can load an RTC with the correct time...
  50. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    After I think John. My reading is that you use the pulse to sync the time data extracted from the previous NMEA sentence. I suspect, but don't know for sure, that the data in the NMEA sentence only...
  51. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    All good points John. I found this "on the net".



    Many of these GPS modules have a 1PPS output.


    Bob
  52. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    This is the way to go I think Simon.

    With these simple modules, I don't think you can get a fix quality better than 1. Fix quality is a measure of the positional accuracy available and numbers...
  53. Replies
    26
    Views
    47

    Re: Valid time in NMEA sentance

    I would have thought that if the location is valid, then the time will also be correct. A 2d fix would give you a valid time. I would think that with no fix, things could get a bit random. Personally...
  54. Replies
    18
    Views
    42

    Re: I'm over the moon with joy. :-)

    Excellent stuff Les! You're the man!


    Bob
  55. Re: johngb has just uploaded Proton Studio Version 1.0.1.10!

    Ok John, thanks to your help I've now solved this problem. I deleted the troublesome key.
    The entry was....

    3611

    Regards,

    Bob
  56. Re: johngb has just uploaded Proton Studio Version 1.0.1.10!

    Yes John, tried the update and close options.


    Bob
  57. Replies
    4
    Views
    22

    [SOLVED !] Re: How to read 8-bit from 10-bit port?

    Well assuming you want the lower 8 bits - i.e. bits 0 - 7 Then you could do something like...


    VAR2 = VAR1 & $0F


    or


    VAR2 = VAR1.Byte0
  58. Replies
    4
    Views
    22

    [SOLVED !] Re: How to read 8-bit from 10-bit port?

    Welcome to the forum grppablo.


    Try using.....

    VAR2 = VAR1 & $FF

    Page 58 of the Proton 24 manual refers.
  59. Re: johngb has just uploaded Proton Studio Version 1.0.1.10!

    Hi John,

    Thanks for the latest update - appreciated as always.

    I've been playing around with new feature which allows plugins to run as stand alone programs. I've successfully added two...
  60. Re: Advice needed - multiplexing 7 segment displays.

    Thanks again Gamboa, I'll start by using something around 60mA and see how that goes.

    Bob
  61. Re: Advice needed - multiplexing 7 segment displays.

    Having had a good look around the Internet, I still haven't found any information on the peak segment current for this display. In general terms the peak current seems to be about 5 times the average...
  62. Re: Advice needed - multiplexing 7 segment displays.

    Thanks Gamboa, that's very helpful. I'll have to see if I can find a value for the peak current from somewhere.


    Bob
  63. Advice needed - multiplexing 7 segment displays.

    I'm trying to build a 5-digit 7-segment display. The LEDs I'm using are 2.3" (approx 6cm) high type FJS23101AH. Unfortunately, I can't find a datasheet on these devices although I know that each...
  64. Replies
    5
    Views
    9

    Re: Why ADC does not work in PIC18F4520

    HI, I see that in your fuse settings you have the extended instruction set (xint) turned on. I seem to recall that this can cause problems. Try turning it off.

    Bob
  65. Re: johngb has just uploaded New Update to Proton Studio!

    I've just downloaded the latest version of Proton Studio John. I'm delighted that I've now managed to get it working perfectly with my PicKit programmers - thank you. I particularly like the way fuse...
  66. Replies
    14
    Views
    33

    Re: Driving 2 LCD Modules from 1 CPU

    Agreed, all you would need to do is change the I2C address I think. The code for driving the these backpacks was on the Wiki, but I can't seem to find it.


    Ah found it.....
    ...
  67. Replies
    12
    Views
    44

    Re: Procedures in the 8-bit Proton Compiler

    I would also consider a minimum donation size as well Les. All this effort needs to be suitably rewarded.




    Could the same technique be applied to the main compiler thus eliminating the need...
  68. Replies
    12
    Views
    44

    Re: Procedures in the 8-bit Proton Compiler

    Brilliant news Les, just say when and I'll part with some dosh! If anyone is in doubt about how much better Proton is than other BASIC compilers, just take a look around - I think you might be...
  69. Replies
    41
    Views
    109

    Re: Advertisement on the forum

    I'd be happy with PayPal too.

    With regard to Les, l think that is another matter. You're quite right though, it would be nice to sort out some formal arrangement so both individuals and ...
  70. Replies
    41
    Views
    109

    Re: Advertisement on the forum

    Hmm......crowd or suspects? :smug:
  71. Replies
    41
    Views
    109

    Re: Advertisement on the forum

    Proton needs and deserves a good quality forum. Whilst we all like free "stuff", quality always has a cost. If Proton was bringing in mega bucks then I guess forum costs would not be an issue but,...
  72. Replies
    41
    Views
    109

    Re: Advertisement on the forum

    From Lester.....



    At under 10 a year for access to this forum, I would regard this as a bargain.



    Whilst I fully understand why adverts are needed, the idea of paying to get rid of...
  73. Re: What does Access mean after dimensioning a variable?

    Now that is an interesting question, as I'm about to start playing with this program it would be good to know the answer to your question.

    Looking at the Proton manual, I can't find Access in the...
  74. Thread: Les's Book

    by Mellbreak
    Replies
    2
    Views
    15

    Re: Les's Book

    I too would like to contribute.

    Bob
  75. Replies
    41
    Views
    109

    Re: Advertisement on the forum

    Totally agree with you George.
    Bob
  76. Replies
    17
    Views
    42

    Re: P24 (using Procedures) for 18F Pics??

    Likewise, I would be prepared to pay an annual fee.

    Bob
  77. Replies
    17
    Views
    42

    Re: P24 (using Procedures) for 18F Pics??

    Agreed. It's simply unreasonable to expect endless free updates and development . Whilst donations are one method, I suspect that it does not bring in vast sums of money. It also makes it difficult...
  78. Re: Replace the PRINT command to use I2C backpack on 1602 LCD

    See if the following helps you......


    '*****************************************************************************************************************
    '* Name : I2CPrintCommand.bas ...
  79. Replies
    7
    Views
    16

    Re: Watchdog timer

    Nice summary Stephen.
  80. Replies
    13
    Views
    31

    Re: Convert Integers to Float

    I have to say that I'm a bit confused too. Integers, by definition, are whole numbers. So why not...


    Var1(float) = Var2(integer)


    Perhaps there's something I'm missing here. Apologies if...
  81. Replies
    6
    Views
    17

    Re: 1602 LCD problem

    I always use the cheapest that I can find on EBay, never had a problem. I wonder if you have a faulty display. I assume that altering the contrast pot has no effect.

    Bob
  82. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Seems both logical and sensible to me John. Please let us know when 1.0.1.6 becomes generally available.

    Bob
  83. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Thanks for the reply Joseph. This is what I have.......


    -P$target-device$ -F"$hex-filename$" -V5 -E -M -B -L


    Assuming the inverted commas are taken out, this works as expected in the...
  84. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Well this is interesting. I've tried 3 different browsers and still can't download the file. Others seem to have no difficulty.

    Incidentally, have any of you guys got Proton Studio to work with...
  85. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    I'm not able to download either. I wonder if you can John because you have better access rights than most of us here.


    Bob
  86. Replies
    29
    Views
    50

    Re: String array question ?

    George,


    Use of a terminal emulator would seem to me to be a good first step and might prove/disprove my thoughts on the delay loop.

    Bob
  87. Replies
    29
    Views
    50

    Re: String array question ?

    Craig,

    An interesting project!

    I was wondering if the "DelayMS 25" was necessary in your program. I assume that the module will only send data once it has calculated the distance value. If...
  88. Replies
    103
    Views
    152

    Re: Malware on this website?

    Couldn't agree more Charlie . Many thanks Lester, we do realise that running this site takes more than a little effort.
  89. Replies
    19
    Views
    45

    Re: Frequency counter

    You could use the signal you're trying to measure to gate a signal of higher frequency, say for example, 32kHz. 1Hz would give you a count of 32k, 160Hz proportionally less. With a little bit of...
  90. Thread: FineLineIDE

    by Mellbreak
    Replies
    162
    Views
    33,783

    Re: FineLineIDE

    Hi Norm,

    I've tested the latest version of FineLine (4.1.2) with both my PICkit 2 and 3 programmers. All is working as it should. Many thanks for all your hard work.
    ...
  91. Replies
    38
    Views
    51

    Re: Proton Studio

    John, there still appears to be an issue with PICkit programmers.

    Compile\Compile - works as expected.
    Compile\Compile and Increment build gives an access violation.
    Compile\Compile All -...
  92. Replies
    38
    Views
    51

    Re: Proton Studio

    Oh yes, it all makes sense now. Thanks for the low down Joseph.

    Bob
  93. Thread: FineLineIDE

    by Mellbreak
    Replies
    162
    Views
    33,783

    Re: FineLineIDE

    Hi Norm,

    Thanks for the quick response. The location I'm using is ....

    C:\Program Files (x86)\Microchip\MPLAB IDE\Programmer Utilities\PICkit3\PK3CMD.exe


    Parameters are: ...
  94. Thread: FineLineIDE

    by Mellbreak
    Replies
    162
    Views
    33,783

    Re: FineLineIDE

    Hi Norm,

    Many thanks for the latest version of FineLineIDE. I have the PICkit 3 5V programmer option selected, but when I try to programme a pic I get this error.....

    3537

    I've obviously...
  95. Replies
    38
    Views
    51

    Re: Proton Studio

    Thanks for that Joseph. I've no doubt John will sort the problem out in due course. I've also noticed that the sample programs found on the welcome page are not editable. Perhaps this is by design. ...
  96. Replies
    38
    Views
    51

    Re: Proton Studio

    Many thanks for the update John, this cures the issues I mentioned. I'm now trying to add my PicKit 3 programmer as custom device. If I go to Compile/Compile and Program the compile takes place as...
  97. Replies
    38
    Views
    51

    Proton Studio

    Hi John,

    Wow! Proton Studio must have taken some work. Many thanks for doing this and for making it available to all us Proton users.

    I've been playing with it for a couple of hours now and...
  98. Replies
    21
    Views
    32

    [SOLVED !] Re: Thumbs up system being abused

    The abuse seems to have been happening for a while George . Wonder what they are up to.

    Bob
  99. Replies
    24
    Views
    12,881

    Re: DHT11 temperature sensor from china

    My pleasure and thanks for the "thumbs-up".

    Bob
  100. Replies
    17
    Views
    28

    Re: Sub-EndSub and Gosub-Return

    Couldn't agree more, I think parameter passing would be significant addition to Proton. However, as JohnD mentions, Les has pointed out it's not an easy thing to do.
  101. Replies
    26
    Views
    55

    Re: Which IDE are you all using?

    Sounds fantastic John. Looking forward to the first release.

    Bob
  102. Replies
    26
    Views
    55

    Re: Which IDE are you all using?

    John, will your new IDE support the current range of plug-ins? I do hope so.

    Bob
  103. Replies
    26
    Views
    55

    Re: Which IDE are you all using?

    This sounds very interesting John, I'm looking forward to giving it a "whirl".

    Bob
  104. Replies
    7
    Views
    26

    Re: Wiki Database error

    Many thanks Lester!
  105. Re: Them interrupts, them interrupts, they drive me mad!

    Oh yes, of course, and you save 6 bytes to boot!:joyous:
  106. Re: Them interrupts, them interrupts, they drive me mad!

    Thanks Les! I've just tried your code and, of course, it works a treat. It's always good to get "pro" tips and learn a bit more about how the compiler works.
  107. Re: Them interrupts, them interrupts, they drive me mad!

    Many thanks folks for all the helpful pointers and code examples. I've now got my rotary encoder working reliably using interrupts. It's been a frustrating process, but I do feel as if I've learn't a...
  108. Them interrupts, them interrupts, they drive me mad!

    Greetings good people. For reasons I can't really explain, I decided it was about time I started to learn how to use interrupts. My current project is an antenna analyser which requires the use of a...
  109. Replies
    8
    Views
    22

    Re: Problem with PIC16F18326

    Go to ...... C:\Program Files (x86)\ProtonIDE\PDS\Includes\PPI ...... Assuming Proton is installed on drive C:

    Find the P16F18326.ppi file and make a backup copy of it.

    Use a TEXT editor such...
  110. Replies
    12
    Views
    46

    Re: Simple cheap dev board needed

    Tim,

    Just so you know.......

    "Please note that the Firewing USB drivers do not currently work with Windows 10."


    Quote taken from the the web page pointed to by your second link.

    Bob
  111. Thread: Chip needed

    by Mellbreak
    Replies
    11
    Views
    28

    Re: Chip needed

    This link might prove useful Charlie.



    http://embedded-lab.com/blog/high-voltage-seven-segment-led-display-driver-with-spi-interface




    Bob
  112. Replies
    2
    Views
    18

    Re: Custom programmer entry

    From the top left of the editor window choose View\Compile and Program Options

    Bob
  113. Replies
    16
    Views
    40

    Re: Support for Les... a change of heart?

    Perhaps this thread needs to be made "sticky". Bob
  114. Replies
    16
    Views
    40

    Re: Support for Les... a change of heart?

    Me too John. I was just about to make a donation and thought I'd better wait for Les to confirm it's really him. I bought Proton many years ago and haven't paid a penny towards the many upgrades....
  115. Replies
    6
    Views
    13

    Re: What a great compiler Proton is.

    Some of you, I'm sure, will be interested in this posting on Facebook....

    http://www.facebook.com/groups/1044161729029932/


    Unfortunately, you may need a FB to see it.


    Cheers,
  116. Replies
    51
    Views
    1,167

    Re: BME280 Humidity/Pressure/Temperature code

    Hi Bob,

    The BME280 should do SPI although I haven't tried it myself. Some boards only bring out the I2C connections, others do both. I might buy one that offers SPI to play with.

    Cheers,

    Bob
  117. Replies
    51
    Views
    1,167

    Re: BME280 Humidity/Pressure/Temperature code

    Festive greetings to all! I've been following this thread but, until now, have not had time to try and find out what's going on. As far as I can tell the problem is that BMP280s are being sold as...
  118. Thread: Free money

    by Mellbreak
    Replies
    1
    Views
    12

    Re: Free money

    My pleasure George. Best wishes to you too!
  119. Replies
    16
    Views
    48

    Re: Help Wanted !

    If I can help Lester ....
  120. Replies
    51
    Views
    1,167

    Re: BME280 Humidity/Pressure/Temperature code

    Hi superdat,

    I've just been looking at the BME280 datasheet. It would seem that you may be able to use your BME280 with I2C. SDI becomes SDA (I2C) and SCK becomes SCL (I2C). Depending on your...
  121. Replies
    51
    Views
    1,167

    Re: BME280 Humidity/Pressure/Temperature code

    Can you post your code please?
  122. Re: Trying to identify and connect OLED module

    Evening George,

    I've been playing around with these OLEDs for a while now. It seems that you have one of the "posh" versions which has both the SPI and I2C ( the controller offers both) interfaces...
  123. Replies
    29
    Views
    54

    Re: What is the fuss about arduino

    Quite agree John. After all it's in everyone's interest that Proton continues to be developed and supported.

    Bob
  124. Thread: Labels:

    by Mellbreak
    Replies
    7
    Views
    30

    [SOLVED !] Re: Labels:

    Nice one Norm!
  125. Replies
    7
    Views
    15

    [SOLVED !] Re: Can't upgrade my compiler

    There seems to be a problem with Internet Explorer George. As well as the two solutions I suggested in my previous post, you can add www.protonbasic.co.uk to the Compatibility View Settings in IE....
  126. Replies
    7
    Views
    15

    [SOLVED !] Re: Can't upgrade my compiler

    Use Firefox to download the latest version or change the .php to .exe.

    Bob
  127. Replies
    13
    Views
    23

    Re: PIC Memory information

    When I've used cdata etc, I've just used a label to mark the start position of the stored information. Proton seems to sort everything out in that respect. Looking at the PIC datasheet,...
  128. Replies
    13
    Views
    23

    Re: PIC Memory information

    Can't you use the part of the 96K of program memory to also store data Dave....CDATA, CREAD and CWRITE?

    Bob
  129. Re: Why Amicus18 is not open source computer hardware like Arduino?

    I'd be happy pay up front too Les. Just let me have the payment details.

    Bob
  130. Thread: Links broken

    by Mellbreak
    Replies
    3
    Views
    10

    Re: Links broken

    Yes, all good with me now. Thanks very much for sorting this out so quickly.

    Bob
  131. Thread: Links broken

    by Mellbreak
    Replies
    3
    Views
    10

    Re: Links broken

    I'm finding the same Alberto. I get a page displaying the message "Content encoding error - The page you are trying to view cannot be shown because it uses an invalid or unsupported form of...
  132. Replies
    7
    Views
    301

    Re: Question about Procedures

    That occurred to me too Simon. I'm sure John has a good reason - speed?

    Bob
  133. Replies
    7
    Views
    301

    Re: Question about Procedures

    This structure certainly work with Gosub structures, my guess is it would work with procedures. Why use Return instead of Endproc?

    Bob
  134. Replies
    7
    Views
    301

    Re: Question about Procedures

    John,

    Would it be possible to do something like this......


    Proc A
    Do Stuff
    GoTo CommonCode
    Proc B
    Do more Stuff
  135. Replies
    19
    Views
    3,023

    Re: Availability of Amicus24

    Les,

    A while ago you mentioned producing a DIY version of the Amicus18 board - all through-the-hole components etc. I wondered if this would be an option for the Amicus24. Certainly a lot cheaper...
  136. Replies
    11
    Views
    448

    Re: 0.1uF Required?

    Does this depend on the type of 1uf capacitor used? I'm not an EE, but always thought that electrolytic capacitors had an inductance associated with them which made them unsuitable for filtering high...
  137. Replies
    14
    Views
    983

    Re: Some thoughts on Procedures in P24

    Oh that is nice !
  138. Replies
    2
    Views
    254

    Re: Are Xmas festivities over yet

    I'm probably being a bit thick here John, but I don't understand your comment. Further explanation would be appreciated!

    Bob
  139. Re: Replace the PRINT command to use I2C backpack on 1602 LCD

    Good to see this on the Wiki George.
  140. Re: ReRAM can now store and process data in the same chip

    Interesting Norm. Once again many thanks for taking the time to dig this sort of stuff up.

    I've seen research papers which document prototype devices that can remember 16 different resistance...
  141. Replies
    2
    Views
    423

    [SOLVED !] Re: Problems with setting OPTION_REG

    Try....

    Declare PORTB_PULLUPS ON

    Regards,

    Bob
  142. Replies
    6
    Views
    1,024

    Re: Battery operated mini night lamp

    Your forum, your rules Lester. I'm afraid I still don't see the point of the original post(s).
  143. Replies
    6
    Views
    1,024

    Re: Battery operated mini night lamp

    The content of post 1 appears to have be plagiarised from.......

    http://www.circuitstoday.com/battery-operated-mini-night-lamp


    Spam to follow?
  144. Re: DIY project about circuit of low voltage audio amplifier looks amazing

    Les,

    The content of post 1 appears in several places on the Internet. For example....
    ...
  145. Replies
    28
    Views
    2,182

    Re: Simple label question

    A bit drastic George don't you think!
  146. Replies
    28
    Views
    2,182

    Re: Simple label question

    Les, I think this link needs to be more obvious. Perhaps in a thread (sticky) of its own?
  147. Replies
    28
    Views
    2,182

    Re: Simple label question

    How very true George. It doesn't help that most of this country's (UK) universities and higher education establishments laugh at the very thought of programming anything in BASIC. Also, I whilst I...
  148. Replies
    53
    Views
    3,423

    Re: Quiet on the forum

    Trolley buses were still running until early '64 in South Shields George. You see I'm not that old.

    Still amused by the thought of Les being one of the NEs bad boys in his youth!
  149. Replies
    53
    Views
    3,423

    Re: Quiet on the forum

    Apologies for dragging this thread up again, but I realised that I didn't reply to your question about my grandfather's pub Les It was the Royal Arms in Ablemarle street. Owned by Alex Deuchar Ltd at...
  150. Replies
    53
    Views
    3,423

    Re: Quiet on the forum

    My first computer was the Z80 based Nascom 2. Anyone remember these? Came as a kit of parts - a circuit board and loads of 74 series ICs. As John has said, slow but loads of fun. Even built my own...
  151. Replies
    19
    Views
    3,023

    Re: Availability of Amicus24

    Hi John,

    I've got one of the original (R1) Firewing boards. It seems nicely made and works well with PDS. I've done a few things with it, but nothing major - yet. If you install the Firewing...
  152. Replies
    4
    Views
    705

    Re: HRSout and HSerOut byte order

    Hi Rick,

    I'm not entirely sure if I've understood your problem fully, but the following code certainly gives the correct results on my compiler..


    Dim SNHi As Dword
    Dim SNLo As Dword
    Dim...
  153. Replies
    22
    Views
    1,577

    Re: Multiple identities for a device

    I accept your apology George, but perhaps it should go to Tumbleweed!

    Bob
  154. Replies
    5
    Views
    640

    Re: 2 Select Languages on web site

    One possible fix in Firefox is to install the Privacy Badge extension and then use it to block translate.google.com.

    Bob
  155. Replies
    2
    Views
    837

    Re: How to update the Proton Suite

    Yes, that will do it. Les usually lets people know if an uninstall is required. It's always worth looking here ....

    http://www.protonbasic.co.uk/vbdownloads.php

    for any minor updates too.

    Bob
  156. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    You've got it George. Perhaps I need to change the comments to make this point more clearly.

    Bob
  157. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Sorry George, the quick answer is no. That's just to show where the code below comes from. I had to split the calculation into two parts as Proton didn't seem to like single line.

    Bob
  158. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Hi George,

    Firstly the altitude calculation. In order to get an accurate result you need to know what the pressure at sea level is. Unfortunately that changes on a daily basis! The 101325 figure...
  159. Replies
    11
    Views
    1,021

    Re: Issues around reset.

    George,

    I can't reproduce your problems on an 18F4550, but I can on a 16F877A. On the '877 it seems that the display doesn't initialise until the PIC is reset. The processor is clearly running as...
  160. Replies
    11
    Views
    1,021

    Re: Issues around reset.

    I'm just using the pull-ups on the board George, these are 4.7K.

    Bob
  161. Replies
    11
    Views
    1,021

    Re: Issues around reset.

    Hi George,

    I've been playing around with your program once more. Try as I might I simply cannot get it to go wrong. Not particularly helpful I know, but wonder if it might point to a hardware...
  162. Replies
    51
    Views
    1,167

    BME280 Humidity/Pressure/Temperature code

    For those interested in this Bosch sensor, here's some Proton code to get you started.


    '****************************************************************
    '* Name : BME280.BAS ...
  163. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Thanks John.
  164. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    I've written a short Wiki article for the BMP280. The code is similar to that which appears in the last post, but has been tidied up a bit. Could one of the moderators please publish it.


    Cheers,...
  165. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Well I've managed to get this sorted now. On the BMP180 the calibration values are stored in big endian format. Stupidly I assumed the same for the BMP280. Guess what? That's not the case. Below is a...
  166. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Sorry guys, but the thread title does relate to the BMP280 sensor. Perhaps a new thread for the RTCC stuff?

    Cheers,

    Bob
  167. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Got me puzzled too George.

    Bob
  168. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Oops, that should have been add the humidity bits George. Doh!
  169. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Thanks for the link George - interesting. I'm still playing but I'll post what I've got so far. Perhaps you can see something which has escaped me. If you have a BME280 the code below should work...
  170. Replies
    26
    Views
    2,887

    Re: BMP280 Pressure Sensor

    Thanks for the reply. Unfortunately the BMP180 and BMP280 are rather different and the code is not transferable between the two :-(

    Bob
  171. Replies
    26
    Views
    2,887

    BMP280 Pressure Sensor

    Has anyone out there managed to get the BMP280 sensor working with Proton? I've written some code myself and the code to calculate temperature and pressure works very well with the test data...
  172. Replies
    27
    Views
    3,675

    Re: PicKit2 doesn't support 18F66K80 series

    Thanks for this, much appreciated.
  173. Replies
    11
    Views
    3,976

    Re: rs232 on 18f4550

    Hi Dima,

    Firstly let me say that Charlie is a respected member of this forum with a lot of experience of using Proton. He doesn't "Troll" . This forum is very different to many others - people...
  174. Replies
    24
    Views
    12,881

    Re: DHT11 temperature sensor from china

    Thanks for sharing your code Flosigud. One of the many things I find interesting about programming is the different routes people take to solve the same problem.

    Bob
  175. Replies
    6
    Views
    851

    [SOLVED !] Re: 18F45K22 - Junk string from Hserin

    Hi Greedyfoox,


    If you install this IDE plugin it will help solve your UART configuration problem...

    http://www.protonbasic.co.uk/content.php/1855-USART-EUSART-Calculator


    Look at the Wiki...
  176. Replies
    6
    Views
    851

    [SOLVED !] Re: 18F45K22 - Junk string from Hserin

    Hi,

    Welcome to the forum. I wonder if you've seen this Wiki article written be Les (Proton's author) ...

    http://www.protonbasic.co.uk/content.php/451-Extracting-GPS-Data



    It shows a very...
  177. Replies
    21
    Views
    2,059

    Re: Problem with Str$ instruction.

    Again thanks Les. I'll raise an anomaly report for the problem I'm having with the display of floating point numbers.

    (BTW, I've just been playing with the ILI9325 routines you put on the Wiki...
  178. Replies
    21
    Views
    2,059

    Re: Problem with Str$ instruction.

    John,


    I think it may tied in with the problem outlined in this post.

    http://www.protonbasic.co.uk/showthread.php/75709-Floating-point-anomaly


    Bob
  179. Replies
    21
    Views
    2,059

    Re: Problem with Str$ instruction.

    Kbaykar,


    Do you still get problems with no optimisation?


    Bob
  180. Replies
    21
    Views
    2,059

    Re: Problem with Str$ instruction.

    Les,

    Try using the line...

    Floatin = 8388603.0

    On my machine this number and numbers above it are retuned as 0.


    If Declare Float_Display_Type = Fast is added, this number is...
  181. Replies
    7
    Views
    2,106

    Re: Esp01 esp8266 + pic

    Hi Pic,

    I'm currently using an html page.


    Bob
  182. Replies
    3
    Views
    763

    Re: Floating point anomaly?

    A work around for this problem is to use....

    Declare Float_Display_Type = Fast


    With this declare in place all works as expected.

    Bob
  183. Replies
    3
    Views
    763

    Re: Floating point anomaly?

    Thanks Tumbleweed for taking the time to look at this problem. If I hadn't made a silly mistake in my program, I'd have realised this.

    The line ....

    HSerOut ["TestVar2 = ",Dec3...
  184. Replies
    3
    Views
    763

    Floating point anomaly?

    Unless I'm misunderstanding something, which is always possible, I think I've found an anomaly with Proton's floating point routine.


    From page 51 of the manual...



    However, I'm finding...
  185. Replies
    10
    Views
    1,647

    Re: BMP180 Pressure Sensor Code

    Thanks John. The sensors section could be subdivided into Pressure, Humidity and Temperature. For example, I've posted code on the forum DHT11 humidity sensor. There's stuff on the DHT22 as well. ...
  186. Replies
    10
    Views
    1,647

    Re: BMP180 Pressure Sensor Code

    John,


    I've placed a short article on the Wiki. If your happy with it please publish.

    Thanks,

    Bob
  187. Replies
    10
    Views
    1,647

    Re: BMP180 Pressure Sensor Code

    Thanks for the comments gents.

    David - If only I'd seen Ryan's code! It would have saved me a lot of work. Still I enjoyed playing around and getting the thing to work. At the moment I'm just...
  188. Replies
    10
    Views
    1,647

    BMP180 Pressure Sensor Code

    I've just spent a couple of days playing around with the BMP180 pressure sensor from Bosch. Currently these are less than 2 on eBay at the moment. I couldn't find anything on the forum about this...
  189. Thread: Pic16f877a

    by Mellbreak
    Replies
    17
    Views
    2,665

    [SOLVED !] Re: Pic16f877a

    Compile the source code (the .BAS file). You can do this within the Proton IDE. Look in the top left hand corner and you will see the word "Compile" Click on this word and it will compile the program...
  190. Replies
    7
    Views
    1,187

    Re: Edit time out

    Thanks Lester. Always good to know the reasons why these limits exist.

    Bob
  191. Replies
    7
    Views
    1,187

    Re: Edit time out

    Story of my life now John!:D
  192. Replies
    7
    Views
    1,187

    Re: Edit time out

    Couldn't agree more George. 20 minutes is simply too short.


    Bob
  193. Thread: Pic16f877a

    by Mellbreak
    Replies
    17
    Views
    2,665

    [SOLVED !] Re: Pic16f877a

    Hi Sourav,

    Welcome to the forum. The following link should prove useful ....

    http://www.circuitstoday.com/inputoutput-ports-and-tris-registers-in-pic-16f877

    Bob
  194. Replies
    7
    Views
    2,106

    Re: Esp01 esp8266 + pic

    Hi Pic,

    Should the line.....

    HSEROUT [ "AT + CIPSEND = 0.5", 13,10]

    not be.......

    HSEROUT [ "AT + CIPSEND = 0,5", 13,10]
  195. Replies
    22
    Views
    2,031

    Re: Phase Locked Loops

    Charlie,

    Have you seen Freescale application notes AN1597? The notes contain the schematic for a receiver which will decode the 198kHz time signal.

    Bob
  196. Re: Trying to access internal oscillator 12F675 conundrm

    These settings work for me Glenlivet....

    Device = 12F675

    Config FOSC_INTRCIO, WDTE_OFF, PWRTE_ON, MCLRE_OFF, BOREN_OFF, CP_OFF, CPD_OFF

    OSCAL value OK?
  197. Replies
    5
    Views
    914

    Re: pds upgrade last version

    Bob,

    I think Les has removed the latest update....he wants to do some more testing on it.

    Cheers,


    Bob
  198. Replies
    32
    Views
    21,290

    [SOLVED !] Re: MPU6050 DMP, Accelerometer and Gyroscope Code

    WOW! Just watched the video, this is classy stuff.

    Bob
  199. Replies
    5
    Views
    1,134

    Re: 16F1575 Test Program Does Not Compile

    Oops. Sorry I should have read your post more thoroughly. I see that you have downloaded the .PPI & .DEF files. All I can add is that I did as I suggest in my first post and your test program...
  200. Re: Replace the PRINT command to use I2C backpack on 1602 LCD

    Well good luck with that one George! I've seen at least 3 variations of these backpacks never mind the two chip versions.

    Bob
Results 1 to 200 of 524
Page 1 of 3 1 2 3