Search Results - Proton BASIC community web site


Search:

Type: Posts; User: Henk57

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    76

    Re: 18F26K22 can't use PORTC.0 or 1

    Charlie

    If you use the internal OSC did you set;
    Config_Start
    FOSC = INTIO67 ;Internal oscillator block
    ;
    ;
    Config_End
    ...
  2. Replies
    6
    Views
    76

    Re: 18F26K22 can't use PORTC.0 or 1

    Hello Charlie,

    Me either.
    B'cause my eyes can't blink at 10us
    Try set
    DelayMS 1000
    Then you have 1sec on and 1sec off time.

    Henk.
  3. Thread: Usb - c

    by Henk57
    Replies
    9
    Views
    71

    Re: Usb - c

    USB 60Watt or even 100Watt for 3Amp eq. 5Amp so we CAN have a voltage of 20Volt on the USB port.
    I warn you don't even think about it, it will destroy your Smartphone, USB-Drive etc.!
  4. Replies
    15
    Views
    72

    Re: Changing EDA software

    Hello Tim,

    If you can, please call by phone Proteus support/sales and ask for advise or discount weeks etc.
    They can 'posible' make an offer for you.

    But don't blame if the discount is ended,...
  5. Replies
    6
    Views
    31

    Re: A very Merry Christmas to you all

    Very dark days here.
    I'm the last member of the family, they all rest at the cemetery, from october on.
  6. Replies
    30
    Views
    127

    Re: 3D printer. Yey!!!!

    This is a better offer;
    https://www.banggood.com/Creality-3D-Ender-3-V-slot-Prusa-I3-DIY-3D-Printer-Kit-220x220x250mm-Printing-Size-p-1278399.html?rmmds=search&cur_warehouse=CN

    Henk.
  7. Replies
    18
    Views
    75

    Re: Inexplicable fault. Any tips?

    "An assortment of protection features prevent the device from being damaged if a system fault occurs."
    Important line on page 7.

    Most Driver's must have a load (eq. Stereo set's without...
  8. Re: Why stays a part of RAM empty when I turn on RC1IE (18F45K40)?

    I prefer this more, but it's me you know.


    Verder:
    CONTEXT RESTORE
    PEIE = 1 ;\
    GIE = 1 ;- Interrupts enabling again


    This give always an 'clean'...
  9. Replies
    103
    Views
    335

    Re: Got a stopbadware.org warning this morning.

    Yep. Red light is on.

    I think it is time now for New Moon / Pale Moon browser!

    Henk.
  10. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    @John
    I have no acces(after login).
    Henk.
  11. Replies
    29
    Views
    111

    Re: String array question ?

    I think of Saleae (clone $10,-), ZeroPlus or even Intronix LogicPort.
    It depends on the time domain.
    But starting with a clone is good value of the money.

    Henk.
  12. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    @John,
    I did some nasty things,but now .pdf are fine!

    I'll try to explain a bit, after I installed the latest PS (also 1.0.15) I close the programm but before that the pdf are still wrong, I...
  13. Replies
    29
    Views
    111

    Re: String array question ?

    If you had a $10,- LA then it print also Dec or Hex or ASCII values undereath the waveform, now it is a wild ques, because it's at usec. time domain.

    Henk.
  14. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Nope, a chain is moving in and out which can bend only in one direction, and must mount in front of the window (therefore not sideways ie.).

    Henk.
  15. Replies
    33
    Views
    1,758

    [SOLVED !] Re: Pulse counter using COUNTER command

    Never used 7seg.Display sorry I can't help you out that much.

    But if you post your example maybe someone can help you out.

    Henk.
  16. Replies
    103
    Views
    335

    Re: Malware on this website?

    Today this site respond normally as before, great job @Lester and others!
  17. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Simply, the motor unit isn't IP44, so a moderate rain isn't a problem, the window glass wil cover the unit just fine.
    But the heavy is the problem, motors gear etc. and electronics getting wet as I...
  18. Re: Garmin LAZER Lidar_Lite_V3 With I2C Help Please !

    "3 Read two bytes from 0x8f (High byte 0x0f then low byte 0x10) to obtain the 16-bit measured distance in centimeters."

    In the tables 0x8f don't exist, this is more strange, I would say the pdf...
  19. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thanks Joseph.

    Only 3mm of rain as minimum before it give a pulse is to late, I think of around 0.5 - 1.0mm at maximum.
    Amazon has more information than the company itself shame on them!
    ...
  20. Re: Garmin LAZER Lidar_Lite_V3 With I2C Help Please !

    Hello Craig.

    Try to get an LA (starts from $10,00) on your bench next to your Scope.

    On page 6 LAZER_Adr = $62 and you MUST including the R/W Bit, so it will be C4 and C5.
    Further I wonder...
  21. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Joseph,
    Very interesting.

    In the past (during this project) I think of buying an standalone rainmeter (from a weatherstation) but these are already expensive.
    And not maintenance free, today I...
  22. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    John,
    No problem, just take it easy.
  23. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    They are just "bare contacts" from MakeBlock tools etc. they are stainless steel.
    These are going to 12F683 after they pass AC-detector of 2kHz, but much more explained in this topic.

    Henk.
  24. Replies
    103
    Views
    335

    Re: Malware on this website?

    Many accounts/sites has/is been blocked by apple google YT so I'll think the 'settings' aren't that good but too sensetive, my 3 penny.

    Henk.
  25. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    Yes, and after replacing .14 with .15
    HKEY_CURRENT_USER\Software\JGBTools ; Came back, and with more 'sub folders'

    Henk.
  26. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Yesterday afternoon several thunderstorms hits my neighbourhood, streets changes in temporally rivers, more than 40mm of rain.

    My windows of my greenhouse didn't close
    Because I was programming a...
  27. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    John,

    I'm afraid to report no noticeble changing, PPI not found, and after loading .pdf files the same gui appear, see #24.
    This with .15b version.

    Henk.
  28. Thread: Make Clean...

    by Henk57
    Replies
    2
    Views
    17

    Re: Make Clean...

    If it happens again I'll check date & time, and then I know what foolish me!

    Henk.
  29. Thread: Make Clean...

    by Henk57
    Replies
    2
    Views
    17

    Make Clean...

    No I'm not just kidding.

    Let me explain a bit.

    I spend almost 3-days to get 2 orig. AXA motors working against each other on the same LIN-bus, one orig. motor was not a big problem, but two......
  30. Replies
    2
    Views
    38

    Re: Relay with opto modules on ebay

    Relay1
    5Volt to VCC,

    Remove the Jumper!
    12Volt on JD-VCC.
    GND = 0 volt.

    Relay2
    COM = COMMON
    It can be GND, or common from Opto, this is difficult to see.
  31. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    @John.

    On my second PC (to determine 1829 I2C LCD problems) I did a clean/new install wit the latest Proton Studio.
    PC is AMD win7 64Bit so it have the Dir's Program Files and Program files(x86)....
  32. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    @John.

    If you have installed (Free) VirtualBox app. then you can run win7, pre asumed that you have win7 home 32bit.

    Henk.
  33. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    @John.

    I installed the update before I could read your last message.
    Later in the afternoon I'll give it a try again.

    The 'outside window' appears again for the PDF files so that part isn't...
  34. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    John,

    Windows7 home 32bit!
    So the (x86) dir isn't there, but if you x64 bit PC then you have it both
    PDS install dir is c:/program files/ProtonIDE (from memory).
    I saw that my AV-scanner...
  35. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    @John.
    In the file Menu File Open, there are only supported files to Open;
    .bas,
    .inc,
    .txt .dat .log
    *.* any file to open.

    PDF is not listed/supported so I must choose *.* to open .pdf and...
  36. Thread: Proton Studio

    by Henk57
    Replies
    38
    Views
    166

    Re: Proton Studio

    Thank you, john.

    This is a nice piece of software you made, I played a bit, and I like the 'colapse' function (If..Then etc.)

    If I try to load a .pdf file well this has to be revised.
    PDF...
  37. Replies
    6
    Views
    50

    Re: Resistor measure with pwm and adc?

    Not me!

    Henk.
  38. Replies
    33
    Views
    1,758

    [SOLVED !] Re: Pulse counter using COUNTER command

    Include MultiplexB8Digits_lib.inc

    Somewhere after the Declare statements FE.

    Henk.
  39. Re: Experience with PCA9685 16 channel 12 bit controller

    Read/Write bit is send by the Master and not 'set' externaly by the LA. but, only for display purposes.



    First time I see 0x80, wow.

    Henk.
  40. Re: Experience with PCA9685 16 channel 12 bit controller

    Again, base adress is always 0x80 even the LA graph shows 0x40!

    Henk.
  41. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    This (tropical) afternoon I implement Current settings, and add the command on the 1-wire serial line.
    I think it would be handy to set the max. current level for each motor in the motor-unit.
    ...
  42. Replies
    10
    Views
    38

    Re: Hot mosfet Do I worry?

    ..and connect snubber's over the fans.

    Henk.
  43. Re: Experience with PCA9685 16 channel 12 bit controller

    When you start with I2C you must consider this everytime;

    Are all A0-A5 lines gnd or + 5volt, or combination.
    Are you aware of 0x40 Hex and have you included the R/W-bit, it is mostly forgotten...
  44. Re: Experience with PCA9685 16 channel 12 bit controller

    I can't see the SCL and SDA line?
    Next, what do you see on your scope?

    Henk.
  45. Re: Experience with PCA9685 16 channel 12 bit controller

    basparky, try this for each line;
    I2COut PORTD.9, PORTD.10, Address, $6, [MyWordCH0.LowByte]
    Into,
    I2COut PORTD.9, PORTD.10, Address, [$6, MyWordCH0.LowByte]

    Henk.
  46. Replies
    10
    Views
    38

    Re: Hot mosfet Do I worry?

    Tim,

    IxIxR = Watt. Rds(on) =180mOhm, round this to 0.2Ohm.
    So 9x9amp's= 81x 0.2Ohm = 16.2Watt

    That's a nice solder iron 16Watt for tiny smd work.

    Advise, you had to calculate a power plane...
  47. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    A smal update;
    Eventualy this would not work fine, because I can't adjust the treshold level, ADin is the best idea.



    If PORTB.0 = 0 Then
    High PORTB.4
    High PORTB.5
    EndIf
  48. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Yep, the app3.6.0.7 produceses the same problem!

    Henk.
  49. Replies
    33
    Views
    1,758

    [SOLVED !] Re: Pulse counter using COUNTER command

    It depends how often you want to read-out.

    Every second multiply the outcome of teller with 60.
    Every minute sit and wait, until minute passes.
  50. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    pm. in return.

    Thanks Johan.
  51. Replies
    33
    Views
    1,758

    [SOLVED !] Re: Pulse counter using COUNTER command

    If PORTD.3 = 1 Then ; pulses to count on PORTD.3
    If telbit = 0 Then
    Inc teller ; counter
    telbit = 1 ' 2-divider (first part)
    Else ...
  52. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    I have now a computer with 3.6.0.3 (installer 3.6.0.2) I didn't have any faulty behaviour of programmed MCU's noticed with this version,
    only 'sometimes' human mistakes.
    I keep this version for...
  53. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    First round; New Install on second PC, with app3.6.0.3 works fine, PDS is working fine and the programmer.

    App3.6.0.3 I2Cworks fine with I2CPrintHardCommand.inc

    App3.6.0.7 is never released....
  54. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    George, there no other route to go.

    I send a pm. to Les, but no reponse after 3 days, so I had the feeling it is just (me) here.

    Proton 3.6.0.2 is installed on the second PC, later this...
  55. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    It looks that I'm the only one with compiler problems.

    So I install Proton on a second computer version 3.6.0.2 will be the first one, then it will be replaced with app3.6.0.3.exe,
    then a first...
  56. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    @joesaliba,
    again it is a compiler issue.
    Did I check all, Yes!

    The serial is 2-way com. over one line, both can be X'mitter and R'ver.
    But there is one commander and one motorunit, on so...
  57. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Changes on input portb must be clock-in, read it about in the past, so;

    TempB = PORTB
    Nop
    Nop
    TempB2 = PORTB
    Nop
    Nop

    This should do it, but it didn't either.
  58. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Sorry to say but, confirmed, compiler issue.

    Henk.
  59. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I revert back to the older compiler app(3.6.0.3) because of the troubles with 1829 with 3.6.1.7, and that solved things.
    Next, I try later the PORTB issue maybe it's also compiler related.

    Henk
  60. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Compiler isue confirmed;

    I moved app.exe to app3.6.1.7.exe and move app3.6.0.3.exe back in place as app.exe

    Re-compile as before and 16F1829 works fine with I2CPrintHardCommand.inc
    with LCD...
  61. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Let see if I understand this right, instead of;
    High PORTB.4
    High PORTB.5

    It is better to do this;
    PORTB = 48 (Dec), or PORTB = $30 (Hex), is %00110000 (Bin)

    Even better;
    PortB =...
  62. Replies
    33
    Views
    1,758

    [SOLVED !] Re: Pulse counter using COUNTER command

    If spanning = 1 And pompen_aanuit = 1 Then ; spanning = pulses to count and pompen_aanuit, = the just a flag, for enable counts
    If telbit = 0 Then
    Inc teller ; counter...
  63. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    If the Motor open the window then PORTB.4 must be High and PORTB.5 must be Low
    If the Motor close the window then PORTB.4 must be Low and PORTB.5 must be High
    Allright.

    If the Motor open/close...
  64. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    George, In general I believe in errors, special the last days

    I wonder if put a line of page 328 from PDS Manual;

    Repeat High LED : Until PORTA.0 = 1 ' Wait for a Port change

    In my routine...
  65. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Now I did the last "Beta Test" that was the over-current protection part, and works fine,
    but after nasty problem(s).

    Compiler issue (I think) I try read out ports but it make no sence;


    If...
  66. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Well looking in the \PDS\Includes\PPI
    I saw two .PPI files for 1829 one P16F1829 and P16F1829LIN.

    There's is a big diference in those two, 1829LIN is missing I2C section, and 1829 have an I2C...
  67. Re: 16f876 that I can use in place with 16k program memory

    Secondly; 18F25K22 very often used.

    Henk
  68. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    @George,
    Before I change something and Les wil have a sulution, then I edit more files then needed.
    I saw Les 'jumping' bye in the forum, but I think he hadn't some time.

    If it not work with...
  69. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Important step further.

    Here is a little snippet, it works both ways, on one serial line.
    It is simply straight on, and must be more logical and functional what follows next weeks.
    Timing is all...
  70. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Hi George.

    Thats odd, because SCL is on RB.6 and SDA is on RB.4 (instead of RC0 and RC1)?

    Henk.
  71. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    After an setback, so I moved it, for now, to 26K22 (instead of 1829).

    Setup a serial comm. 1-way over the same line, later will this be 2-way over the same line, but first things first.
    I...
  72. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Both hardware (breadboard) for 16F1829 and 26K22 is working fine.

    AND!
    I didn't edit the .bas files! But just re-compile the 16F1829 displays nothing on LCD! (only squares, like there is no MCU...
  73. Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Spend this afternoon with a compiler issue; no error's, but my LCD give only first line with squares, no characters, nothing.
    If I flash an old .hex LCD have all the char's, but if I compile the...
  74. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    @Dompie me too, but here isn't an release date mentioned whether or not @Les will release it.

    Henk.
  75. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    This is the latest Full Installer from 2017 (none in 2018) ;
    http://www.protonbasic.co.uk/vbdownloads.php?do=download&downloadid=416

    Thereafter, are only Patches and Updates.

    Henk.
  76. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    Well I don't spend my money in a pub (beside once in a year) so for me it is doable.

    I don't have time yet to investigate or flash a MCU, because I try to build up an two H-bridge driver, current...
  77. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    a) Difficult to answer**
    b) Not tested yet.
    c) Only one CommandLine utillity, for both PicKit2 & Pickit3 (But your PC can ask to install .NET 4.0)

    **Prices could be changed, but I found it fair...
  78. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    A little update I "send him something" is done, and a beer for the effort.

    Why?
    I would try to use K42 and I strand with the programmers also.

    Henk.
  79. Replies
    9
    Views
    177

    Re: Is SPI SHout interruptible

    Well it confused me also.
    SPI command don't exist and SHout is the answer and I2C is here.
    I've been trapped, I thought I could help @John with an I2C to SPI bridge, but thats not the case

    I...
  80. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    Why didn't you do it?
  81. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Nope, I build a new design from the very beginning, and program the way I like it.
  82. Replies
    9
    Views
    177

    Re: Is SPI SHout interruptible

    I'm not sure I understand this correctly, but maybe will this help if you run in trouble with the software;...
  83. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    I contact the author yesterday, and I haven't a trial version yet.
    He is working on a license model, and ask me if I willing to send him something and I will, but either no info mailed.
    So I wait a...
  84. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Yep. The only chance is RE and see if I my 16ch.LA can investigate every I/O pin and write my own software.
    Few pin's are not important red/green led's on PGC and PGD poort. IR-Remote control...
  85. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I did and a lot of NOP's, all protected.

    Henk.
  86. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    A wireless weather station (for now) wich gives me the important data in my home.
    It was very usefull last march, we had a mini-winter, with 24 hour of frost.
    So I needed a Heaterfan 1500Watt to...
  87. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Motorspeed is constant, but only varies with different frictions.


    Correct.


    None, I opened yesterday the motorunit, and on the bottom side of the PCB there's a IR-reflector soldered and send...
  88. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I can confirm every line you written.

    The last line is easyer said then done, the IR distance detector works from 3cm to about 20cm, if the windows close it will finally have 3cm distance at...
  89. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thought about it one month ago, before I mount one IR-Distance sensor GP2Y0A41SK0F in place.
    Hall switch is also in my mind.

    The point is the wires are already there and to 'track' the window is...
  90. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    After searching the internet, I discover there are 4 more commands to send to the motorunit.
    First is easy and give a summary of available commands, then firmware version command and is revison is...
  91. Replies
    21
    Views
    87

    [SOLVED !] Re: Thumbs up system being abused

    Thank you @John.

    Website and Forum isn't easy stuff, keeps your busy al the time for little improvements, etc.
    I have only a domain, but same here to little time and to much to learn, to set up a...
  92. Replies
    6
    Views
    38

    Re: Pic24 and LCD display question

    Read my story; http://www.protonbasic.co.uk/showthread.php/75866-LCD-problems-24FV32KA304-and-24FV16KA302-with-RTCC

    First my LCD didn't work at start, tried swap I/O pins and at the end LCD shows...
  93. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    After stress tests of the serial comm,1-wire serial, I noticed a little bug in the AXA-Motor unit (16F1829) it skipped once an command.
    RsIn timeout jumps to the timeout label which is displayed on...
  94. Replies
    7
    Views
    77

    Re: RSIN timing out to quickly

    @Les I had a certain feeling you'll post a important message.
    Thanks.

    Henk.
  95. Replies
    21
    Views
    87

    [SOLVED !] Re: Thumbs up system being abused

    Thanks @John, perfectly explained.
    If a 'bot' doing this is it possible to prevent this, ie. https, login credentials?
  96. Replies
    21
    Views
    87

    [SOLVED !] Re: Thumbs up system being abused

    @John, I giv everyone who is helping me most, and digging in the problems with programming, soon enough a kind word of Thanks, and "Thumbs-Up"

    But in some topics I read sometimes "How about...
  97. Replies
    26
    Views
    126

    Re: Dim xxx as code problem on P24

    That's odd, at the end it is mostly a registery problem, but neither.

    That you could miss some files or programs I warned this in my earlyer post before.
    Typical windows.
  98. Replies
    26
    Views
    126

    Re: Dim xxx as code problem on P24

    I think this one; Restore point (back in time)

    https://www.windowscentral.com/how-use-system-restore-windows-10

    Henk
  99. Re: What kind of speed controller principale/ code do electic bikes controllers use?

    It depends on many things.

    How often it will call the PID per second because of this; PWMSetpoint = PTerm + Iterm + DTerm
    For what I know is 10x per second a good start.
    But, it also depends...
  100. Replies
    7
    Views
    77

    Re: RSIN timing out to quickly

    Again.

    The Rsin command is strange because, I use this; RsIn {Label}, var
    But the mouse hovering label said this RsIn {Label,} var

    Further, I use 20msec time-out and that part work.
    ...
  101. Re: What kind of speed controller principale/ code do electic bikes controllers use?

    I work in the past with analog closed-loop systems, how it is today I don't know.

    But the bike's motor must be PWM controlled, in range 0% to about 95% , 5% is the measure gap,
    it tells the...
  102. Replies
    26
    Views
    126

    Re: Dim xxx as code problem on P24

    Two thinghs you can try.
    One. Complete shut/power-down meaning no connection to AC-source and Notebook, remove also the batterie.
    Of course power down first as useal, then remove power...
  103. Replies
    8
    Views
    65

    Re: Serout pace time and stopbit setings

    Well RsIn was the easy part, next to RsOut.

    Only I must still playing with masking bits and timing in uSec, but thats for next week.
    Then tweak and implement in the existing code.

    So it works...
  104. Replies
    8
    Views
    65

    Re: Serout pace time and stopbit setings

    Oh dear, I have a few grey brain cels, and I have confused RsOut with Serout, pace, it seems those two are totaly different.
    I think, I have ms and us for both, pace, but the truth is if you using...
  105. Replies
    8
    Views
    65

    Re: Serout pace time and stopbit setings

    Thanks George.

    Nope pace is ms, because if I fill in 52, my scope and LA (Logic Analyzer) says both 52ms instead of 52us,
    so we can send a mesage "Hello" and "World" more than 65 seconds in...
  106. Replies
    8
    Views
    65

    Serout pace time and stopbit setings

    In Serout I want to set 'pace' time.

    (Declare Rsout_Pace 0 to 65535 microseconds (us) page 148 but this is for Rsout.)

    But if I choose pace (time) is 1, it is in milisecond (ms) instead of...
  107. Replies
    8
    Views
    185

    Re: carriage return/line feed

    I remember faintly, that I had some troubles with LF/CR in this forum, in jan 2014.

    In my account I change this;

    Miscellaneous Options: Message Editor Interface:

    Enhanced Interface - Full...
  108. Replies
    9
    Views
    117

    Re: SPI to MX25L4006E Flash PROM

    I haven't the answer your looking for, but I will advise you to buy a LA there are many, starting with $10
    Logic Analyzer with 8 channels and 24MHz sample rate will do, but ZeroPlus LA-C 16128 is...
  109. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Last week I debug a 1-wire serial data between 2 PIC's™
    I want to know which 'words' are transfered over the serial line between the Host and the Slave,
    from my AXA-Remote2.0 16F1503 Wallswitch...
  110. Thread: GDPR Policy

    by Henk57
    Replies
    5
    Views
    37

    Re: GDPR Policy

    Same thoughts Bob.

    But even more, I don't speak and write English (very) well, so it was for me hard to understand GDPR (midway fell almost in sleep).
    Sofar the very most difficult one to do,...
  111. Thread: 16f720

    by Henk57
    Replies
    7
    Views
    67

    Re: 16f720

    Sorry to hear.

    When I moved to 16F1829 for the first time it was an relaxed study in all quit, with coffee, and the first test program works fine.
    How hard can it be with the 720!

    If it is...
  112. Thread: 16f720

    by Henk57
    Replies
    7
    Views
    67

    Re: 16f720

    Gary, I run in trouble in the past with Port.E who had 4 I/O lines.
    From that day I do always like this;



    TRISA = %000000
    PORTA = %000000
    TRISE = %0000
    PORTE = %0000
  113. Thread: PCB Stencils

    by Henk57
    Replies
    6
    Views
    78

    Re: PCB Stencils

    Look at youtube to see some vid's while hobbyist working with Dispencer.
    I'd like to work with toothpick's, but you know it's me.

    Henk.
  114. Thread: PCB Stencils

    by Henk57
    Replies
    6
    Views
    78

    Re: PCB Stencils

    My thoughts.

    I use sometimes also solder paste, if it is drying up a bit bit, if so, then I use a tiny drop of (iso)alcohol and solder flux,
    and mix them together with a wooden toothpick
    Then I...
  115. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I mounted the GP2Y0A41SK0F IR sensor.

    The output is much less then doc. describe, instead of 800mVolt at 16cm distance I only have about 140mVolt (10Bit).
    Increasing the reflection surface to the...
  116. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Sorry.
    Ignore above posting, solar panels and inverter messing things up with spikes.

    Henk.
  117. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    GP2Y0A41SK0F IR sensor arrived.
    First I measure the output on my scope, at first glance I saw the analog signal and something else which did not belong there.
    Spikes, noises, pulses, level shift,...
  118. Replies
    26
    Views
    127

    Re: Which IDE are you all using?

    Try this JB Proton Studio.

    To avoid disc. about if this if it is Proton Studio IDE or JB Proton Studio IDE, if we have qustions about it.

    Just an idea.
    Henk.
  119. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thanks John.

    It's a good idea, but one remark if I fill in the value's then it is too high.

    So 2420x512=1239cm
    If I do 2420/512= 4,7cm that is almost 5cm.

    If I'm right it must be;...
  120. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    First day we have some rain, first it was more like drizzle, and later more in the direction of moderate rain, somewhere in between the windows closed.
    So that part works also
    In the days before we...
  121. Replies
    7
    Views
    92

    Re: Wiki Database error

    Thanks, that was fast.

    Henk.
  122. Replies
    7
    Views
    92

    Wiki Database error

    This morning I want to acces the Wiki but I get only an error.

    Henk.
  123. Replies
    25
    Views
    121

    Re: Just to let you know

    @Les is it possible (if I my ask it here) to add Skip command?

    Examples;



    ;example 1
    If var = 1 Then Skip 2
    ;
    Inc var1
  124. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Sure.
    But also a learning curve (and well spread).

    But also frustating, because dropping the PCF8583 and 6Volt batterie (because I needed 7.5Volt which result in faster movement of the AXA Remote...
  125. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Finaly, up and running.

    Lot's of setbacks but solved in the espected time frame.

    Greenhouse project, from idea to final improvements today, toke me about 5 month of developement.

    Henk.
  126. Replies
    3
    Views
    78

    Re: Lithium battery woes

    The schematic should look like this https://learn.adafruit.com/assets/30355

    But some manufac. place resistors acros the coin batteries and play with diode, this is the case if you have a PCB
    ...
  127. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thanks Les.

    Greenhouse is almost filled, with many new earthworms (and manure) in the ground, lots of strawberry, cherry etc.
    And new is vulcanic powder as healty mineral.

    I have some,...
  128. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    @Les & George. In my greenhouse I have also 2 batteries, one 12V, and one 6Volt, and one PV (solar).
    The 6Volt will be used for AXA-window openener and the 12V for water(rain)pump.
    But also as...
  129. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Today I made a sub. programm to implement an FSR see https://learn.adafruit.com/force-sensitive-resistor-fsr/testing-an-fsr

    Because I need an One-Touch controller, first it is ment to be on/off...
  130. Thread: Tris

    by Henk57
    Replies
    11
    Views
    94

    Re: Tris

    a and b.

    If that port pin is the SDA pin (I2C) than it changes to input/output.
    Even if you set it in the begin as an input.

    Henk.
  131. Replies
    18
    Views
    4,675

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    I try at most that my both hands are touched together that eliminates movements, and fix my smd board, and pre-solder very little on one smd-pad of the pcb.
    If there is just enough solder on pcb, I...
  132. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Your welcome, John.



    Why do I use buffers?

    First. Otherwise my clac’s are incomplete, read futhermore.
    Secondly. Changes in batterie voltage, changes also current (how small, but it does)...
  133. Replies
    15
    Views
    136

    Re: Mid$ not recognised

    I'm not suprised, I had problems with the 16F1829 fRound command.
    So I had to choose for ie. 18F26K22.

    Why they never change 16F182x to 18F182x family??
  134. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    For those who want to polling an input (for negative edge) if interrupt can't be used, this snippet can be usefull.



    Symbol WIND = PORTB.2
    Dim WIND_HIGH As Byte
    Dim WIND_LOW As Byte...
  135. Replies
    18
    Views
    4,675

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    Most of the times the last set of glasses drops from my nose, to the ground, and thats not funny.

    Yesterday I got finally my microscope, what an enlightening, I could instandly read the tiny...
  136. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thanks John.

    Second try. It fails; Then Manage Attachments, seems to work.

    http://www.protonbasic.co.uk/attachment.php?attachmentid=3467&stc=1&d=1521302286
  137. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Schematic is ready.
    But I haven't acces to upload the pdf!

    Today I did the first attemp to finish the code in cojunction with Differential op-amp's & 18F26K22 & LM3914 and Ledbar (10RGB-led's).
    ...
  138. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Both Differential op-amp's works fine.
    Same scaling for both batteries, so I have to make one sub. routine for the ADC conversion for both ADIn channels resp. 6Volt and 12Volt, and then too DACOUT....
  139. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Today late, I finished my Differential op-amp circuit on Vero-board.
    Did some static checks and work fine, after adjusting Reference voltage, from 3.3Volt (3.3Volt LDO) to ~2.3Volt, because I forgot...
  140. Replies
    18
    Views
    4,675

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    When I solder smd components I use two 3x magnification glasses behind each other on my nose and then 3D viewing is simply allready difficult.
    So it isn't a big leap to use a microscope.
  141. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Yep, today a nasty one but solved.


    I disagree to that, in this case I'll use Differential op-amp instead of integrator.

    Henk
  142. Replies
    18
    Views
    4,675

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    I espect soon this one...
  143. Replies
    3
    Views
    71

    Re: DAC voltage output

    You miss this posting.
    http://www.protonbasic.co.uk/showthread.php/77870-Best-choice-18F26K22-or-16F18857-for-Mat-Calc.-IOC-Edge-trigger?p=512087&viewfull=1#post512087


    Henk.
  144. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Joseph,
    Only one answer, a scope would tell you.

    On a op-amp: a fewhunderd pF over the feedback resistor, the gain for noise would be 1 time, instead of 4.

    Either a cap. to ground and input,...
  145. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Joseph, Thanks or you contribution.

    For now I'm looking too the input stage of ADIn (and not how to calc. and calibration in the software but it can be handy!)

    The point is tolerance and load,...
  146. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Oke little debug day.
    The software checks the status-led's Red and Green from the 16F1503, but I mask out the wrong alias (from port) so that was a mistake, but corrected.
    But then there wasn't any...
  147. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Suppose you want to measure 12v on ADIn, you have the divide the voltage to below 5Volt (safe side).
    First you pick up a good quality trimmer ~ 50kOhm, and adjust it to 3.3Volt and a Reference...
  148. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    George,
    The problem with analog is, there are to many mV between 0 and 5 volt, digital, there there are only 0 and 1.


    This afternoon, I tried the first test in co-operation with my AXA...
  149. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Next step: I want to monitor 2 batteries for my greenhouse 12V and 6 V which are to high to handle for ADIn, PIC™ doesn't like it.
    Buiding a simply a divider is not optimal, so i did some search on...
  150. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    In the last week the windspeed sub. part works fine.
    I add a simple "auto-ranging" in that sub. so I get most of the time good readings.
    If the windspeed changes from 1m/sec up to 20m/sec, with a...
  151. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    You point it very well!

    When PCF8583 started the interrupt it must be cleared in the ISR routine with an I2C command to clear the /INT line,
    otherwise PORTB.2 stays in a loop with interrupt.
    In...
  152. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I removed the Interrupt (except for the Rotary, PortB.0) parts, it freeze sometimes even after the latest mods, due to difference in windspeed.
    Therefore the PCF8583 and instructions are also...
  153. Replies
    30
    Views
    191

    Re: PicKit 2 stopped working

    I don't have Micro$oft W10, only W7.

    But it's stupid move of MS to search for "another" driver with keystroke Ctrl-F.

    Best advise I can give, revert the HID driver.
    [On Win7] Delete the faulty...
  154. Replies
    2
    Views
    52

    Re: Sorry for my absence

    Sadly, but glad your back here, I thought you have some fine Hollidays.



    My recent topic, I struggle a lot with ISR routines, but now it looks stable,
    but still more to do on IOC see what...
  155. Replies
    8
    Views
    47

    Re: Who has a good eye for design?

    Best designs are made in "spiderweb" construction or breadbord.

    That said a "nice" or good looking on PCB, then several little cap/coils are included in the design an problems could easy arise...
  156. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    For now still 18F26K22, but during programming it can change to 16F18857, but it depends on unforeseen problems.


    Sail only then after listen to this one... ...
  157. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    At first, the mounting holes are on the expensive one thats why.
    (the cheaper one doesn't have it, but it's just fine for developement )

    From the the 2 links above both sensors give two pulses...
  158. Replies
    6
    Views
    84

    Re: PIC16F1503 Fixed Voltage Reference

    Barry.

    Chapter 13.3 page 110, you will find the FVRCON Register.

    Henk.
  159. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    This is the low cost developement one;
    https://www.amazon.de/Ersatz-Sensor-Windgeschwindigkeit-Froggit-WH1080/dp/B00GGM5HEA/ref=lp_1691707031_1_4?srs=1691707031&ie=UTF8&qid=1515854969&sr=8-4
    ...
  160. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I have the Wind speed measure working, after a lot of confuses, because it hangs sometimes in the interrupt cycle.
    Mostley during many I2C traffic, DS1307, I2CPrint, BME280.

    So I did on...
  161. Replies
    12
    Views
    101

    Re: Simple cheap dev board needed

    East from the Nordsea you can look at this site;
    https://www.knutselaar.eu/Store/index.php?seo_path=moeder-borden
    Mostly in Dutch, but pictures say more than words.

    Henk.
  162. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thanks.

    The big question was why not RB0-RB7 have an INTx? that solve my problem, but it is better explained here;
    https://www.microchip.com/forums/m294169.aspx
    Topic user bromleyk60 pointed...
  163. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Thank you.

    Resumed, I need one PIC™ who has the best of both 26K22 and 18857.
    I need Schmitt-Trigger inputs, falling or rising edge IOC (but not both in an negative puls) and INT0 and SDA2/SCL2...
  164. Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    I started with an Greenhouse project and if I choose between 18F26K22 or 16F18857 which will be better with Math/Calc?

    The second point is that the 26K22 has not IOC Edge-triggering, IOC changes...
  165. Re: Getting old, need help on suitability ttl vers RS232

    @Tim. My advise, consider the need of an EMC Testhouse for this design.

    In my Filtrino I have a little pump but every 2 month's I loose my Edata (one of the two) not a big deal but annoying.

    In...
  166. Replies
    6
    Views
    75

    Re: Compiles - but then fails to assemble

    Not much of help but, try to change the Optimizer level.
    In developement stage I set ; Declare Optimiser_Level = 0

    If eveything works fine than you can set it 1-3 see page 410 of PDS manual
  167. Replies
    10
    Views
    97

    Re: Persistence freq for Led Bargraph

    More examples, MCP23017 (SPI is MCP23S17) and there are some topics and snippets.

    Antoher one,
    https://www.seeedstudio.com/Grove-LED-Bar-v2.0-p-2474.html
  168. Re: DAC 18F25K22, How to acces, and is it for analog only, or even digital?

    ...and move it to DACR<4:0> in the VREFCON2 register.
    Nice.

    Henk.
  169. Re: DAC 18F25K22, How to acces, and is it for analog only, or even digital?

    Thanks for the reply.

    @RIck. Set the CHS bits of ADCON0 to 11110;
    And toggle between ADIn0-19 and DACOUT, but then I must control the MUX resistors to get a voltage out what is something...
  170. DAC 18F25K22, How to acces, and is it for analog only, or even digital?

    I want to use the DAC but in the doc. I can't find anything for the input other than Analog.
    If I want to send Dec.128 to DAC it should giv about 2,5Volt at the ouput (if Vref+ and Vref- and other...
  171. Replies
    5
    Views
    1,582

    Re: Shout and PS/2 questions

    @RGV250, I read all the background info in the past, but thanks.

    @towlerg, Because my Tascam has only an PS2 interface.

    @MTH, I dropped the Shout implementation, so it is obselete.


    This...
  172. Replies
    7
    Views
    84

    Re: Problem with Shin

    To complete the story this is/was my topic then;
    http://www.protonbasic.co.uk/showthread.php/70954-Shout-and-PS-2-questions?highlight=shout
    Everything works except the Shout command, as you can...
  173. Replies
    7
    Views
    84

    Re: Problem with Shin

    Changing Shift_DelayUs in my design didn't help much, so you have some luck.
    (I completely redraw my design, and change it to parallel I/O instead of Shout).
  174. Replies
    7
    Views
    84

    Re: Problem with Shin

    I had in the past problems with Shout the pulses aren't 50%-50% duty cycle so I had timing problem on the receiver side (ps2 keyboard interface).
    It is possible that jou have this problem with Shin,...
  175. Re: Base biased PNP transistors running at > Pic VDD

    If ISCP power supply can do it...
  176. Re: Base biased PNP transistors running at > Pic VDD

    In the past I had the same problem.
    But Conrad sell adhesive copper, so I could fill on the board some pads traces on a 'empty place'
    dril some holes and place a component, believe it or not it was...
  177. Re: Base biased PNP transistors running at > Pic VDD

    Sorry, I overlook that.

    I think that a N-Channel Logic Level FET will do.
    No Gate resistor required.
    a cheap one, BSS138.
    https://cdn.sparkfun.com/datasheets/BreakoutBoards/BSS138.pdf
  178. Re: Base biased PNP transistors running at > Pic VDD

    In the past I use ULN2803 http://www.ti.com/lit/ds/symlink/uln2803a.pdf

    For the LED's and relais etc. and base-resistors are inside of the chip.

    Or an totem-pole...
  179. Replies
    0
    Views
    88

    PCF8583 in counter-mode

    I work out a snippet to use the PCF8583 as Counter.
    Make the translation from JAVA to Proton Basic.
    Don’t read if… (What a piece of crap is JAVA.)

    The goal is count events and set alarm and /INT...
  180. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    @David.

    I read over and over your first posting, and it take a while before I notice this;
    You use the MCP23017 as a Bridge-Driver, and I have a uncertain feeling about that.

    Try only a few...
  181. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    No.
    I send only 1 or 0 to the output LED's in sequence on both channels.
  182. Thread: Forum slow

    by Henk57
    Replies
    9
    Views
    59

    Re: Forum slow

    No problems here.
    But a few days ago there were some delays (maybe mirroring the site?)
  183. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    What's going on?

    In my case all the outputs of the MCP23017 have LED's and but only one at the time will lit up,
    and it works for any output, for several years.

    On page 3 any GPIO output will...
  184. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    Oke, I see.

    I went back to my drawings and a brief view, I saw that I use External low resistance Pull-Up on every Output.
    So if you want to see and measure a logic '1' then you have to enable...
  185. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    David,
    Are you sure you have A0,A1,A2 connected to GND,
    and Pull-Up resistors 4k7 from I2C bus to +3.3 -- 5V
  186. Re: PicKit2 dat file with working entry for 18F24K50

    This is on GitHub;
    https://github.com/GBert/misc/tree/master/pickit2/pk2cmd


    And; I build this Programmer lately and it support 18F24K50 and much more ;
    ...
  187. Replies
    27
    Views
    250

    [SOLVED !] Re: MCP23017 port pin expander not working

    Me tooo...

    And it is tricky.
    This is my start-up sequence for the MCP23017, but I use it only as OUTPUT!
    (Beware that my Device-Address $42)



    HBusOut $42,[$00,%00000000] ' IODIRA output...
  188. Replies
    9
    Views
    52

    Re: shared functions

    But eventualy for the 2550 you'll need a Line-Driver.
    Tie input and output 'in the outside world' together is asking for problems (but I don't know if you already implement it).
    Serial and clamp...
  189. Thread: DELAY read

    by Henk57
    Replies
    11
    Views
    76

    Re: DELAY read

    @Teo.

    Here's my snippet I try close to you suggestion as possible, maybe you'll enlighten a bit.



    readms = 0
    For I = 1 To 1000
    Inc readms ; Don't forget! Dim readms As...
  190. Replies
    51
    Views
    1,344

    Re: BME280 Humidity/Pressure/Temperature code

    Even more pain is they are sensitive about condensation and worser, Vapour Phase solder oven ruins it completly.

    And I want to use BME280 for my Greenhouse, my next project, with 2x electronic...
  191. Replies
    9
    Views
    52

    Re: shared functions

    The 16F1829 have seperate pin's, but I don't know if you can setup for the shared pin, I doubt that.
    And I don't know for which device you have designed.

    Henk.
  192. Replies
    51
    Views
    1,344

    Re: BME280 Humidity/Pressure/Temperature code

    Sorry to hear this.

    The only workarround for me now is to add about +360 to the outcome (BME280 eBay).
    So -290 + 360 is ~50%
    Following this rule;
    If H < 0 Then H = H + 360 ; for example...
  193. Replies
    51
    Views
    1,344

    Re: BME280 Humidity/Pressure/Temperature code

    Recently I received two of them from eBay.
    But if I changed Mellbreak code a little bit;



    'Humidity Calculations.
    H = T_fine - 76800.0
    H = (UH - (H4 * 64.0 + H5 / 16384.8 * H))...
  194. Replies
    37
    Views
    2,526

    Re: Humidity and fan control for my Sprouter.

    Today I run a test after I'd installed BME280 and TCA9548A.
    I mentioned earlyer that my DS1307 giv's me some problems, but after I connect BME280 the DS1307 stops running.
    Proberly a bad...
  195. Replies
    5
    Views
    75

    Re: Multi i2c channels

    ...and if you have (slave) devices with the same adress then you have a go.
    Here's a little snippit,



    HBusOut %11100000, [%00000000] ; tri-state, no channel select (and after POR)
    HBusOut...
  196. Replies
    5
    Views
    75

    Re: Multi i2c channels

    On devices that have only one I2C, then you can also add I2C Multiplexer like TCA9548A https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/overview

    Henk.
  197. Re: Free up some memory by reducing Print command?

    Hello Gary.

    That reminds me some years ago, I use several times Print command for the 16F628A.
    I could never find in the manual how much bytes are used for each command with var’s.
    So I had to...
  198. Re: Free up some memory by reducing Print command?

    After all I decide to replace the 45K22 into 46K22 that was easier, than rewriting a lot of code with the question,
    is there just more free memory left.

    Thank you,
    Henk.
  199. Re: Free up some memory by reducing Print command?

    I tried, but the outcome is dissapointed I lose 4% free space if I convert it to string array.
    Even 2x Dim printArrayline(x)[16] consume 2% and fill both array's another 2% (4% of 32K is about 1280...
  200. Free up some memory by reducing Print command?

    I want to add BME280 to my Sprouter, but I have 3k2 free space, and I need at least 4k3 free, and a bit more, for some simple calc.

    I have a Main-Menu with 23 items and 2-lines on a 2x16 LCD.
    ...
Results 1 to 200 of 398
Page 1 of 2 1 2