Hi Ben
On the webside from Flowcode is the component SHT31
Component: Temp / Humidity (SHT31) (Environmental) - Flowcode Help
https://www.flowcode.co.uk/wiki/index.p ... ronmental)
I can load it and see how it works.
I suppose I could make small changes in the addresses and this would work for the SHT41.
I can also export the component.
My question: How can I rename the component to SHT41 so that I can find and load it in Flowcode?
regards
Stefan
How to save a component
-
- Valued Contributor
- Posts: 997
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: How to save a component
Hi Stefan.
After renaming the source project file and then editing the component source.
Select File > Export > Edit the export settings for your component
There you can change all the details of the component including its name, where within Flowcode you want the component to live etc.
For the icon the image will need to be 24 x 24 pixels.
Go into the Advanced tab, select Edit next to GUID window.
Select the top New to generate a new GUID then select OK, then OK again.
Now you can select Export this project as a component to a directory of your choice.
Don't forget to add the directory path within File > Global Settings... > Locations > Look for components in .... window
After renaming the source project file and then editing the component source.
Select File > Export > Edit the export settings for your component
There you can change all the details of the component including its name, where within Flowcode you want the component to live etc.
For the icon the image will need to be 24 x 24 pixels.
Go into the Advanced tab, select Edit next to GUID window.
Select the top New to generate a new GUID then select OK, then OK again.
Now you can select Export this project as a component to a directory of your choice.
Don't forget to add the directory path within File > Global Settings... > Locations > Look for components in .... window
Martin
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: How to save a component
Hi Martin
I have reached the first part....
Edit and save/load is working .
So I will now try a little to change the addresses.
regards
Stefan
SHT41....
I have reached the first part....
Edit and save/load is working .
So I will now try a little to change the addresses.
regards
Stefan
SHT41....
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: How to save a component
Hi Stefan, that's great, well done.
If you need help, e.g. would like editable address within properties, or want the icon to match the other sensors, then let me know and I will assist further.
If you need help, e.g. would like editable address within properties, or want the icon to match the other sensors, then let me know and I will assist further.
Martin
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: How to save a component
Hi Martin
Thank you for the good tips and support. I changed the address.
It's working now with the SHT41.
I have noted my changes in the pdf and set the name of the component to Sensirion_SHT41
I will test more and later and I test also the STS41, a version Sensor from Sensirion only temperature.
Both sensor are avaible on a flexprint (FPCB) and really small...
regards
Stefan
Thank you for the good tips and support. I changed the address.
It's working now with the SHT41.
I have noted my changes in the pdf and set the name of the component to Sensirion_SHT41
I will test more and later and I test also the STS41, a version Sensor from Sensirion only temperature.
Both sensor are avaible on a flexprint (FPCB) and really small...
regards
Stefan
- Attachments
-
- Sensirion_SHT41.fcpx
- (6.27 KiB) Downloaded 698 times
-
- Sensirion SHT41.pdf
- (227.35 KiB) Downloaded 841 times
-
- FC_Comp_Source_Sensirion_SHT41.fcfx
- (45.75 KiB) Downloaded 768 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: How to save a component
Hi Stefan.
You're welcome.
Thank you for posting the modified component and source file.
It will be handy for someone who has that sensor.
I'm glad it's working, well done.
You're welcome.
Thank you for posting the modified component and source file.
It will be handy for someone who has that sensor.
I'm glad it's working, well done.
Martin
-
- Valued Contributor
- Posts: 185
- Joined: Wed Jan 13, 2021 7:15 pm
- Has thanked: 81 times
- Been thanked: 30 times
Re: How to save a component
Hi Stefan.
I have been looking at those development kits also.
Are you using the humidity - what's the accuracy like ?
Got a idea lurking for a data logger for our binder climate chamber
Steve
I have been looking at those development kits also.
Are you using the humidity - what's the accuracy like ?
Got a idea lurking for a data logger for our binder climate chamber
Steve
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: How to save a component
Hi Steve
I also work on a logger, but only with the temperature and during 5 minutes
regards
Stefan
There are several versions SHT4x A very good version is on this board
https://www.digikey.ch/de/products/deta ... 5/17831054
Alternatively:
still very good the SHT30 and practical in the case
https://shop.m5stack.com/products/env-i ... 30-qmp6988 There are more manufacturers of Board with SHT4x or SHT3x...
I also work on a logger, but only with the temperature and during 5 minutes
regards
Stefan
There are several versions SHT4x A very good version is on this board
https://www.digikey.ch/de/products/deta ... 5/17831054
Alternatively:
still very good the SHT30 and practical in the case
https://shop.m5stack.com/products/env-i ... 30-qmp6988 There are more manufacturers of Board with SHT4x or SHT3x...
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: How to save a component
Hi Martin
I have found two ways to get the components.
It seems that both ways lead to the same components.
It is a great help for me, to see how the components work and how I can use them to build new ones.
But how do I know I have the latest version?
regards
Stefan
Link via wiki:
https://www.flowcode.co.uk/wiki/index.p ... Components
Link via help:
https://www.flowcode.co.uk/components/?p=coa
I have found two ways to get the components.
It seems that both ways lead to the same components.
It is a great help for me, to see how the components work and how I can use them to build new ones.
But how do I know I have the latest version?
regards
Stefan
Link via wiki:
https://www.flowcode.co.uk/wiki/index.p ... Components
Link via help:
https://www.flowcode.co.uk/components/?p=coa
-
- Valued Contributor
- Posts: 185
- Joined: Wed Jan 13, 2021 7:15 pm
- Has thanked: 81 times
- Been thanked: 30 times
Re: How to save a component
hi Stefan,
Thank you.
I am looking at the 4x series too. Mainly the 45, do you have a way of checking accurately the temperature ?
Data sheet here if anyone else interested:
https://sensirion.com/media/documents/3 ... HT4x_1.pdf
I might have to ask nicely see if we can get a module, and plot it against what the chamber says on a slow ramp.
Steve
Thank you.
I am looking at the 4x series too. Mainly the 45, do you have a way of checking accurately the temperature ?
Data sheet here if anyone else interested:
https://sensirion.com/media/documents/3 ... HT4x_1.pdf
I might have to ask nicely see if we can get a module, and plot it against what the chamber says on a slow ramp.
Steve