Search found 537 matches

by JLeith
Wed Jun 19, 2019 6:15 pm
Forum: Flowcode V6
Topic: Amp for DFplayer
Replies: 0
Views: 4523

Amp for DFplayer

Hello All I have had great fun learning about the DFplayer. My Baseball Pitch count program is running like a well oiled project. Need some help on building a Amplifier for the DFplayer to get a little more audio. At my grandson baseball game the dugout can get noise. The Audio from the DFplayer is ...
by JLeith
Wed Apr 24, 2019 6:50 pm
Forum: Flowcode V6
Topic: Compile to chip
Replies: 5
Views: 5856

Re: Compile to chip

Hi Benj

Thank you for the information.

? Has Flowcode 6 BoostC compiler been upgraded. I do notice my Team FC complies in seconds. I know it is a smaller design over my Master Flowcode.

John
by JLeith
Tue Apr 23, 2019 11:44 pm
Forum: Flowcode V6
Topic: Compile to chip
Replies: 5
Views: 5856

Compile to chip

Hi All
Can someone explain why mu program takes 10 min to Compile to the Chip

I have the "Compiler Message"
From the Set Go it took 9min 39 sec to compile to chip

I have attached the Text file with time listed
I have Attached my program

John
by JLeith
Fri Apr 05, 2019 4:51 am
Forum: Flowcode V6
Topic: LCD 16x4
Replies: 7
Views: 5624

Re: LCD 16x4

Hello electron67

I tried to find a 16x4 LCD for a reasonable price

So I purchased a 20x4 and will give that a go.

Have you worked with the 20x4 ?

I see there is 2 ways to send info.
1. Parallel
2. Serial ?

John
by JLeith
Thu Apr 04, 2019 7:10 pm
Forum: Flowcode V6
Topic: LCD 16x4
Replies: 7
Views: 5624

Re: LCD 16x4

Thank you electron67

Never thought to look in Search I was looking in the drop down "Outputs"

Off to design a 16x4 or maybe a 20x4

All the best
by JLeith
Thu Apr 04, 2019 6:56 pm
Forum: Flowcode V6
Topic: LCD 16x4
Replies: 7
Views: 5624

LCD 16x4

Hello All

Is there a way to use a 16x4 in flowcode 6 LCD

I see the 16x2 but not a 16x4

John
by JLeith
Tue Apr 02, 2019 3:22 pm
Forum: Flowcode V6
Topic: PICF1938 - Sleep
Replies: 6
Views: 4542

Re: PICF1938 - Sleep

Hello Benj Thank you; Yes I don't know why I can't get more time. I did order a 500mahr 9v battery to maybe help. For my design I have 2 ( LM2596 ) DC-DC. ( From Sparkfun ) 1. For 9V to 5V for VCC 2, 5V to 3V for the TX (NFR905) Could you use a DC2DC switch mode regulator Not sure what the DC2DC Swi...
by JLeith
Mon Apr 01, 2019 6:56 pm
Forum: Flowcode V6
Topic: PICF1938 - Sleep
Replies: 6
Views: 4542

Re: PICF1938 - Sleep

More info On my working Pitch count battery 0 9v rechargeable ( EBL Battery Model 6F22 ) I get 28.43 ma on startup and waiting for a pitch On the transmission to the receiver for 300ms takes 35ma and the back to 28ma By the math I can find 280ma at say 29ma = 280 / 29 = 9.6 hrs. Odd I get about 2 to...
by JLeith
Mon Apr 01, 2019 6:27 pm
Forum: Flowcode V6
Topic: PICF1938 - Sleep
Replies: 6
Views: 4542

Re: PICF1938 - Sleep

Did some measurements On startup "Press 5 to start game" ( 63.7 ma ) Enter values ( Division) ( 2 or 8 ) Reset the Remote displays --------> Down to 42.3 ma Press Digit 1 to advance pitch count --- ( 45.ma) About every 2 min a pitch is taken. --- (45ma) Sitting for 8 min with no input ( Would that b...
by JLeith
Mon Apr 01, 2019 6:12 pm
Forum: Flowcode V6
Topic: PICF1938 - Sleep
Replies: 6
Views: 4542

Re: PICF1938 - Sleep

Thank you Benj Do you expect I can save battery power ? I think the Press 2 to sleep and then use a timer to check if digit 5 was pressed. I have attached my Design Flowcode. oops I have a design flaw when I press 2 My program resets the LCD. No trouble with (5) Maybe I can use (5) to sleep and (5) ...
by JLeith
Mon Apr 01, 2019 5:24 pm
Forum: Flowcode V6
Topic: PICF1938 - Sleep
Replies: 6
Views: 4542

PICF1938 - Sleep

Hello All My Baseball Pitch count program is work wonderful. I would like to try to put the processor to sleep to conserve battery power PIC16F138 - 28 pin There is about 5 to 8 min between innings and if I can put the PIC and LCD to sleep I think I could save battery power. My thoughts; Press Digit...
by JLeith
Thu Mar 28, 2019 11:23 pm
Forum: Flowcode V6
Topic: Math with Variable
Replies: 7
Views: 5742

Re: Math with Variable

Hi Martin I did the HM | VM and set Variable Ran into a glitch.... Had to go back to HM and VM If I came into HM with say 25 and have a code to stop playing the MP3 if the HM says at 25 and the VM goes up. The hitch came wen HM was at 25 and the VM reached 25 the MP3 file would play due to stop code...
by JLeith
Fri Mar 22, 2019 10:23 pm
Forum: Flowcode V6
Topic: Math with Variable
Replies: 7
Views: 5742

Re: Math with Variable

Excellent info Martin

So the HM | VM is a "OR" statement

Off to give it a go

John
by JLeith
Fri Mar 22, 2019 4:21 pm
Forum: Flowcode V6
Topic: Math with Variable
Replies: 7
Views: 5742

Re: Math with Variable

Thank you Martin

I have my program working with the 2 routes I was thinking if there was a ( "OR" ) logic in flowcode
Making it use either of the Variables for 1 route.

All the best
John
by JLeith
Thu Mar 21, 2019 11:01 pm
Forum: Flowcode V6
Topic: Math with Variable
Replies: 7
Views: 5742

Math with Variable

Hello All Getting stumped on the symbol for being able to have two variables take the same decision route I have a Variable called ( HM ) and another called ( VM ) and I can't figure how to have them both take the route. I could have HM at 25 and then get VM at 25 a little later and the message is t...
by JLeith
Wed Mar 20, 2019 11:47 pm
Forum: Flowcode V6
Topic: Error Code 34
Replies: 4
Views: 4310

Re: Error Code 34

Thank you Martin

I must of been pasting to may times and missed the 0 to 0

John
by JLeith
Wed Mar 20, 2019 7:23 pm
Forum: Flowcode V6
Topic: Error Code 34
Replies: 4
Views: 4310

Re: Error Code 34

Hello Benj It has been some time since we communicated. Thank you Unplugging PICKIT2 and restarting the laptop solved the issue. Benj on a side note can you help with my other program getting a "Optimized out message" The program loads. optimized out.png Here is the Compiler Message and the program ...
by JLeith
Wed Mar 20, 2019 5:07 pm
Forum: Flowcode V6
Topic: Error Code 34
Replies: 4
Views: 4310

Error Code 34

Hi all
Puzzle I loaded my Pic16F1938 and then made a value change and now I get the Error 34

Checked my connections and restarted the program.

I have added my Compiler Messages and the Flowcode.

Not sure where to go to solve. It was only 3 min from the first load to the second ?

John
by JLeith
Fri Mar 15, 2019 5:01 pm
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hello Martin

Your program counts perfect
Happy.jpg
Happy.jpg (5.59 KiB) Viewed 7914 times
I going to study and see how to ask for a single mp3.

John
by JLeith
Fri Mar 15, 2019 4:50 pm
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hi Martin For the check sum I found a link on Google for DFplayer for Arduino an they had the steps but not a clean explanation on how to get the High and low settings. I downloaded your program and will give it a go. It was a proud moment when I daughter received her badge with tears of happiness O...
by JLeith
Fri Mar 15, 2019 12:58 am
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hello Martin With hours searching on Google I found a link that got it going. Looks like my CheckSum was wrong. This Hex made it work ( 7E,FF,06,03,00,00,01,FE,F7,EF ) it plays digit 1 over and over This Hex also works ( 7E,FF,06,01,00,00,00,FE,FA,EF ) It goes from 1 - 12 count and then back to 1-12...
by JLeith
Thu Mar 14, 2019 8:19 pm
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hi All
Update info

This is a Screen shot for my DFplayer

It won't play via the RX / TX interface.

I have tried various Commands and I can't get it to respond.

Not 100% sure on the trace.

Even placed a delay of 1ms between sending value.....no change

Will keep on trying.....Google....>>>>
by JLeith
Thu Mar 14, 2019 2:49 am
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hello Martin Well I have tried and have a grasp on the flow but can't get the DFplayer to play. This is what I have put together. 1. Figure out the values StartByte = 0x7E //START Command Length = 0x05 // Data Length Commands = 0x0B //Normal Working VersionInfo = 0xFF // Version Number CommandFeedba...
by JLeith
Wed Mar 13, 2019 7:01 pm
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hi Martin
Just got back form Regina (-25). Our Daughter graduated and now is a Constable ( Police Officer ) after training for 6 months.

I will study you information. I had the C3 as timer just not 100% how to set up the Flash test.

Off to work on the project.

Back soon

John
by JLeith
Fri Mar 08, 2019 3:45 am
Forum: Flowcode V6
Topic: DFPlayer Bug
Replies: 12
Views: 8199

Re: DFPlayer Bug

Hi Martin - I have been away and now leaving to Regina for my Daughters Graduation from RCMP Police Training. I had to purchase a new power supply and I got it working but can't get the PIC to activate. I did the IO_2 via RC3 and it works. I do see something on my digital scope being sent to the DFp...