Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: mpgmike; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    78
    Views
    16,285

    Re: Heart rate sensor MAX30102

    Thanks for the generous offer :)
  2. Replies
    78
    Views
    16,285

    Re: Heart rate sensor MAX30102

    I think Richard is eluding to a process called Fast Fourier Transform, FFT for short. The filter is a mathematical equation applied to each result. In many cases, the previous result is part of the...
  3. Replies
    78
    Views
    16,285

    Re: Heart rate sensor MAX30102

    Have you checked to see if you actually have a pulse for this thing to read? Maybe you're dead and don't even know it?? Try it on someone else as a verification? Just joking...
  4. Re: Any physically large, 64 pin PIC16 or PIC18 chips available?

    Another option would be Plug-In Modules (PIM for short). Quick search turned up one for the PIC18F67K40 from Mikroe.
  5. Re: Any physically large, 64 pin PIC16 or PIC18 chips available?

    Microchip is releasing quite a few of their newer chips on Nano Curiosity Boards. These put tiny MCUs on a board with pin taps around the outside edges. This is great for creating one-off projects,...
  6. Replies
    78
    Views
    16,285

    Re: Heart rate sensor MAX30102

    Here is a Filter algorithm that has served me well with several projects. For the moment I'm going to assume your code serves 2 main functions: read the heart rate MAX30102 and report the results. ...
  7. Re: Another attempt for I2C eeprom, this time - 25C256.

    C1, if you have the spare cash, I would recommend a cheap logic analyzer. Saelig sells one for (I think I paid) around $80 US. I haven't used mine in several years, as I now have a Pico Scope that...
  8. Replies
    78
    Views
    16,285

    Re: Heart rate sensor MAX30102

    In Post #44 your low-pass filter seemed to work perfectly, then in Post #49, it seemed a bit overdone. Then in Post #51 it looks like the low-pass filter is acting like a 500F capacitor! I didn't...
  9. Re: My code for ADC button handling, it works, but can it be slimmed down?

    Regarding flags, here is a trick I use:


    ButtonA VAR WORD
    Button1 VAR ButtonA.0
    Button2 VAR ButtonA.1
    ......
    Button16 VAR ButtonA.15

    This creates bit flags. To use them:
  10. Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    If you create Constant (CON) strings, you can store them categorically within a CALL/GOSUB routine. Using a Line variable (Line VAR BYTE) just set that to the text line needed.


    Line VAR BYTE...
  11. Re: My code for ADC button handling, it works, but can it be slimmed down?

    Recent posts got me thinking. Are you designing something with a bunch of buttons, each with a specific functionality? Or are you trying to do something more akin to a key pad? If you're using a...
  12. Replies
    11
    Views
    349

    Re: PIC18F25Q43 serial combiner - possible?

    Well said Henrik! If you aren't willing to spend some time with the data sheet and learn how to use the cool stuff on the newer PICs, just stick with your antiquated "Model T's" and do what you can....
  13. Replies
    11
    Views
    349

    Re: PIC18F25Q43 serial combiner - possible?

    I find it simpler to read the data sheets and work with the SFRs using simple PBP BASIC code rather than trying to manipulate PBP commands to do something that didn't exist when the PBP commands were...
  14. Replies
    11
    Views
    349

    Re: PIC18F25Q43 serial combiner - possible?

    First off, the newest version of PBP3.1 does indeed support the Qxx families. If you still use PBP 3.0 you will need to upgrade. If you already have PBP 3.1, just go to the ME Labs site & download...
  15. Replies
    5
    Views
    389

    Re: PIC self reprogramming

    According to 27.9 in Electrical Specifications, Parameter D178 states it's good for 10k writes.
  16. Re: My code for ADC button handling, it works, but can it be slimmed down?

    adcin 1, adcval 'read keys
    SELECT CASE adcval
    CASE < 10 : left=left+1 'detect button presses
    CASE < 100
    @ NOP
    CASE < 130 : right=right+1 'detect button presses
    END SELECT

    You might...
  17. Re: "WAIT" modifier with multiple choices - how to?

    My approach would be to just receive whatever comes in, then parse it later.
  18. Re: Effective ways for storing multiple string variables within PBP code?

    You said that if the EEPROM were larger, you could easily store the strings there, then find them with a look-up index. Newer PICs have the ability to write directly to Flash (HEF is one example,...
  19. Replies
    3
    Views
    381

    Re: What does serial data mean?

    Sending parallel data requires one line per bit; an 8-bit transmission requires 8 lines for data, plus an additional line for clock, and perhaps others. Serial data requires 1 line to send data of...
  20. Re: Can we do 300khz serial communication using PBP and entry level MCU's ?

    If you run Fosc at 48 MHz, then the divisor is 160 (48,000,000 / 300,000 = 160). I'm only aware of USB type PICs capable of 48 MHz. Normal 4-8-16-32-64 MHz Fosc speeds result in fractions. Maybe...
  21. Replies
    4
    Views
    782

    Re: issue PBP compile with win10

    Is this message stopping anything from working? If it's just a "Message", I wouldn't worry about it. There's usually a "Message" about how HPWM only works with CCPx modules, and so forth. A...
  22. Thread: USB Keyboard

    by mpgmike
    Replies
    19
    Views
    2,197

    Re: USB Keyboard

    I do believe there is a sub-category in the HID USB category specific to keyboards. Each key has its own command code. If you enumerate as a keyboard, it is just using what has already been...
  23. Re: Timing diagram for MSGEQ7 spectrum analyzer chip, is it correct?

    Welcome to our community, Grant. Looks like you are familiar with PBP already. Thanks for sharing your work. For future posts, you can put code in a smaller window by using [ CODE ] at the...
  24. Replies
    8
    Views
    877

    Re: Compiler (PBP v2.50C) errors

    Ioannis: Don't know, switched to the K40 and didn't bother sorting through them.

    CuriousOne: I make it a habbit to spell out ALL Registers for PORTs, ADC, and any other peripheral I use. ...
  25. Replies
    8
    Views
    877

    Re: Compiler (PBP v2.50C) errors

    I'm working on a project that just requires a 40 pin PIC; nothing fancy, any 40 pin will do. I have an old batch of PIC18F26K22's from a project years ago; brand new, bought from Digi-Key, still in...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4