Search found 2087 matches

by medelec35
Tue Feb 10, 2026 3:45 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 17
Views: 722

Re: 16f18877 internal Zero Cross Detector

What I did to detect ZCD on a microcontroller that did not have ZCD was to use a resistor to prevent too much or reverse current on a pin. detect for 0v (positive half cycle), then timed 10 ms for the zero crossing after the negative half cycle. That made the AC motor i controlled via MOSFET and a b...
by medelec35
Mon Feb 09, 2026 5:13 pm
Forum: General
Topic: BME280
Replies: 6
Views: 111

Re: BME280

BME280 Working on embedded hardware as expected. Temp = 22.780000, Humid = 47.277343, Pressure = 987.909973 Temp = 22.780000, Humid = 47.289062, Pressure = 987.929992 Temp = 22.790000, Humid = 47.299804, Pressure = 987.900024 Temp = 22.770000, Humid = 47.280273, Pressure = 987.890014 Temp = 22.78000...
by medelec35
Mon Feb 09, 2026 11:13 am
Forum: General
Topic: BME280
Replies: 6
Views: 111

Re: BME280

Hello. My Advice would be not to test with a third party simulation before posting on the forums. It's always wise to test on embedded hardware first. I have a 18F14K22 I can test BME280 on. Last time I tested BME280 on ESP32 it worked as expected. I will carry out some tests and let you know how i ...
by medelec35
Wed Jan 28, 2026 12:55 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 9004

Re: Implementing a non blocking delay

Hi Thank you for you breakdown: So here’s what I’m trying to do: I have a camera which will grade objects. The camera is giving signal to a PLC which has mechanical relay outputs. I have to reject 3 grades. My program will control 3 push pull solenoids of 12V. They are connected to 3 ports on B. It ...
by medelec35
Tue Jan 27, 2026 10:50 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 9004

Re: Implementing a non blocking delay

:lol:
mvictor
There are a lot of posts to catch up on.
Rather than doing that if there can be a full breakdown of what you want the hardware to then I will take a look into it.
by medelec35
Mon Jan 26, 2026 12:55 pm
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 9004

Re: Implementing a non blocking delay

Chipfryer21 is doing a great job in helping, I do not want to step on his toes. My sole intention is getting the equivalent to timer interrupt simulation working the same as on embedded hardware for anyone that requires that option. If Chipfryer27 requires additional help then I will see what I can ...
by medelec35
Mon Jan 26, 2026 10:57 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 9004

Re: Implementing a non blocking delay

Hi. For my two pence worth. Timer interrupts can be precise in simulation as well as on hardware All you do is use the timed interval component instated of the timer interrupt command icon. Then you set both simulation and embedded time within the the properties. Timer Interval component 1.png There...
by medelec35
Mon Jan 26, 2026 9:48 am
Forum: Projects - Embedded
Topic: Compiler Error - ESP M5Stack Dial
Replies: 9
Views: 892

Re: Compiler Error - ESP M5Stack Dial

Hi Martin.
You're welcome.
That's great!
I'm glad you have now got your project to compile.
Thanks for updating us.
by medelec35
Sun Jan 25, 2026 10:31 pm
Forum: Projects - Embedded
Topic: Compiler Error - ESP M5Stack Dial
Replies: 9
Views: 892

Re: Compiler Error - ESP M5Stack Dial

Hello. First make sure all your components are up-to-date by running full database component updates. Then make the change Leigh stated. Now browse to this location using file explorer , it's hidden by default so just paste the link into your address bar. %ProgramData%\MatrixTSL\FlowcodeV11\Componen...
by medelec35
Sun Jan 25, 2026 1:24 am
Forum: Projects - Embedded
Topic: Compiler Error - ESP M5Stack Dial
Replies: 9
Views: 892

Re: Compiler Error - ESP M5Stack Dial

Hello.
If you upload your latest fcfx project file, I will see if I can resolve the errors for you.