Search found 192 matches
- Mon Jul 24, 2023 4:46 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Many thanks for all the help! I appreciate this very much. There is one more thing I would like to see in the flowchart. I can't think of this. It would be nice if the LDR could be read once per minute and the average value calculated within a period of, say, five minutes. This value then goes to th...
- Mon Jul 24, 2023 11:04 am
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Hi,
I have done it by this way. I will use CO, C1, C2 and C3 for PWM 1 to 4. The mosfets are also connected to these PIN's. This works great now with one mosfet on C0.
I have done it by this way. I will use CO, C1, C2 and C3 for PWM 1 to 4. The mosfets are also connected to these PIN's. This works great now with one mosfet on C0.
- Mon Jul 24, 2023 7:56 am
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Thanks. Great information ! I don't see any changes in the posted flowchart. I have it working now with one mosfet and via this way: PWM1 and the mosfet ( -> LED Lamp ) are now both on C0) Set Duty Cycle of PWM1 to ADCvalue Wait one second Set Duty Cycle of PWM1 to zero Wait one second Repeat This n...
- Sun Jul 23, 2023 4:51 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Hi chip fryer27, I'm sorry I didn't respond, but I've started all over again. I hope you are still present in this forum. The LED Drivers work but not well enough whether it is 700mAor 1000mA. Both are not good. Technically this works well, but this is a very expensive solution. I therefore started ...
- Wed Jul 19, 2023 6:07 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
@chipfryer27:
I'm working on it. Please be patient !
I'm working on it. Please be patient !

- Sun Jul 16, 2023 2:11 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
The target chip is an: PIC16F18346
ADC is 10Bit
The LDR is an NORPS-12 - https://www.farnell.com/datasheets/3759787.pdf
You have my schematic and the flowchart is above in this topic.
Thanks !
ADC is 10Bit
The LDR is an NORPS-12 - https://www.farnell.com/datasheets/3759787.pdf
You have my schematic and the flowchart is above in this topic.
Thanks !
- Sun Jul 16, 2023 11:39 am
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Hi chip fryer27, Thanks for your reply. The reading of the LDR will indeed be once every 2 minutes in a later flowchart. Constant reading does not make sense and will certainly affect the entire operation. I also understand your thoughts about daylight, clouds and night. But this is also not very cl...
- Sat Jul 15, 2023 5:30 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
Thank you!! Isn't it true that in Flowcode you can reverse the reading of the LDR? Then would be nice. The lamp must of course burn fully in daylight. When it gets dark, it should dim. From 100% to about 60%. The LED Driver RCD-24-1.00 goes up to max 1050mA so really too much. EDIT: 1000mA PWM shoul...
- Sat Jul 15, 2023 2:07 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
I'm also looking at the RCDE-48-1.05. It has a common PIN for “PWM DIMMING AND ON/OFF CTRL”. This is half the price of the RCD-24-1.00. Recom also suggested this to me to use.
So it would be nice to be able to use this shared PIN for brightness and on and off.
So it would be nice to be able to use this shared PIN for brightness and on and off.
- Sat Jul 15, 2023 12:29 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
I've come a bit further with this LED Driver. I started from scratch with both the schematic and the flowchart. I am now using the RCD-24-0.70 (max 700mA) for testing. The LED lamp has a specification of 12V/940mA. So far it looks perfect. No more flickering. I used the following ports of the LED Dr...
- Wed Jul 12, 2023 1:50 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
I just made a video with the LED Lamp and a LAB power supply. If I turn back the current, the lamp will burn less brightly. This without flickering.
So this could be the solution.
https://youtu.be/vrQWPdb_Jy0
So this could be the solution.
https://youtu.be/vrQWPdb_Jy0
- Wed Jul 12, 2023 1:22 pm
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
I would rule out the LDR as the source of the fluctuations and replace it with a potentiometer, just in case the LDR is not providing a constant resistance. If the flicker still exists, then I guess it's the switching of the LEDs or their drivers that is causing the issue. Maybe consider driving th...
- Wed Jul 12, 2023 11:08 am
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
Re: LDR (Light Dependent Resistor -> FC V8
My current code is written by Martin. This is the last code I use. LDR TEST - 4 PWM component.fcfx - These are the associated hardware schematics 2023-07-09_10-40-33.jpg - 2023-07-09_10-54-00.jpg - I already changed the PWM Prescaler from 16 to 1 which gives me a Frequency of 16KHz. Flickering is st...
- Wed Jul 12, 2023 8:17 am
- Forum: Flowcode V8
- Topic: LDR (Light Dependent Resistor -> FC V8
- Replies: 28
- Views: 134202
LDR (Light Dependent Resistor -> FC V8
As a result of this thread, I'm going to ask the question here again. https://www.matrixtsl.com/mmforums/viewtopic.php?f=63&t=19023 Because I have Flowcode V8 I was advised to continue posting the question here. The LED Lamp continues to flicker while dimming with an LDR. The LED Lamp is used fo...
- Tue Jul 11, 2023 6:05 pm
- Forum: Flowcode V7
- Topic: LDR (Light Dependent Resistor
- Replies: 50
- Views: 62789
Re: LDR (Light Dependent Resistor
Thanks. You are right. I will do this tomorrow.
- Mon Jul 10, 2023 5:27 pm
- Forum: Flowcode V7
- Topic: LDR (Light Dependent Resistor
- Replies: 50
- Views: 62789
Re: LDR (Light Dependent Resistor
Thanks for answering me. I will write tomorrow an answer. I hope you will take a look to it.
(I have Flowcode V8, so maybe this topic can move to the V8 section)
(I have Flowcode V8, so maybe this topic can move to the V8 section)
- Sun Jul 09, 2023 9:45 am
- Forum: Flowcode V7
- Topic: LDR (Light Dependent Resistor
- Replies: 50
- Views: 62789
Re: LDR (Light Dependent Resistor
Hi, (I have FlowCode 8 ) I will come back to this topic. I've been helped a lot but it still doesn't work properly. This concerns four Road Safety Lights (LED 200mm) This lamps are full of lenses, so every flicker is verry noticeable. When it starts to get dark, the lamps flicker when they are dimme...
- Sat Sep 10, 2022 11:07 am
- Forum: Flowcode V8
- Topic: SK6812 RGBW LED strip 5M and 300 LEDs
- Replies: 6
- Views: 7650
Re: SK6812 RGBW LED strip 5M and 300 LEDs
Thanks chipfryer27.
I will try this next week if I can find the chip. This week í'm too bussy with other things. Sorry
I will try this next week if I can find the chip. This week í'm too bussy with other things. Sorry

- Thu Sep 01, 2022 4:14 pm
- Forum: Flowcode V8
- Topic: SK6812 RGBW LED strip 5M and 300 LEDs
- Replies: 6
- Views: 7650
Re: SK6812 RGBW LED strip 5M and 300 LEDs
Thanks,
But I need a .fcfx so that I can see what chip is used and how you program it. I need a start
Frank
But I need a .fcfx so that I can see what chip is used and how you program it. I need a start

Frank
- Sun Aug 28, 2022 6:21 pm
- Forum: Flowcode V8
- Topic: SK6812 RGBW LED strip 5M and 300 LEDs
- Replies: 6
- Views: 7650
SK6812 RGBW LED strip 5M and 300 LEDs
I have a SK6812 RGBW LED strip 5M and 300 LEDs.
I want to use this strip with two PIR sensors and must only work when it gets darker.
Does anyone has a working .fcfx file for this LED strip ?
Thanks,
Frank
I want to use this strip with two PIR sensors and must only work when it gets darker.
Does anyone has a working .fcfx file for this LED strip ?
Thanks,
Frank
- Thu Sep 23, 2021 4:36 pm
- Forum: Flowcode V8
- Topic: LEM LTSR 15-NP and more
- Replies: 47
- Views: 76281
Re: LEM LTSR 15-NP and more
I have tried to add two toggle switches (standard one in FlowCode) but this also didn’t work for me. Is it possible that the FlowCode team can make a momentary toggle switch component as this:
SPDT (On)-Off-(On)
https://nl.farnell.com/2128040
SPDT (On)-Off-(On)
https://nl.farnell.com/2128040
- Tue Sep 21, 2021 2:48 pm
- Forum: Flowcode V8
- Topic: LEM LTSR 15-NP and more
- Replies: 47
- Views: 76281
Re: LEM LTSR 15-NP and more
Hi Martin, Many thanks for this 32MHz and 4x PLL idea. Indeed the buttons are reacting much more faster. There is only one last problem what I have in this code. That is about the manual switch. The Manual Operation Switch must be a Manual Operation Switch. This switch is a momentary toggle switch w...
- Mon Sep 20, 2021 3:56 pm
- Forum: Flowcode V8
- Topic: LEM LTSR 15-NP and more
- Replies: 47
- Views: 76281
Re: LEM LTSR 15-NP and more
Hi Martin, I have taken your code from the LTRS 15 into my code. Now the total code is running very slow on hardware. I have disabled the decision “ResultFloat > 7.49” and it makes no difference. So, the slow running comes from the Component Macro “ResultFloat… “ and the Calculation icon “CurrentStr...
- Wed Sep 15, 2021 4:37 pm
- Forum: Flowcode V8
- Topic: LEM LTSR 15-NP and more
- Replies: 47
- Views: 76281
Re: LEM LTSR 15-NP and more
Attached there is a video where you can see how this LTSR-15_Test-03.fcfx works in my hardware. The LED is in the very upper right corner of this video. https://youtu.be/qJzmZnVjQ-8 If I get this to work then there is a another problem. The original PCB is from 2005 ? and there is a TL082CP between ...
- Wed Sep 15, 2021 4:10 pm
- Forum: Flowcode V8
- Topic: Switches problem
- Replies: 18
- Views: 8592
Re: Switches problem
Hi Martin, Wow this works perfectly!! Thank you very much for this code. I'm trying to understand this code so that I can understand it better as well. Unfortunately the pins have different ports and not D0, D1, D2 and D3. This has to do with how the PIC is placed on the PCB. I tried to keep lines a...