Search Results - Proton BASIC community web site


Search:

Type: Posts; User: towlerg

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: Proton and MplabX Ide 5.1 and debug Pickit 3

    All that accepted, it's got to beat the shit out of Mplabx.

    Personally I use Proteus for debugging algorithms and serial terminal for real hardware.
  2. Re: Proton and MplabX Ide 5.1 and debug Pickit 3

    I really don't think this is the way forward, if you want a debugger, port the existing (but not working) user written debugger to the latest version of Proton. It is called P-IDC.
  3. Re: Proton and MplabX Ide 5.1 and debug Pickit 3

    Good luck with MplabX, the spec and all the features looks great the implementation sucks the big one. Don't even get me started on IPE.
  4. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    518

    Re: PICkit plus

    Evan posted earlier that if he'd changed PK2/3 firmware (which he decided not to do) he could have made it even quicker.
  5. Replies
    9
    Views
    361

    Re: USB Help please from the boffins

    Perhaps I misunderstood. You posted that your test worked on the 14K20 but not on the 13K20 and I pointed out that I suspected that as the 14K20 was marginal with 768 RAM, the 13K20 would be even...
  6. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    518

    Re: PICkit plus

    @Evan, I was referring to the way that mplabx and ipe change pk2/3 firmware at a whim (I guess there's some rule but I dumped IPE as soon as I could and mplabx sucks so hard it leaves me speechless)...
  7. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    518

    Re: PICkit plus

    FWIW I'd agree with your choice although give how MC play fast and loose with that aspect of the PK2/PK3
  8. Replies
    9
    Views
    361

    Re: USB Help please from the boffins

    Can't find a reference but I vaughly remember Les posting that 14K50 was marginal, if so 13k50 even more so (768 vs 512). Only a guess but as they share a DS it's one of the few differences.
  9. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    518

    Re: PICkit plus

    It's great to hear PicKitPlus development continues and I would defiantly have got it if I hadn't previously found NSDSP, using LVP this thing is so damn fast, sometimes I do a (redundant) verify...
  10. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    518

    Re: PICkit plus

    Yea, it's neat isn't it, the quys who wrote it showed up MicroChip.
  11. Replies
    11
    Views
    547

    Re: Clock frequency in SPI communication

    Of course if you use the MSSP directly you have many selectable clock sources but I doubt if you can go that slow. Anyway I see your using 22 bit so forget my post.
  12. Re: Any tips on getting a i2c 16x2 lcd working?

    I seem to remember you could buy 3.3v 16x2 alpha modules.

    Edit In fact I have one if you want to borrow till you can source one.

    The problem with the backpacks you can buy is that there is so...
  13. Replies
    34
    Views
    1,451

    Re: Positron and Positron16 dev boards

    The CH340 is found in pretty much anything where the budget is too tight for FTDI. eg Arduino clones
  14. Replies
    7
    Views
    537

    Re: How read a motor encoder

    Why not dedicate a PIC device to reading the encoder and sending the result on demand?
  15. Replies
    7
    Views
    772

    Re: Add Crystal Doesn't Work

    As I posted previously, if you use the format



    you will need to change the appropriate property in Proteus.
  16. Replies
    6
    Views
    663

    [SOLVED !] Re: LCD driven by PCF8574

    Your problem with I2C address is pretty clear in the source I provided


    The address $0E is described as part address because the full address is made up of the logic level of A0,A1 and A2 and the...
  17. Replies
    6
    Views
    663

    [SOLVED !] Re: LCD driven by PCF8574

    I as sooo over breadboard, it is just so unreliable. Probably my own fault cause I used to buy the cheapest which suck even harder than decent ones. I built a couple of boards with the i/o brought...
  18. Replies
    34
    Views
    1,451

    Re: Positron and Positron16 dev boards

    Even if you rehash Wiki entries into a consistent format. There is so much good stuff in there that is inaccessible to the new Proton user (if only the hassle of porting from whatever to whatever).
    ...
  19. Replies
    6
    Views
    663

    [SOLVED !] Re: LCD driven by PCF8574

    I wrote some code that used the cheapo alpha LCD I2C backpack, it's may be in Wiki, called something like "Replace Print command ...........". The code uses PCF8574 or PCF8574A.
  20. Replies
    7
    Views
    772

    Re: Add Crystal Doesn't Work

    Proteus does not model the oscillator, it just uses whatever speed you enter into the properties for the PIC device in the field Processor Clock Frequency. It is obviously vital the the value you...
  21. Replies
    7
    Views
    772

    Re: Add Crystal Doesn't Work

    Did you tell Proteus you were using a 4 MHz crystal?
  22. Replies
    4
    Views
    392

    Re: Code memory read write without a label

    Does AddressOf (AKA VarPtr) help?
  23. Replies
    34
    Views
    1,451

    Re: Positron and Positron16 dev boards

    Me too (prepay that is). To repeat myself, I think this is a great step forward for Proton and hopefully for you, Les. Do you have a notional list of libraries?

    Edit. If you create a format for...
  24. Replies
    34
    Views
    1,451

    Re: Positron and Positron16 dev boards

    Great news. I really feel this the way forward in Arduino etc. world. The mas of peeps just want it to work, and who's to say thats wrong? It'll really show just how naff the Auduino compiler is.
    ...
  25. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    Why not just use Mikrobasic for everything? BTW if it's not obvious thats a rhetorical question.
  26. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    This has been voted understatement of the year 2020 (so far, but we doubt if it will be beat)
  27. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    I don't want to get into this back and forth but if you want a composite device, there is a descriptor mechanism to create one.

    BTW unless you intend to port the code from the MLA, Proton does not...
  28. Replies
    4
    Views
    600

    Re: How to read and write eeprom

    Some code might help somebody help you.
  29. Replies
    11
    Views
    488

    Re: Procedure where to place them?

    Weather thats possible or not I don't know but for fault finding it's good to be able to match Proc with an EndProc
  30. Replies
    11
    Views
    1,972

    Re: PORTA.6 and PORTA.7 16F628A

    Is that a typo? they cost 150 a pop!
  31. Replies
    11
    Views
    1,972

    Re: PORTA.6 and PORTA.7 16F628A

    Assuming that A7 already works, try INTIO67.
  32. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    You need to monitor USB 5v with a GPIO.
  33. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    In both cases 5v will not be present on USB input. It simplifies things if you power your project from USB.
  34. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    I haven't looked at your last post yet but can you confirm that by "when the usb connection is lost" you mean the USB cable is removed?

    I may be wrong but I though it was a combination of the...
  35. Thread: TM1637 code

    by towlerg
    Replies
    16
    Views
    1,676

    Re: TM1637 code

    I have one of these modules but the ony text on the display is KYX-3462BS. The text on the PCB is "4-bit LED Digital Tube Module", I got it on ebay via the slow boat.
  36. Replies
    24
    Views
    1,248

    Re: pic18f4550 Is there a usb connection?

    Not sure I can answer your exact question but to reset you can execute the assembler mnemonic RESET. Generally the code for a USB HID device will loop forever on losing attach. Something like -
  37. Replies
    7
    Views
    505

    Re: Sleep and how to use it

    @Kuhrig. To confirm I understand your code correctly, PIC will come out of sleep if a button is pressed or 1 minute timeout?

    Please could you repost your code (binary values) and don't...
  38. Replies
    7
    Views
    505

    Re: Sleep and how to use it

    Another example might be where a battery power key fob used sleep to save power and a irq from a bunch of key depression ioc's
  39. Thread: TM1637 code

    by towlerg
    Replies
    16
    Views
    1,676

    Re: TM1637 code

    I find that if I post code with binary data and don't subsequently edit it, it displays ok. I'd like to try you code, perhaps you could repost?
  40. Re: error: too many system variables: 80 available. 84 used.

    @johngb I wish I could unfortunately my brain is far too small, I find even the newer 18F's ie 18F27K42 much to complicated, the ADC alone is enough to cause considerable hair lose.
  41. Re: error: too many system variables: 80 available. 84 used.

    @kuhrig In my opinion arrays on 16F and to a certain extent all PIC devices are severely complicated by the segmented nature of paged RAM. Personally I would use an intermediary variable, you only...
  42. Re: error: too many system variables: 80 available. 84 used.

    I guess you need to post code.
  43. Replies
    13
    Views
    670

    Re: I2C Help Pic18F47K40 Please!

    Sweet, thanks for the info.
  44. Replies
    13
    Views
    670

    Re: I2C Help Pic18F47K40 Please!

    It's not a matter of if the clock is running rather that the actual clock is the same as the declared XTAL. To be sure create a blinky 500ms on, 500ms off then start a stopwatch and count to 60.

    I...
  45. Re: error: too many system variables: 80 available. 84 used.

    You can see a list of system variables in the .LST file. look for COMPILER SYSTEM VARIABLES
  46. Replies
    13
    Views
    670

    Re: I2C Help Pic18F47K40 Please!

    Has the K40 got slew? Other than that I can't see why bit banged I2C wouldn't work across pretty much any PIC device UNLESS the actual clock is not the same as the declared clock. I see you have a...
  47. Replies
    13
    Views
    670

    Re: I2C Help Pic18F47K40 Please!

    If Les wrote libs especially for the k40 I sure he did it for a reason, have you tried them?

    Unfortunately your LA pic is to small to see anything other than the fact that your getting something,...
  48. Replies
    26
    Views
    992

    Re: Coronavirus Alert!!

    Oh, youtube is my downfall, after 2 hours of hooping from one piece of nonsense to the next, couple of billion years of evolve an eye and I waste it on that.
  49. Replies
    20
    Views
    1,588

    Re: Negetive Numbers with minus sign

    Bug in board software. If you refrain from editing binary representation comes out OK.
  50. Re: Select... Case not producing correct result

    Not specified in the manual but personally I would even use a signed variable.
  51. Replies
    26
    Views
    992

    Re: Coronavirus Alert!!

    Oh sweet and adorable jesus no, the very last thing.
  52. Replies
    26
    Views
    992

    Re: Coronavirus Alert!!

    This thread is the source of nightmares, locked in 24/7 with my ex, horrible.
  53. Replies
    14
    Views
    632

    Re: RTC accuracy and settings

    If you want accurate time nothing beats GPS. The Blox modules are cheap as chips.
  54. Replies
    14
    Views
    632

    Re: RTC accuracy and settings

    Only as good as the clock.
  55. Thread: Versioning

    by towlerg
    Replies
    20
    Views
    1,141

    Re: Versioning

    If you want real inefficiency. I sometimes use an Arduino as a quick check that may latest super cheap dohicky actually works. Just to check the Arduino was working I ran the blinky, over 900...
  56. Replies
    8
    Views
    815

    Re: The compiler mistery

    I don't understand.
  57. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    You're kidding right? More variants of Linux than something with a lot of variants.
  58. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    Wheras I run Win 7 and make it look and feel like Win98, which I guess makes a even more of a curmudgeon than Les.
  59. Replies
    8
    Views
    815

    Re: The compiler mistery

    Think about it like this -

    Compiler preprocessor commands are compile time variable and constants (Symbol) are run time.

    If you use Symbol for constants and preprocessor for code block...
  60. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    "Then will be a problem to be able to clean up the caused mess."
    If a DLL already exists install programs usually ask if you want to overwrite.
  61. Replies
    8
    Views
    815

    Re: The compiler mistery

    Just a guess but comments with Defines can be problematic.

    I beleive that Define is text substitution so in

    $define MAXRPM 3000 ' Value to limit the maximum rotation speed

    is...
  62. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    "Iceland is not a cold place" I suspect I inadvertently touched a nerve. It's -1 in Reykjavk and 9 here.

    I would not describe 8X (or even 2X) as a small difference, or perhaps I've misunderstood...
  63. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    I've tried Linux a few times but it's just to hard, for me an OS is a tool not an end in it's self. The fact that an app needs a separate installer kills it for me. Now, if all you Linux people could...
  64. Thread: Versioning

    by towlerg
    Replies
    20
    Views
    1,141

    Re: Versioning

    The only reason I wrote an additional program was because I wanted to include info that was not available at compile time ie compiler version.

    Do a search for idlocs and you find code.

    Edit....
  65. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    I count myself in the list of Microsoft detractors but one thing you have to give them credit for is the long view, they gave away Win10 for free (which BTW is what it's worth).

    If they'd just...
  66. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    More good stuff from a cold place. Did you manage to put a figure (a percentage I guess) on the speed improvement?
  67. Thread: Versioning

    by towlerg
    Replies
    20
    Views
    1,141

    Re: Versioning

    There was a thread to that effect. Somebody posted code to use that area but in the end Microchips sketchy implementation (they don't even use the same name for the feature) across the range limited...
  68. Replies
    17
    Views
    916

    Re: Why would anybody buy anything from Apple.

    For me it's not the technology (which is mediocre at best) but the sheer neck of the nonsense statements they make in an attempt to cover up poor design.
  69. Replies
    7
    Views
    421

    Re: PIC 18F47K40 ADC - HELP Please?

    Not quite what you're looking for but it may help. A proc that reads Vcc on 18F27K40. I've forgotten the source of the comments but I suspect from the errata.

    ...
  70. Replies
    17
    Views
    916

    Why would anybody buy anything from Apple.

    Why would anybody buy anything, let alone pay a premium. After the "you're not holding the phone correctly" nonsense now we have -

    >>> Apple to Pay Price for Purposely Slowing iPhones

    Apple...
  71. Replies
    3
    Views
    934

    Re: PIc 16F and I2C LCD module

    The code to the PCF8574 simply duplicates the standard Print code so should work on any PIC device. Beware some backpacks uses PCF8574A and different bit orders.

    Note there are two versions...
  72. Replies
    16
    Views
    4,342

    Re: RC522 RFID Code

    @mjturner Thanks very much for the excellent code for RC522. I'm trying to port to 18F25K50 and curious why you used the SPI hardware directly and not thro one of the SPI commands ie SHIN/SHOUT?
  73. Replies
    3
    Views
    934

    Re: PIc 16F and I2C LCD module

    The only difference between the two versions provided is method of generating I2C either bit bang or MSSP.
  74. Thread: Read HX711

    by towlerg
    Replies
    25
    Views
    9,766

    Re: Read HX711

    @Joe I have similar to your s-l16004.jpg 4 wires, apparently 2 loadcells and different legend on ADC board.
  75. Thread: Read HX711

    by towlerg
    Replies
    25
    Views
    9,766

    Re: Read HX711

    @Joe what colour wires do you have from the load cells and how are they connected?
  76. Thread: Read HX711

    by towlerg
    Replies
    25
    Views
    9,766

    Re: Read HX711

    I guess thats a matter of opinion, I don't believe that clocked serial data without CS is SPI. Certainly no SPI command (in any language) is going to work on this.

    Re. you enquiry, surely there...
  77. Thread: Read HX711

    by towlerg
    Replies
    25
    Views
    9,766

    Re: Read HX711

    @Charlie No, according to the datasheet its serial data clocked out of the adc. I think I've got the bridge wired wrong. Maybe I'll give up on this controller and get one that labelled sensibly,...
  78. Thread: Read HX711

    by towlerg
    Replies
    25
    Views
    9,766

    Re: Read HX711

    I've just got the hardware (slow boat from china) and I think I may have bought the wrong thing. The aluminum block with the load cells on two opposite side seems to be pretty standard. On the back...
  79. Replies
    9
    Views
    525

    Re: RF modules recomendations?

    nRF24L01+ is excellent if your looking for a high speed bidirectional data transfer environment with auto Ack and auto retransmit but HC-12 is just so easy and suits your requirements (except the 433...
  80. Replies
    9
    Views
    525

    Re: RF modules recomendations?

    HC-12 operates 433.4-473.0MHz not sure if that excludes it, it has 100 channels and defaults to 0. Otherwise super simple and super cheap, defaults to 9600, no problem with range, 3.3v
  81. Replies
    41
    Views
    2,012

    Re: Something screwy about 16F88 OSCCON register

    I wonder if there's anything here will help https://www.theengineeringprojects.com/2018/08/introduction-to-pic16f88.html
  82. Replies
    41
    Views
    2,012

    Re: Something screwy about 16F88 OSCCON register

    Just curious, but why are you persevering with this Pic device? I suppose you could try LVP (assuming you aint messing with RB3 (PGM)
  83. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Re: Hc-12

    @Maxi - are yu sure about that? its just a breakout board after all?
  84. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Re: Hc-12

    You do not need code, rx/tx is completely transparent.

    For example a wireless GPS. HC-12 to the rx/tx on the gps, another HC-12 to a ttl to USB dongle. Fire up putty on the PC and bob's your uncle.
  85. Replies
    41
    Views
    2,012

    Re: Something screwy about 16F88 OSCCON register

    @David

    on the register description for OSCCON, above IRCF0-2 the text R/W-0 means the register is read/write and resets to 0.
  86. Replies
    18
    Views
    3,123

    Re: Interrupt and SHout problem

    According to Les, the trick with binary display in this forum is NOT to edit after adding.
  87. Re: Question on available program space 16F15313 / 16F15325

    I believe so.
  88. Replies
    8
    Views
    948

    Re: Expand the Proton compiler

    You can run ESP from Arduino IDE (as well as a tone of other boards) it's a download option.

    Yes the Arduino IDE sucks but there are a zillion libraries. If you just want something to work, you...
  89. Replies
    8
    Views
    948

    Re: Expand the Proton compiler

    Annex looks quite interesting but doesn't have the mass of libs that come with the Arduino ide.
  90. Replies
    10
    Views
    1,717

    Re: Problem receiving string

    I suspect with all those levels of "stuff" real time is not (to say the least) doable.
  91. Thread: An unusual day

    by towlerg
    Replies
    0
    Views
    242

    An unusual day

    Not raining anywhere on this fair (if damp) isle and England killing it in SA.
    3881
  92. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Re: Hc-12

    @Giuseppe Thanks for the video link, good info but the voices are so duuullllll. It appears that by luck I have genuine parts.
  93. Thread: Flying drones

    by towlerg
    Replies
    24
    Views
    1,263

    Re: Flying drones

    The thing that throws me about drones is the massive disparity in prices between machines that have (apparently) the same features.
  94. Replies
    9
    Views
    866

    Re: Transistor curve tracer with a PIC

    A lot of newer PIC devices have DACs onboard.
  95. Replies
    9
    Views
    866

    Re: Transistor curve tracer with a PIC

    Isn't that precisely what the poster is requesting help to achieve?
  96. Thread: Optimiser

    by towlerg
    Replies
    3
    Views
    607

    Re: Optimiser

    Doesn't that rather imply that it's off by default for 14-bit devices?
  97. Replies
    9
    Views
    866

    Re: Transistor curve tracer with a PIC

    Proteus 8..............
  98. Replies
    15
    Views
    1,100

    Re: Can't get SR04 ultrasonic to work

    Oh bugger, I did it again, I'm so dim I want to slap myself (but much to much of a baby for that,so go with eslap). I tried to run a 5v device on 3.3V.
  99. Replies
    15
    Views
    1,100

    Re: Can't get SR04 ultrasonic to work

    Les, I feel for you re. Win10, personally I wouldn't touch it with yours but I guess you have no choice.

    Re the SR04, I get a 2.5 - 3usec echo whatever I do.

    Will the changes you make for Win...
  100. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Re: Hc-12

    Thanks for the info. I seem to have the same type as shown at the end if the vid.

    Does anyone know how to detect (other than suck it and see) the dodgy modules?
  101. Replies
    15
    Views
    1,100

    Re: Can't get SR04 ultrasonic to work

    Thanks Les, pretty sure it was your code a ripped off in the first place.

    "Remember, the values read from PulseIn are dependant on the oscillator used for the microcontroller" I thought this was...
  102. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Re: Hc-12

    ebay for China. I seem to remember they were so cheap, that it would hardly matter if they were fakes.

    I find with eBay that sellers with good feedback are VERY ken to retain it. Most will give...
  103. Replies
    15
    Views
    1,100

    Re: Can't get SR04 ultrasonic to work

    Hi Craig, thanks for posting code. No go I'm afraid, I guess the either the SR04 is jiggered or I'm as dim as ... can't think of an appropriate simile.
  104. Replies
    15
    Views
    1,100

    Can't get SR04 ultrasonic to work

    What am I doing wrong. BTW I know its a lot of code, I use a template. The actual "write/read SR04" code is tiny.


    '*********************************************************** ...
  105. Re: Kaspersky -- Threat of Data Loss warning -- Workaround

    That was kindda my point. I've never seen the point of a scanning (if thats the right term ie constantly checking) AV. I run Clamwin to check any file that may be dodgy.
  106. Re: Kaspersky -- Threat of Data Loss warning -- Workaround

    Stephen, I have a better workaround, don't use av's that generate false positives.
  107. Replies
    20
    Views
    4,281

    Re: PIC Basic to Proton Basic Convertion

    John, didn't know that but why would you do it?
  108. Replies
    20
    Views
    4,281

    Re: PIC Basic to Proton Basic Convertion

    assuming you dont want to use a floating point number


    Dim TempC As SWord ' a signed integer

    If TempC > 9999 Then
    Print At 1,2," ",Dec3 TempC/100,".",Dec1 (TempC//100/10),223
    ElseIf...
  109. Re: Need more pins! Support update / alternative for 16F18455?

    Try a program called Everything. I would have found those files within a few seconds. It's an invaluable tool, once you put it on one PC you'll be lost without it. Oh and by the way, it's free.
  110. Re: What radio module can I use to transmit at 500kbit?

    There are several bits of code for nRF24L01+, not sure if it's fast enough for your app. Very easy to use, Ack/Nak automatically plus payload with ack for two way data with pretty much zero software...
  111. Re: Need more pins! Support update / alternative for 16F18455?

    Have you tried MAPS (Microchip Advanced Parts Selector)?
  112. Replies
    142
    Views
    4,504

    Re: Les's ILI9325 Wiki code

    One is the Proton preprocessor the other is the assembler's.

    Yes it is funny. Aussie's love to be different than the "old country" (it's 999 in the UK).
  113. Re: Dongle Issues with Windows 7 64 Bit. Making it difficult to use already purchased

    A little rude to somebody who's trying to give you money.
  114. Replies
    19
    Views
    1,193

    Re: Microcap now free

    @charlie LOVL

    @John is that where the insult "you big galah" comes from.
  115. Replies
    9
    Views
    951

    Re: SERIN/SEROUT how low can you go?

    If that's the case, roll your own bit bang then you can go as slow as you want any combination of stop, start, data and parity. You could even add a few bits and get a checksum. I'm sure you'll find...
  116. Replies
    9
    Views
    951

    Re: SERIN/SEROUT how low can you go?

    Oops just reread your first post. Sorry can't help except that manual seems to say that any baud 0-65535 will work. Maybe try Rsin/Rsout?
  117. Replies
    7
    Views
    864

    [SOLVED !] Re: Clean up old versions

    It takes a while to get the docking gui elements and plugins just so. So why risk having to do it all again if uninstall uninstalls the wrong one.

    So if you need the space, why not manually delete...
  118. Replies
    16
    Views
    1,410

    Re: It's Christmas, how about a bit of giving?

    Thanks for everything Les.

    It's not much, wish it could be more. State pension bla bla.
  119. Replies
    9
    Views
    951

    Re: SERIN/SEROUT how low can you go?

    Is it an option to degrees the 32MHz clock?
  120. Replies
    1
    Views
    333

    3d printing heated enclosure

    I'm defiantly going to buy a Prusa Mini when some of the bugs have been circumented (so maybe 6 months from now). That not a problem as I have to learn 3d model making first (not making much...
  121. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    Doesn't the dreadful noise and the manual bed leveling drive you crazy?
  122. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    How do you bypass?
  123. Replies
    4
    Views
    486

    Re: Examining elements of a string

    Assuming that String1 is an array
  124. Replies
    15
    Views
    951

    Re: 3.7.3.1 download will not unzip

    Double smug, Win7 and Waterfox
  125. Replies
    15
    Views
    951

    Re: 3.7.3.1 download will not unzip

    One mans "second hand" is another mans "refurbished".

    I always buy refurbished laptops. You can get some fantastic deals on 2 or 3 year old, top of the line machines.
  126. Replies
    15
    Views
    951

    Re: 3.7.3.1 download will not unzip

    Much as I admire your fortitude and perseverance, why do you keep banging your head against Win 10?

    I'm gonna stay with Win 7 till a must have app doesn't support it (not holding my breath) and...
  127. Replies
    14
    Views
    1,105

    Re: SI7021 Temperature & Humidity Sensor

    Sorry, I made a mistake when I posted the Busin used hardware, but you obviously worked that out for yourself.

    What Pic device are you using and what pins are connected to Clk and Sda?

    Do you...
  128. Replies
    14
    Views
    1,105

    Re: SI7021 Temperature & Humidity Sensor

    To be fair, it's very clear ie

    BUSIN


    BUSOUT


    @Thetrueman Life is so much easier life if you can see what's going on, which is exactly what a logic analyser will do. You can get a clone...
  129. Replies
    14
    Views
    1,105

    Re: SI7021 Temperature & Humidity Sensor

    Too late to edit. I see the device has registers Electronic ID, which is a good test. Do you read 0xFA from Address 0x0F and 0xFC from Address 0xC9?
  130. Replies
    10
    Views
    779

    Re: 18F25K20 osc / clock odd frequency

    Moral of the story, don't trust to defaults you don't understand, explicitly state fuses, I2C hardware pins etc. etc. It make code much more comprehensible.

    BTW You can put fuses anywhere in you...
  131. Replies
    14
    Views
    1,105

    Re: SI7021 Temperature & Humidity Sensor

    What CONTROL ADDRESS did I2C scanner give?

    There really is no point in proceeding until you are absolutely sure you have the correct CONTROL address (including any optional parts).

    BTW I should...
  132. Thread: Hc-12

    by towlerg
    Replies
    12
    Views
    1,131

    Hc-12

    Just got two HC-12's from China and they worked first time. I don't think I've ever had anything work first time.

    No muss no fuss, default to 9600 8 1s with SET pin floating.

    TTL level GPS to...
  133. Replies
    36
    Views
    23,068

    Re: MPU6050 DMP, Accelerometer and Gyroscope Code

    This has been said before but this really is a cool project.
  134. Replies
    14
    Views
    1,105

    Re: SI7021 Temperature & Humidity Sensor

    Using the terminology of Busin - CONTROL is the address of your device on the I2C bus. ADDRESS is one of several registers on the device.

    Personally I've always thought that was backwards but what...
  135. Re: A registration is required for device 16F18326!?

    Could you elaborate. Usually a HEX file will contain the binary (in Intel format) of your compiled source.

    Are you asking if you can use a 16F18326 but tell the compiler it's a 16F18323? AFAIK if...
  136. Re: Question about Hbusin / Hbusout on PIC16F15313

    Wow, pretty harsh mate!

    I understand that the process of creating config files is automated using mc's own files (which on release are often wrong).
  137. Replies
    14
    Views
    1,490

    Re: DS3231 Alarm settings anybody

    There's some nice looking code on the dark side (PBP) seems like you have to differenciate between day and date alarms (don't know if you're already doing that). So I guess you need to write 4 bytes...
  138. Re: Bringing information to a website from a Pic

    google for "IOT display data". there are a whole bunch of sites that let you create a webpage with your real time (wink) data. Just to get you started...
  139. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    464

    Re: Rc-522

    Les, you obviously have seen this board before, odd that both SPI and I2C appear to be brought out to the 8 pin connector.
  140. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    464

    Rc-522

    Ages ago I got one of these RFID modules
    3831

    it would appear to have SPI, I2C and async. Does anybody know how to select the interface?
  141. Replies
    10
    Views
    725

    Re: Need some help from a VB expert

    From a position of blissful ignorance I would have thought the added complication of .net could only make the task easier.
  142. Replies
    7
    Views
    585

    Post in reverse order?

    id it just me or has the order of posts within a thread been reversed? Newest post at the top.
  143. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    I think I get it. The location is intentional? Set by
    which I guess are XY coordinates?

    You really have made a very sweet demo.
  144. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    @Flosi. I ran your fine ILI9341 code and demo but on a 18F25K50, it worked fine except on the menu demo the battery icon was displayed in two parts toward the bottom of the display. Any idea what dim...
  145. Replies
    10
    Views
    789

    Re: Rfid read procedure

    Ain't that the truth!
  146. Replies
    0
    Views
    402

    ILI9341 LCD module with touch

    I see on eBay there are cheap ILI9341 modules populated with the touch IC. They come with a stylus, which makes me wonder if they only work with the stylus and not the mk I finger? Anybody have...
  147. Replies
    7
    Views
    2,845

    Re: Support for 18LF26K22 and 18LF45K22

    The more recent PIC devices work over such a large range that it is rarely necessary to use LF devices. At what voltage are you trying to work?

    If you try to program a LF device which you have...
  148. Replies
    8
    Views
    729

    Re: 10Hz to 10KHz Frequency Generator

    The Mikroe one is here here , a personal favorite.
  149. Replies
    8
    Views
    1,036

    Re: 16f688 going to sleep issue

    I'm pretty sure Reset is an assembler mnemonic not a command and not available on older 16F devices.
  150. Replies
    7
    Views
    1,326

    Re: 1 Wire write - bit mode , no reset

    I take your point, it's just the jump to no_pres (which is the mode) that threw me. I wondered if the syntax had changed.
  151. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    Thanks Charlie.
  152. Replies
    60
    Views
    3,581

    Re: Driver for ILI9341

    It took ages for the LCD to be delivered and now I'm frightened of blowing it up. I have the same LCD as post #24. What voltage are we using for the Pic, for the LCD VCC and for the backlight? or is...
  153. Replies
    10
    Views
    1,540

    Re: PIC16F676 External Clock Configuration

    I suspect that you do not have the Fuse Configurator plugin installed, if not strongly suggest you do so now. It takes the hassle out of setting fuses and is strongly recommended by all.

    You need...
  154. Replies
    7
    Views
    1,326

    Re: 1 Wire write - bit mode , no reset

    Are you sure you have the syntax correct? or maybe it's changed but according to the manual it's

    Owrite Pin, Mode, [ Outputdata ]

    where Pin = a pin of a port like PortA.2 (you probably have dq...
  155. Replies
    10
    Views
    1,540

    Re: PIC16F676 External Clock Configuration

    I havn't tried this but 16F690 would appear to have only 2 modes that generate a clock ie EXTRCCLK and INTRCCLK (CLKOUT function), neither use a crystal.

    The only way I can see this work with a...
  156. Re: Phase offseting PWM to prevent noise on fans

    Out of the box. It can't be optimal to run all the fans at the same speed. Make a small board with a Pic that controls the fans.
  157. Replies
    10
    Views
    1,540

    Re: PIC16F676 External Clock Confgration

    Can you be a little more specific. Are both Pic devices PIC16F676, does one have a crystal or internal clock. I assume you want one PIC to generate a clock and the other to use that clock?
  158. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    Why I'm buying a Prusa Mini.

    For me, build volume is not a major factor. I want to make functional things, (boxes, brackets, clips etc.) so surface finish is much less important than maintaining...
  159. Replies
    12
    Views
    2,065

    Re: PPL setting for 18f27k42

    Most odd that high speed async but not low.

    I don't know is this is relevant or even current but I found that to achieve 9600 baud on an internal 64Mhz clock I had ti apply the following work...
  160. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Re: Fusion 360

    Oh, whats a good 3d forum? (no social media please) seriously considering byteing the bullet.
  161. Replies
    4
    Views
    853

    Re: dword to float changes, lost of accuracy

    As John says, it's the nature of the beast. Any compiler that uses Microchip floating point format (which I suspect is all of them) has the same problem.
  162. Replies
    19
    Views
    2,098

    Re: PPS for 8bit Microchip Micocontrollers

    There is a Proton plugin for PPS but only for 16bit devices. So, although there is some concern about the veracity of mc config files (which is both worrying and amusing), I find the tool excellent...
  163. Replies
    6
    Views
    1,368

    Re: Inscrutable eeprom problem

    No, I mean % and $. Just a guess
  164. Replies
    6
    Views
    1,368

    Re: Inscrutable eeprom problem

    Is it a figment of the board are you missing radix indicators (%, $, etc.)?
  165. Replies
    7
    Views
    3,961

    Re: ICD2, ICD3 or QL200 dev board

    I wonder if you can use ICD2/3 as programmers using IPE (part or Mplabx)
  166. Replies
    73
    Views
    2,326

    [OFFER] Re: Proton MKII Development Board

    Accepting all of the previous post, do you have any Amicus main boards? because if you do I'd be happy to swallow the post. I would of bought one previously but it seemed a new version was in the...
  167. Replies
    12
    Views
    2,065

    Re: PPL setting for 18f27k42

    Even a simple task like getting the oscillator running is challanging on mc newer devices.

    Here's my test blinky for 18F27K42, it's 64 MHz, no crystal


    Device = 18F27K42
    Xtal = 64
    ...
  168. Replies
    7
    Views
    3,961

    Re: ICD2, ICD3 or QL200 dev board

    I'm sure others will provide a more definitive answer but I'm sure you can use any dev board you like.

    As far as I know the only way to access ICD2 and ICD3 is though mplab.

    I think it's safe...
  169. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Re: Fusion 360

    Hi Joe, hope you're right, can't see me having the nouse to even turn on a computer in 5 years time.

    I'll try registering (although I thought I already had) and see what happens.
  170. Replies
    73
    Views
    2,326

    [OFFER] Re: Proton MKII Development Board

    Sorry if this is a dumb question, but do you have Amicus main boards to give away (I looked in the shop, saw 0 quantity and assumed you were sold out).
  171. Replies
    38
    Views
    3,792

    Sticky: Re: PICKitPlus Forum

    @Evan as you know I choose not to continue using PickitPlus, although I think it's great that you've given a "shot in the arm" to a tried and tested piece of old hardware, I decided to go NSDSP which...
  172. Replies
    12
    Views
    2,065

    Re: PPL setting for 18f27k42

    Given Les's remarks perhaps use the tools and then manually confirm the results. FWIW I've used it for 18F27K42 and it worked.

    To be fair, I'm not sure I would call using files from the...
  173. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Re: Fusion 360

    Thanks for the list, I think I'll settle on Design Spark. It kindda works the way I think - a million years ago I was draftsman.
  174. Thread: Hc-12

    by towlerg
    Replies
    3
    Views
    520

    Re: Hc-12

    Any chance you could post relevant snippets?
  175. Replies
    38
    Views
    3,792

    Sticky: Re: PICKitPlus Forum

    I'm sure Evan will respond to this but in the mean time, that does seem very slow. Are you using the GUI or CLI? If you're using CLI, what command line are you using. Perhaps you could post the hex...
  176. Replies
    12
    Views
    2,065

    Re: PPL setting for 18f27k42

    Here's an app for setting PPS on most PIC devices https://sourceforge.net/projects/pps-tool/. It uses XML files from uhggg Mplabx but I seem to remember at least one version included them so no need...
  177. Replies
    5
    Views
    1,850

    Re: Proton USB boot loader 2019

    Thanks for getting back. I found the article you linked to but get "404 not found" when I try to download from the link at the bottom, "The code, this article etc can be downloaded from HERE"
  178. Replies
    6
    Views
    490

    Re: Determining VAR lenths

    You want to use variants?
  179. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Re: Fusion 360

    "is Ansys discovery Spaceclaim without some section", huh?
  180. Replies
    5
    Views
    1,850

    Re: Proton USB boot loader 2019

    Thanks for that, I've been meaning to try a bootloader for a while but laziness got in the way. Now you provided a fully working package I really have no more excuse.

    Apologies in advance if...
  181. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Re: Fusion 360

    Free for a year.
  182. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    991

    Fusion 360

    Just saw a ad from indestructibles reporting a great exclusive deal on Fusion 360 at $310 PER YEAR.
  183. Replies
    2
    Views
    3,298

    Re: Possible programming problem

    Usually LF devices are functionally identical to the F version. You may have a problem with the PIC device programmer expecting 16F628A but identifying 16LF628 or maybe not.

    Found the following on...
  184. Thread: SensorTile.box

    by towlerg
    Replies
    7
    Views
    571

    Re: SensorTile.box

    Norm, take a look at the Annex project https://sites.google.com/site/annexwifi/home
  185. Thread: Hc-12

    by towlerg
    Replies
    3
    Views
    520

    Hc-12

    Just ordered a couple to play with (in 6 weeks time). Anybody use these, any good, pitfalls. Any info welcome.
  186. Replies
    49
    Views
    3,261

    Re: PIC 18F1330 HPWM problem

    18F25K50 has 1 CCP and 1 ECCP
  187. Replies
    49
    Views
    3,261

    Re: PIC 18F1330 HPWM problem

    Never used PWM but I guess you have the option of bitbanging it, or maybe not, what do I know.
  188. Replies
    49
    Views
    3,261

    Re: PIC 18F1330 HPWM problem

    From previous experience, in part the PPI lists Proton support ie the device has 4 UARTS but Proton only supports 2, PPI will be UARTS=2.
  189. Replies
    73
    Views
    2,326

    [OFFER] Re: Proton MKII Development Board

    Thanks for getting back so quick, postage to Ireland is a pain, sometimes I go to buy something online and the post is more than the item.

    Just on a whim, probably use that much, thanks for...
  190. Replies
    73
    Views
    2,326

    [OFFER] Re: Proton MKII Development Board

    If you have any of these left, loosely how much is postage and package to Ireland?
  191. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    While I have your ear, if I were to use a Prusa 3d printer presumably the smart thing would be to use Prusa slicer?

    I'm confused about Simplyfy3d because although Prusa have instructions on how...
  192. Replies
    20
    Views
    1,696

    Re: Playing with Procedures

    Fosigud, sweet, how do I do that? For example a variable call ForCount that gets used in two procs and in main loop?

    John, unless I'm having another senior moment (see dreaded 3.3/5v jumper...
  193. Replies
    20
    Views
    1,696

    Re: Playing with Procedures

    Perhaps I'm wrong or just didn't explain. I quite often find that I have variables that are used by several subroutines/procs, if I make them local to the proc I can't do that. Lets put a pin in...
  194. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    RGV250 so just to clarify, I have Simplify3d and the Prusa slicer. What do I need to acuall create the shape of the thing I want to make?
  195. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    RGV250, thanks for input from an actual 3D printer. Do you do 3d printing commercially?

    I wonder if you could be so kind as to describe the software tools you use? Would that toolchain work with...
  196. Replies
    34
    Views
    1,548

    Re: New Prusa mini 3D printer

    Sadly Les, I suspect we're already there.



    Tim, a thing I suggest you check is the materials available. I would imagine nylon would be prefered in a high temp and high stress environment.
  197. Replies
    20
    Views
    1,696

    Re: Playing with Procedures

    The only downside I see with with local variables is that they can't be reused
  198. Replies
    10
    Views
    1,552

    Re: Time to wake up! (SLEEP issue)

    What are you comparing? I've had sleeping PIC devices working by


    ' Note! don't mess with weak pull ups - or the exit sleep condition will never happen
    '
    IOCA = %00110101 ...
  199. Replies
    9
    Views
    481

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Can't edit - LED should light then blink Vdd times, wait a bit and loop. Not rounding for Vdd = 4.9




    “Ford's in his flivver; all's well with the world.”

    It all becomes clear. For no...
  200. Replies
    9
    Views
    481

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Well something is horribly wrong but I don't know what it is. I've reinstalled everything, compiled and manually burned .HEX file and verified. I've ran old versions, stripped down the latest but...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4