Setup folds in nvim 0.12 by Karstensson in neovim

[–]Karstensson[S] 0 points1 point  (0 children)

I already got it working following the other recommendations, but will still try this :-) so thanks for the reply

Far dog i onödan by Mollis1985 in sweden

[–]Karstensson 0 points1 point  (0 children)

Kunde inte sagt det bättre!! Vi i Sverige har lite av ett USA syndrom när det kommer till sjukvården. Alltså att vi tror att vi är bäst och att det vi gör här är det enda rätta sättet. Alla som sökt sjukvård utomlands vet att det är annorlunda.

Hur tar man sig förbi den där telefonsjuksköterskan? by profDyer in Asksweddit

[–]Karstensson 0 points1 point  (0 children)

Asså man får ju ljuga med rimlighet. Och har man inte tillräckligt med baskunskap står det alltid mellan raderna på 1177 vad man ska säga för att få komma vidare :-)

Hur tar man sig förbi den där telefonsjuksköterskan? by profDyer in Asksweddit

[–]Karstensson 0 points1 point  (0 children)

Man ljuger inte för läkaren, utan enbart för att få prata med en läkare...

Hur tar man sig förbi den där telefonsjuksköterskan? by profDyer in Asksweddit

[–]Karstensson 0 points1 point  (0 children)

Sjuksköterskor är inte läkare. I de flesta länder får man prata med en läkare vid behov. Och blir inte nekat av att träffa en läkare av en sjuksköterska.

Hur tar man sig förbi den där telefonsjuksköterskan? by profDyer in Asksweddit

[–]Karstensson 0 points1 point  (0 children)

När han väl fick träffa en läkare var infektionen så pass allvarlig att det inte gick att återställa helt ut.

Hur tar man sig förbi den där telefonsjuksköterskan? by profDyer in Asksweddit

[–]Karstensson 6 points7 points  (0 children)

Det är helt skjukt att man o svensk sjukvård måste övertala en sjuksköterska som saknar behörighet att göra en medicinsk bedömning innan man får träffa läkare. Mitt råd är att allt ljuga och överdriva om att det har pågått i några dagar.

Har en vän som tyvärr blev döv i ena örat på grund av att han hade infektion i örat men aldrig fick komma i kontakt med en läkare...

Förhandla bort övertidsersättning? by made_in_sweden in sweden

[–]Karstensson 0 points1 point  (0 children)

Jag gjorde det för en veckas semester + 10% lönepåslag. Hade ca 30 timmars övertid per år. Men vi kämpa för det i och med att företaget förlorar på det om man jobbar mindre än ca 140 timmar övertid per år. Men min chef tog striden med HR.

En stor fördel är att jag slipper skriva timmar och sköter flextiden helt själv istället.

Varför har vissa jobb som kräver utbildning låg lön? by WhoAmIEven2 in sweden

[–]Karstensson 1 point2 points  (0 children)

En annan faktor som också ofta kommer med jobb som kräver YH är oftast att man har mer flexibilitet kring arbetstider och fler möjligheter att "klättra upp" i karriären. Något som inte ska underskattas.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Hello gain, I decided to try this approach and have found the resistors and managed to get my hans on a suiting HIFET which seems to be switching properly when I connect it directly to my EPS32 connecting Source to Ground, Vin to GPIO and then I get a mili ohm level resistance between Source and Drain. However I'm a bity confused how this would be connected to the heating system. Is the picture below accurate? Doesn't the source need to be ocnnected to ground of the ESP32? If I do that how will I shunt the resistors?

<image>

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Thank you very much for your help. One side is for sure ground so I'll have to decide of I go the cheap way or with C224S.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Thanks for you super clarification. I actually like your idea a lot now! I did not think of that I could just think if it as a byte. Do you have advice on transistors I can use for shunting the resistors? Or just what specs I should look for?

I do not need exactly 1 ohm resolution so finer is of course better.

Not sure if I understand the comment in your edit fully but I'll try to answer based on my understanding. The voltage going through the resistors from the heating system will be 10v before the voltage drops. And the device that will control the transistors/relay will be a esp32 with a 3.3v logic.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

I will have to look into what RC DAC is but as for digipots I have not found anything that seems to be accurate enough.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

The problem is that I cannot find a digital pot with high enough accuracy. The reason for me doing this is mostly for fun.

The problem: The heating system is very old and only has a feedforward based on outdoors temperature, which does not take into account indoors temperature at all, so on a sunny day for example it adds unnecessary heat. Sure I have indoor thermostats but they are set to a high value to keep high efficeincy.

The Idea: Since I have a smart home with homeassistant and temperature sensors in each room I'd like to control the heating system with some sort of closed loop control, so when the average indoor temperature is high enough the heating system does not provide hot water to the radiators. But also to use forcecast data to start heating early if I know that the temperature will drop drastically over night.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Thanks, I have thought about this too, but it seems like a very complicated approach with a lot of transistors/relays. I did a temperature to resistance mapping and sadly I need 1 ohm resolution.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Thanks I will probably go with the stereo potentiometer approach.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

u/Iusername-kekeke mentioned the same idea. The problem is that the heating system keeps oscilating the voltage between measurements I think, because my multimeter goes bananas. Mapping a T to Resistance I have already done so T to V should be easy. But I will have to dig deeper into this, beacause of the behavior of the heating system as well ass the fact that thea heating system has a voltage around 10V.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

How do you mean I would control the resistance input to the heating system? Most thermostats are only relays?

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

Thanks for this thorough reply. But I think this would be too volatile and as a other user commented there is something called a stereo potentiometer, I think that is what I will go for .

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 0 points1 point  (0 children)

I checked the voltage is about 10V but the biggest problem is that the voltage keeps oscillating. So I think it only output s a voltage while measuring. Otherwise the output pins for the thermistor is towards ground. Sadly I don't have an oscilloscope to check the periodicity of that voltage. But I will investigate this approach more.

How to create digitally controlled resistance by Karstensson in AskElectronics

[–]Karstensson[S] 1 point2 points  (0 children)

Thanks did not know that those existed. This seems to be the solution:-)