Hi all!
I've looked in the Wiki for an example of this component, but there isn't one. I just ordered a few, get them next week.
https://dk.rs-online.com/web/p/analog-u ... 67473?gb=s
Does anyone have experience with these? I have tried to make a testprogram myself, am I on the right track, could someone have a look at my testprogram, please?
br Jorgen
MCP41HV51
-
- Posts: 797
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
MCP41HV51
- Attachments
-
- MCP41HV51.fcfx
- (16.15 KiB) Downloaded 140 times
Last edited by jgu1 on Sun Nov 17, 2024 5:40 pm, edited 1 time in total.
-
- Valued Contributor
- Posts: 1609
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: MCP41HV51
Hi Jorgen
Does this post help?
viewtopic.php?t=2369
I could be wrong but doesn't the component MCP45xx work (xx being don't care)?
Regards
Does this post help?
viewtopic.php?t=2369
I could be wrong but doesn't the component MCP45xx work (xx being don't care)?
Regards
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: MCP41HV51
Hi Chipfreyer!
Thank you. Very nice, but I am looking for an examble how to use the component, maybe you could have a look at my examble it seem to work i simulation, am I on the right way?
Jorgen
Thank you. Very nice, but I am looking for an examble how to use the component, maybe you could have a look at my examble it seem to work i simulation, am I on the right way?

Jorgen
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: MCP41HV51
Hi !
SPI model.
I get ny board. I have perform a test. No matter what I do I can´t get i work. Same for CH1 and SWmode. When I measure with my scope no data on any SPI pin.?
*****EDIT: After set index to 1 I see now data on the SPI pin? But I am not able to see any change on the POT PoA and POW and PoB **
https://dk.rs-online.com/web/p/analog-u ... 67473?gb=s
https://docs.rs-online.com/be55/A700000007461615.pdf
Have any expeience with this device, not sure if I do something wrong, please. New tesprogram att.
Hope for help
Jorgen
SPI model.
I get ny board. I have perform a test. No matter what I do I can´t get i work. Same for CH1 and SWmode. When I measure with my scope no data on any SPI pin.?
*****EDIT: After set index to 1 I see now data on the SPI pin? But I am not able to see any change on the POT PoA and POW and PoB **
https://dk.rs-online.com/web/p/analog-u ... 67473?gb=s
https://docs.rs-online.com/be55/A700000007461615.pdf
Have any expeience with this device, not sure if I do something wrong, please. New tesprogram att.
Hope for help

Jorgen
- Attachments
-
- DigipotTwo.fcfx
- (17.42 KiB) Downloaded 120 times
-
- Digipot.fcfx
- (16.25 KiB) Downloaded 124 times
-
- Matrix Staff
- Posts: 1994
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 630 times
- Been thanked: 666 times
Re: MCP41HV51
Hi Jorgen.
the MCP41XXX would refer to any three numbers after the 41.
Like wise with MCP41XX would refer to any two numbers after the 41.
As they are both different components, then they both will work differently.
The MCP41HV51 are a mixture of letters and numbers, therefore I would again assume it works differently.
You could try the MCP41XX, but I can't say if it will work or not?
If it does not work, then currently the MCP41HV51 is not supported.
If you can let me know, so we can look at adding the component for you.
If we need to add it, I don't have the board to test with, so I will need to order one.
One thing to note with your Flowchart.
You have got the debounce set to 5ms.
Debounce only works with the Switch functions and not with inputs.
If you want to use the debounce option then you will need to swap the inputs with ReadState function.
Also, don't forget the pulldown resistors for the switch
the MCP41XXX would refer to any three numbers after the 41.
Like wise with MCP41XX would refer to any two numbers after the 41.
As they are both different components, then they both will work differently.
The MCP41HV51 are a mixture of letters and numbers, therefore I would again assume it works differently.
You could try the MCP41XX, but I can't say if it will work or not?
If it does not work, then currently the MCP41HV51 is not supported.
If you can let me know, so we can look at adding the component for you.
If we need to add it, I don't have the board to test with, so I will need to order one.
One thing to note with your Flowchart.
You have got the debounce set to 5ms.
Debounce only works with the Switch functions and not with inputs.
If you want to use the debounce option then you will need to swap the inputs with ReadState function.
Also, don't forget the pulldown resistors for the switch
Martin
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: MCP41HV51
Hi Martin!
Again thank´s. I will test your suggestion during the weekend
If it not help I can send you one of my MCP41HV51 board and you don´t have to return it, keep it, no problem.
You hear, nice weekend
br jorgen
Again thank´s. I will test your suggestion during the weekend

If it not help I can send you one of my MCP41HV51 board and you don´t have to return it, keep it, no problem.
You hear, nice weekend

br jorgen
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: MCP41HV51
Hi Martin!
Yes, you are the Master
I change to one of the other with only XX and not XXX and it work,so fine.
If you want, my offer is still open and I can send you one board ?
Br jorgen
Yes, you are the Master

If you want, my offer is still open and I can send you one board ?

Br jorgen