Search found 348 matches

by Derrihj
Fri May 08, 2020 5:19 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

More
by Derrihj
Fri May 08, 2020 4:55 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

But i can say this has been so interesting am going to study it more as i get the pcb up and running thanks Martin for the hard work helping me may God bless you.Just finished it's transformer
by Derrihj
Fri May 08, 2020 4:46 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

I will need to make a PCB as soon as possible and see this practically.
by Derrihj
Fri May 08, 2020 4:41 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

I can see but another thing am not getting here may be you can help explain more, in my code the game changer will be FireDelay variable at initial value of 5.452ms but as you see it won't stay fixed at 5.452ms as it will be changing periodically according to changes in battery a 0.0303ms will alway...
by Derrihj
Fri May 08, 2020 4:15 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Thanks Martin i can say there is a clever move in your flowchat, but i have some changes inorder to match exactly what am looking for.(1) in the INT0_ISR i would remove DelayCount or just make (DelayCount = FirDelay) and i would only enable a bool which in your case is (ENABLEDELAY). (2) in Timer2IS...
by Derrihj
Fri May 08, 2020 11:14 am
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

[quote="medelec35" said If interrupt has triggered 94 times then 0.058ms * 94 = 5.452ms[/quote] Thanks Martin so if i take your new 5.452ms as initial FireDelay variable and when i add 0.0303ms i get a 1.022v decrease on Vrms not bad Martin good job done Now if we count 94 times fireDelay variable h...
by Derrihj
Thu May 07, 2020 8:40 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Thanks Martin but did you understand what am trying to do from my explanation above since my English is not all that good? But at the falling edge the signal will be delayed initially 5.4788ms by FireDelay variable, then after that delay it will be switched on for only 250us then off and int is clea...
by Derrihj
Thu May 07, 2020 8:13 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

And how will Timer2 be enable yet at the time of firing i will be in int0 macro since you told me never to enable an int from another int.Please arange a simple flowchat for me i see it from your flowchat based on the explanation I've just given above.But thank u very much I've just learned how to d...
by Derrihj
Thu May 07, 2020 7:06 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Am going to be firing a signal AFTER ac mains zero crossing, so at the falling edge of int0 i will delay that signal with a default FireDelay variable at 5.4788ms which will give me 140v output from the inverse parallel pair of thyristors.So when ever i need to add or sub a 1v from the 140v,on the n...
by Derrihj
Wed May 06, 2020 10:06 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Yes it should be 32MHz i must have forgot to change sorry about that Martin.Or you can even make 40MHz coz i have 10MHz too here with me.
by Derrihj
Wed May 06, 2020 1:58 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

I would like to get a 1 volt but i think a half a volt deviation or not more than one deviation can be ok i wouldn't like to be adding or subtracting a 2 or more volts on Vrms.Do you think if we canvert the ms to uS can make life easier? Just asking
by Derrihj
Wed May 06, 2020 9:26 am
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Sorry for the delay but Ac mains went off in our area at night due to some problem it has just been restored but below is the flowchat, as you add or subtract 0.030303ms from firedelay variable, should give you a 1 volt Vrms out decrease or increase respectively.So my initial value for Fire delay va...
by Derrihj
Tue May 05, 2020 5:38 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

As you think of the way to clap it off let me calculate the exact values i will be using that is the initial value of FireDelay and the then the exact 1 volt value to be added or subtracted then i will update my prog that i created send it to you and check what happens then you do your thing i trust...
by Derrihj
Tue May 05, 2020 5:09 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Yes when ever at the falling edge of Int0 siginal is delayed by FireDelay variable and if I want to add a 1 volt change on Vrms on the next falling edge, i add or subtract 0.03315ms from my variable.Am still working out the formula above for values of (a) for a more close precise value to give me ex...
by Derrihj
Tue May 05, 2020 1:41 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Thanks Martin i will be waiting as i really need this coz i will always be adding or subtracting 0.03315ms from FireDelay as i want the prog to operate in response to current and voltage.
by Derrihj
Tue May 05, 2020 1:22 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

I created a prog that calculate the values of Vrms as you Varry FireDelay if you want i can post it so that you see what happens when ever you add or subtract a 0.03315ms from FireDelay.
by Derrihj
Tue May 05, 2020 12:33 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

This is the new trick i have used but still haven't got the right timing, tried to bring in Timer0 what i want is, i will be adding 0.03315ms or subtracting 0.03315ms from Variable named FireDelay in code in order to add or subtract 1 volt from Vrms as seen from this: Vrms = 220(1/pi(pi-a+sin(2a)/2)...
by Derrihj
Mon May 04, 2020 2:09 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Hi Martin hope you are having a good day please help me on this one too; How do i get exactly my FireDelay on the display on the press of a button.Wanted to map it in the delay icon but seems like it does not take in float numbers tried the count trick but it is giving me a slightly different number...
by Derrihj
Mon May 04, 2020 1:20 am
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Ok i realized a was supposed to be a floating point number a friend of mine had brought his code for trouble shooting i found out he had used a byte instead of float for values of (a)
by Derrihj
Mon May 04, 2020 12:26 am
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Can the calculation icon be changed to make calculations in DEG or RAD or GRAD when am dealing with the likes of sin() , log() or that doesn't matter for the calculation icon in flowcode. and somewhere somehow when i say: a=(2x0.4) then i say: sin(a) i get 0.000 which is dead wrong i should be getti...
by Derrihj
Sun May 03, 2020 11:31 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Ok will first try out the manual one and see how it handles the dimming then if am impressed will have to fix it in my hardware tho looks like i have no more free pins on there for the 4th transistor.
by Derrihj
Sun May 03, 2020 10:26 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

It's like you are saying i connect all the common pins of the 3 digits go through one collector of one transistor right? If yes you realize how that will be hard for me to bring back my 7seg to normal individual auto control in the critical loops since all the digits go through one collector permane...
by Derrihj
Sun May 03, 2020 2:59 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

It does not flicker now but the half lit LEDs are so much now almost identical to the lit ones.I think we will have to try this out on my new hardware with a 32MHz osc I think it can be really cool to see the 7seg dim messages in and out softly as they fed away more so those that are not in critical...
by Derrihj
Sun May 03, 2020 1:15 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

I fixed Brightness and it still flickers.
by Derrihj
Sun May 03, 2020 1:05 pm
Forum: Flowcode V8
Topic: Dc voltmeter 0-55v
Replies: 225
Views: 157702

Re: Dc voltmeter 0-55v

Here is how i edited it for the 16F88 coz I want to dim CHA