Search Results - Proton BASIC community web site


Search:

Type: Posts; User: towlerg

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    120

    Re: Resetting a LCD 16x2

    Happy to be wrong but I fear you cannot do a hard reset on that series of alpha displays. You need to cycle Vcc.
  2. Re: GLCD 128x64 controller compatibility with Proton commands

    Ditto. Perhaps you could put a permanent link on the forum home page?
  3. Re: Do you require to have a crystal in the circuit to program PIC16F88 with Pickit3

    My understanding was the if you are doing High voltage programing then PGM becomes normal io. I also think (and may well be wrong) that the Pickit provides the equivalent of the clock, so xtal or rc...
  4. Replies
    7
    Views
    292

    Re: Missing samples folder

    +1 for Everything, its fast (reads underling NTFS directory tables) and free, first thing I install on a PC.
  5. Replies
    18
    Views
    886

    Re: Compiler problem

    I just checked and I don't think there is any assembler in the INC file? Did I miss something?
  6. Replies
    30
    Views
    1,597

    Re: Lost my dongle after 16 years!!

    Getting rid of dongles can only make the product, name apparently in doubt, more attractive. I for one detest the little usb port using, useless pieces of pointlessness.
  7. Replies
    18
    Views
    886

    Re: Compiler problem

    Colin, the demo, I2CPrintHardCommand_SerEx.bas (what a pompous title for simple program) compiles under 3.7.3.9 What version are you using? What error message do you get? Is your main file and the...
  8. Re: USB HID Keyboard Demo has compile errors in 3.7.4.7

    FWIW the fuses you posted in post #7 seem to be correct for 2550. Dodgy crystal maybe, write the blink to be sure to be sure.
  9. Replies
    12
    Views
    3,180

    [SOLVED !] Re: Non-contiguous port pins and array addressing

    Of course if you used a PIC device with PPS.
  10. Re: USB HID Keyboard Demo has compile errors in 3.7.4.7

    John, one of the most common reasons that a USB device is not recognized is clock. You must be absolutely certain that clock is 48MHz. Create a blinky if you haven't already then post fuse config.
  11. Re: USB HID Keyboard Demo has compile errors in 3.7.4.7

    MC have a whole bunch of sample descriptor in the MLA. One great thing about this USB implementation (as opposed to the built-in commands) is that the descriptor format is similar to MC's own, make a...
  12. Re: USB HID Keyboard Demo has compile errors in 3.7.4.7

    It compiled correctly with 3.7.3.9 (except for warning re. tracking system variables in ISR).
  13. Replies
    14
    Views
    713

    Re: White LED on 24V?

    "I guess the right way to do this is a light source on an arm, targeted at the underside of the extruder, hanging off Z". What a stupid idea, the arm would have to move, synchronized with the X axis...
  14. Replies
    14
    Views
    713

    Re: White LED on 24V?

    Unfortunatley even a few grams (plus the LEDS) hanging on the end of X is significant. I guess the right way to do this is a light source on an arm, targeted at the underside of the extruder, hanging...
  15. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    You really lucked out because I thing 90% of the learning curve for 3d printing is conquering the 2 or 3 CAD packages before you find the right one for you.
  16. Replies
    14
    Views
    713

    Re: White LED on 24V?

    I should have said that in this application weight is at a premium.

    I already have a LED strip mounted on the gantry so I'm just looking to fill in the shadow under the extruder.
  17. Replies
    14
    Views
    713

    Re: White LED on 24V?

    @KenK What range of values of resistor would I need for 4 LEDs?
  18. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    @Tim You seem to be making great progress, what CAD are you using?
  19. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    Anyone using Tet should be extremely careful, that stuff is very toxic.
  20. Replies
    14
    Views
    713

    White LED on 24V?

    I'd like to have a LED attached to illuminate the nozzle on my 3d printer. To save running additional power cables, the 24v fan on the extruder heatsink is always on while printing. Is it possible?...
  21. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    I think that only works with ABS.
  22. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    I'm interested in producing mechanically sound parts, usually in either PETG or ABS. What is the relative strength of "resin" (what sort of resin is it anyway)?
  23. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    Yes Prusa use quality parts but as I said 750$ for a kit seems like you'd have to use it a LOT. They do sometimes do odd things though, like their modified V6 which seems to be an issue.

    I...
  24. Replies
    24
    Views
    1,617

    Re: 3d printers any recommendations?

    Looks like PLA or PLA (presumably not a heated bed) but at that price who cares. Really looks like a great entry level product. I think you were wise to avoid Prusa, the MK3s at $750 is an awful lot...
  25. Thread: Bending a PCB

    by towlerg
    Replies
    6
    Views
    457

    Re: Bending a PCB

    "20 maybe but not 200" sounds like the Big Bang equation solver app.

    BTW I've got my 3d printer going nicely with a few different materials (mainly PETG and ABS), nothing fancy but it seems to...
  26. Replies
    10
    Views
    933

    Re: Need a push start with USB CDC

    Getting data automatically into Excel is no simple thing. I don't know how to do that, I guess something with VBA or maybe something like MegunoLink or Makerplot. Sorry mate, way out of my area. If...
  27. Thread: Bending a PCB

    by towlerg
    Replies
    6
    Views
    457

    Re: Bending a PCB

    A lot of strain on thro hole plating. Flexible PCB to expensive?
  28. Re: Any boffins know about moving water with an electromagnetic field?

    Strange coincidence, I saw a video on instructables https://www.instructables.com/Magnetohydrodynamic-Submarine/
  29. Replies
    10
    Views
    933

    Re: Need a push start with USB CDC

    Be aware that there are two versions on USB for Proton, the builtin commands USBIN, USBOUT etc. and a stand alone version that Les created from the MC version. Among other things the stand alone...
  30. Re: Arduino code to Proton (BLE Beacon via a NRF24L01+)

    FWIW I think you've all missed the point about Arduino. @It like the old joke about a dog walking on it's hind legs, it not that he does it well, it's that he does it at all. Peeps drawn to Arduino...
  31. Replies
    11
    Views
    825

    Re: Dealing with load cell drift

    What sort of drift with time can be expected with HX711? I keep meaning to sort out the filament weighting spool holder.
  32. Replies
    11
    Views
    1,999

    Re: Perhaps one small step to popularise Proton

    I'm sure I read somewhere that the temp sensor in DS3231 was rubbish, maybe I misremembered.
  33. Replies
    11
    Views
    1,385

    Re: high low priority interrupt.

    Purely my personal opinion but I think you're trying to do too much in the IRQ routine. Perhaps some of that work could be done in the main body in response to flags set in the IRQ? What speed are...
  34. Replies
    16
    Views
    2,744

    Re: HX711 Erratic Calibration

    Can't find it now but I think my 2 cell unit has 4 wires. Seems like 2 cells ought to have 4 wires. May be wrong though.
  35. Replies
    16
    Views
    2,744

    Re: HX711 Erratic Calibration

    Are you sure you have a 40kg unit?
  36. Thread: FineLineIDE

    by towlerg
    Replies
    170
    Views
    47,329

    Re: FineLineIDE

    Thanks Norm, as my speeling is so aufal I certainly am keen to try the spellchecker.
  37. Replies
    26
    Views
    1,846

    Re: Device PIC18F47K40 Keeps starting

    This probably doesn't help but although the part numbers are similar the parts are VERY different. 18F26K22 is a relatively modern implementation of an old school PIC device where the 18F27K42 is a...
  38. Replies
    7
    Views
    1,945

    [OFFER] Re: 2 Firewing 16 boards going free

    PM'ed you (and made space in queue)
  39. Replies
    3
    Views
    889

    Re: CCS advertisement on this board

    Flosi, I don't even know what a cascading style sheet is.

    Lester, atleast I have ads on for this site (the only exception to my no ads rule)
  40. Replies
    3
    Views
    889

    CCS advertisement on this board

    How very odd that they (CCS) would waste their ad budget like that.
  41. Replies
    7
    Views
    1,945

    [OFFER] Re: 2 Firewing 16 boards going free

    Hi, I'd like one but I'm in Ireland. I'm happy to pay postage up to say 15, if more let me know. PM me.
  42. Replies
    4
    Views
    841

    Re: Keep track of time while you sleep

    Pretty much all Pic devices (last 10 is years) allow an alternate clock which can be set really slow.
  43. Replies
    29
    Views
    2,800

    Re: Pickit compile and program

    In the short term you always have the auto load function.
  44. Replies
    29
    Views
    2,800

    Re: Pickit compile and program

    I no longer use PicKitPlus but when I tried it I used "-w -e -a3.3 -pPIC$target-device$ -f"$hex-filename$" -mpce -d5" (without the overall quotes but with $hex-filename$) for 3.3v
    and "-w -e -a5...
  45. Replies
    3
    Views
    2,002

    Re: Repository for useful code for xxx devices

    +1 for Github (even though I don't understand it).

    I know that it's impossible for any compiler to keep up with MC stream of conscious design process (probably should glorify it with a word that...
  46. Thread: Hc-12

    by towlerg
    Replies
    18
    Views
    3,324

    Re: Hc-12

    "does that change apply even after power cycling" AFAIK no.
  47. Replies
    16
    Views
    2,324

    Re: Reason of GoTo after $ifndef

    The posted code is subroutine, you cut and paste it into your program.
  48. Replies
    29
    Views
    3,162

    Re: Peripheral Pin Select Module how to

    Sorry, Pic33 much to complex for my poor head. Try the MicroChip forum.
  49. Replies
    29
    Views
    3,162

    Re: Peripheral Pin Select Module how to

    sorry devices file at https://sourceforge.net/projects/gcbasic/files/Support%20Files/PPSTool/
  50. Replies
    29
    Views
    3,162

    Re: Peripheral Pin Select Module how to

    PPSTool is here devices file is here. It has the option to upload latest files from MC
  51. Replies
    29
    Views
    3,162

    Re: Peripheral Pin Select Module how to

    John's PPS tool does not cover 18F but PPS Tool (on Github and part of GCB) does. FWIW Tim I believe your RA0PPS and RA1PPS values are correct.
  52. Replies
    68
    Views
    7,204

    Re: Positron and Positron16 dev boards

    @basparky Just as Creality did recently.
  53. Replies
    29
    Views
    3,162

    Re: Peripheral Pin Select Module how to

    In short, yes.
  54. Replies
    6
    Views
    1,220

    Re: 18F25K22 PortB interrupts help please

    A way to get binary values to display correctly is to avoid going back and editing the page but even better is an attachment.
  55. Replies
    17
    Views
    2,244

    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.
  56. Replies
    17
    Views
    2,244

    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.
  57. Replies
    17
    Views
    2,244

    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.
  58. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    2,449

    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.
  59. Replies
    9
    Views
    3,380

    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...
  60. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    2,449

    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)...
  61. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    2,449

    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
  62. Replies
    9
    Views
    3,380

    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.
  63. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    2,449

    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...
  64. Thread: PICkit plus

    by towlerg
    Replies
    13
    Views
    2,449

    Re: PICkit plus

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

    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.
  66. Replies
    5
    Views
    1,019

    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...
  67. Replies
    68
    Views
    7,204

    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
  68. Replies
    7
    Views
    1,533

    Re: How read a motor encoder

    Why not dedicate a PIC device to reading the encoder and sending the result on demand?
  69. Replies
    7
    Views
    4,125

    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.
  70. Replies
    6
    Views
    1,588

    [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...
  71. Replies
    6
    Views
    1,588

    [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...
  72. Replies
    68
    Views
    7,204

    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).
    ...
  73. Replies
    6
    Views
    1,588

    [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.
  74. Replies
    7
    Views
    4,125

    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...
  75. Replies
    7
    Views
    4,125

    Re: Add Crystal Doesn't Work

    Did you tell Proteus you were using a 4 MHz crystal?
  76. Replies
    4
    Views
    1,286

    Re: Code memory read write without a label

    Does AddressOf (AKA VarPtr) help?
  77. Replies
    68
    Views
    7,204

    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...
  78. Replies
    68
    Views
    7,204

    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.
    ...
  79. Replies
    24
    Views
    3,695

    Re: pic18f4550 Is there a usb connection?

    Why not just use Mikrobasic for everything? BTW if it's not obvious thats a rhetorical question.
  80. Replies
    24
    Views
    3,695

    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)
  81. Replies
    24
    Views
    3,695

    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...
  82. Replies
    4
    Views
    1,520

    Re: How to read and write eeprom

    Some code might help somebody help you.
  83. Replies
    11
    Views
    1,524

    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
  84. Replies
    11
    Views
    3,086

    Re: PORTA.6 and PORTA.7 16F628A

    Is that a typo? they cost 150 a pop!
  85. Replies
    11
    Views
    3,086

    Re: PORTA.6 and PORTA.7 16F628A

    Assuming that A7 already works, try INTIO67.
  86. Replies
    24
    Views
    3,695

    Re: pic18f4550 Is there a usb connection?

    You need to monitor USB 5v with a GPIO.
  87. Replies
    24
    Views
    3,695

    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.
  88. Replies
    24
    Views
    3,695

    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...
  89. Thread: TM1637 code

    by towlerg
    Replies
    16
    Views
    3,514

    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.
  90. Replies
    24
    Views
    3,695

    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 -
  91. Replies
    7
    Views
    1,306

    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...
  92. Replies
    7
    Views
    1,306

    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
  93. Thread: TM1637 code

    by towlerg
    Replies
    16
    Views
    3,514

    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?
  94. 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.
  95. 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...
  96. Re: error: too many system variables: 80 available. 84 used.

    I guess you need to post code.
  97. Replies
    13
    Views
    1,721

    Re: I2C Help Pic18F47K40 Please!

    Sweet, thanks for the info.
  98. Replies
    13
    Views
    1,721

    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...
  99. 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
  100. Replies
    13
    Views
    1,721

    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...
  101. Replies
    13
    Views
    1,721

    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,...
  102. Replies
    26
    Views
    2,842

    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.
  103. Replies
    20
    Views
    3,582

    Re: Negetive Numbers with minus sign

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

    Not specified in the manual but personally I would even use a signed variable.
  105. Replies
    26
    Views
    2,842

    Re: Coronavirus Alert!!

    Oh sweet and adorable jesus no, the very last thing.
  106. Replies
    26
    Views
    2,842

    Re: Coronavirus Alert!!

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

    Re: RTC accuracy and settings

    If you want accurate time nothing beats GPS. The Blox modules are cheap as chips.
  108. Replies
    14
    Views
    2,113

    Re: RTC accuracy and settings

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

    by towlerg
    Replies
    20
    Views
    2,629

    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...
  110. Replies
    8
    Views
    1,640

    Re: The compiler mistery

    I don't understand.
  111. Replies
    17
    Views
    2,031

    Re: Why would anybody buy anything from Apple.

    You're kidding right? More variants of Linux than something with a lot of variants.
  112. Replies
    17
    Views
    2,031

    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.
  113. Replies
    8
    Views
    1,640

    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...
  114. Replies
    17
    Views
    2,031

    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.
  115. Replies
    8
    Views
    1,640

    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...
  116. Replies
    60
    Views
    8,917

    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...
  117. Replies
    17
    Views
    2,031

    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...
  118. Thread: Versioning

    by towlerg
    Replies
    20
    Views
    2,629

    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....
  119. Replies
    17
    Views
    2,031

    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...
  120. Replies
    60
    Views
    8,917

    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?
  121. Thread: Versioning

    by towlerg
    Replies
    20
    Views
    2,629

    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...
  122. Replies
    17
    Views
    2,031

    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.
  123. Replies
    7
    Views
    1,048

    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.

    ...
  124. Replies
    17
    Views
    2,031

    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...
  125. Replies
    3
    Views
    1,856

    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...
  126. Replies
    17
    Views
    6,220

    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?
  127. Replies
    3
    Views
    1,856

    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.
  128. Thread: Read HX711

    by towlerg
    Replies
    27
    Views
    12,541

    Re: Read HX711

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

    by towlerg
    Replies
    27
    Views
    12,541

    Re: Read HX711

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

    by towlerg
    Replies
    27
    Views
    12,541

    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...
  131. Thread: Read HX711

    by towlerg
    Replies
    27
    Views
    12,541

    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,...
  132. Thread: Read HX711

    by towlerg
    Replies
    27
    Views
    12,541

    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...
  133. Replies
    9
    Views
    1,367

    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...
  134. Replies
    9
    Views
    1,367

    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
  135. Replies
    41
    Views
    4,402

    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
  136. Replies
    41
    Views
    4,402

    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)
  137. Thread: Hc-12

    by towlerg
    Replies
    18
    Views
    3,324

    Re: Hc-12

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

    by towlerg
    Replies
    18
    Views
    3,324

    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.
  139. Replies
    41
    Views
    4,402

    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.
  140. Replies
    18
    Views
    5,008

    Re: Interrupt and SHout problem

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

    I believe so.
  142. Replies
    8
    Views
    2,188

    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...
  143. Replies
    8
    Views
    2,188

    Re: Expand the Proton compiler

    Annex looks quite interesting but doesn't have the mass of libs that come with the Arduino ide.
  144. Replies
    10
    Views
    3,924

    Re: Problem receiving string

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

    by towlerg
    Replies
    0
    Views
    481

    An unusual day

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

    by towlerg
    Replies
    18
    Views
    3,324

    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.
  147. Thread: Flying drones

    by towlerg
    Replies
    24
    Views
    2,668

    Re: Flying drones

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

    Re: Transistor curve tracer with a PIC

    A lot of newer PIC devices have DACs onboard.
  149. Replies
    9
    Views
    1,748

    Re: Transistor curve tracer with a PIC

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

    by towlerg
    Replies
    3
    Views
    992

    Re: Optimiser

    Doesn't that rather imply that it's off by default for 14-bit devices?
  151. Replies
    9
    Views
    1,748

    Re: Transistor curve tracer with a PIC

    Proteus 8..............
  152. Replies
    15
    Views
    2,712

    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.
  153. Replies
    15
    Views
    2,712

    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...
  154. Thread: Hc-12

    by towlerg
    Replies
    18
    Views
    3,324

    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?
  155. Replies
    15
    Views
    2,712

    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...
  156. Thread: Hc-12

    by towlerg
    Replies
    18
    Views
    3,324

    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...
  157. Replies
    15
    Views
    2,712

    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.
  158. Replies
    15
    Views
    2,712

    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.


    '*********************************************************** ...
  159. 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.
  160. Re: Kaspersky -- Threat of Data Loss warning -- Workaround

    Stephen, I have a better workaround, don't use av's that generate false positives.
  161. Replies
    20
    Views
    6,301

    Re: PIC Basic to Proton Basic Convertion

    John, didn't know that but why would you do it?
  162. Replies
    20
    Views
    6,301

    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...
  163. 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.
  164. 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...
  165. Re: Need more pins! Support update / alternative for 16F18455?

    Have you tried MAPS (Microchip Advanced Parts Selector)?
  166. Replies
    142
    Views
    13,745

    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).
  167. 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.
  168. Replies
    19
    Views
    2,580

    Re: Microcap now free

    @charlie LOVL

    @John is that where the insult "you big galah" comes from.
  169. Replies
    9
    Views
    1,714

    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...
  170. Replies
    9
    Views
    1,714

    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?
  171. Replies
    7
    Views
    1,568

    [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...
  172. Replies
    16
    Views
    2,818

    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.
  173. Replies
    9
    Views
    1,714

    Re: SERIN/SEROUT how low can you go?

    Is it an option to degrees the 32MHz clock?
  174. Replies
    1
    Views
    836

    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...
  175. Replies
    34
    Views
    3,572

    Re: New Prusa mini 3D printer

    Doesn't the dreadful noise and the manual bed leveling drive you crazy?
  176. Replies
    60
    Views
    8,917

    Re: Driver for ILI9341

    How do you bypass?
  177. Replies
    4
    Views
    1,217

    Re: Examining elements of a string

    Assuming that String1 is an array
  178. Replies
    15
    Views
    1,856

    Re: 3.7.3.1 download will not unzip

    Double smug, Win7 and Waterfox
  179. Replies
    15
    Views
    1,856

    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.
  180. Replies
    15
    Views
    1,856

    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...
  181. Replies
    14
    Views
    2,126

    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...
  182. Replies
    14
    Views
    2,126

    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...
  183. Replies
    14
    Views
    2,126

    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?
  184. Replies
    10
    Views
    1,535

    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...
  185. Replies
    14
    Views
    2,126

    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...
  186. Thread: Hc-12

    by towlerg
    Replies
    18
    Views
    3,324

    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...
  187. Replies
    36
    Views
    25,755

    Re: MPU6050 DMP, Accelerometer and Gyroscope Code

    This has been said before but this really is a cool project.
  188. Replies
    14
    Views
    2,126

    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...
  189. 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...
  190. 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).
  191. Replies
    14
    Views
    2,873

    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...
  192. 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...
  193. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    923

    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.
  194. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    923

    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?
  195. Replies
    10
    Views
    1,557

    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.
  196. Replies
    7
    Views
    1,707

    Post in reverse order?

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

    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.
  198. Replies
    60
    Views
    8,917

    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...
  199. Replies
    10
    Views
    1,543

    Re: Rfid read procedure

    Ain't that the truth!
  200. Replies
    0
    Views
    904

    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...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4