Search found 537 matches

by JLeith
Fri Mar 17, 2023 11:27 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Hello Viktor and Chipfryer27

This is a treat getting help in making the project work.

I have a flip PIC drawing
Mega Design.jpg
Mega Design.jpg (65.66 KiB) Viewed 189904 times
I use the LCD 8 pin have not SSD 2pin

I will work out the design. I ordered the Solenoid from China so it will be hopefully by end of April.

John
by JLeith
Fri Mar 17, 2023 10:19 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Hi Viktor

Excellent design.
Question
1. On the PNP won't the relay be on for say 5ms sending a Logic 1 to BO ?
2. How to detect when B0 is high when sending info to the LCD or ( SSD1306 )

will play on the bread board and see how it works.

Thank you
John
by JLeith
Fri Mar 17, 2023 2:09 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Hello Kersing Just wondering, why not connect the P1 signal to B1 and skip the additional components? Or connect an infrared detector/sensitive photodiode to the PIC to detect the coin? The Circuit boards for the Photo diode and the P1 were from a earlier projects for a Pinball Machine I worked on. ...
by JLeith
Fri Mar 17, 2023 1:07 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Hi Viktor Can you please give a bit more information. I hope This picture will help Token to PIC.jpg I can change the Port On Item (D) to RB0 to help with trigger. The Item D is the input that Is Logic 0 input The input B0 is like a Push Button Example The solenoid is mounted in the back of the Pach...
by JLeith
Wed Mar 15, 2023 12:27 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

I have really appreciated the Flowcode 40 version 8. Question A) Does your relay has NO and NC contacts? - The relay is NO until the P1 Input goes low from the coin detector. B) Looks like you have the Pachinko machine. - Yes C) Can I ask you what model is it? Its a 1977 - Sanko D) Do you try to rep...
by JLeith
Tue Mar 14, 2023 6:35 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Excellent design Viktor_au I noticed you used the DashBoard Panel. Not sure why but when I press the Button or the switch the B1 does not trigger? Did it work on your Flowcode ? The action hoping for is During the LCD listing information and B1 is going from Logic 1 to Logic 0 the Macro "Coin Detect...
by JLeith
Tue Mar 14, 2023 6:22 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Token route.png Hello Viktor_au When a Token is put in the coin shut it falls out the bottom by to Infrared detectors that send a pulse to a PNP transistor and a 5v relay sends a Grd (Logic 0) to the PIC16F1937 In the PIC16F1937 I list procedure for game players to put in a token and I was trying t...
by JLeith
Tue Mar 14, 2023 2:03 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Hi Chipfryer27

Here is a quick drawing of the process.

The red section is the Mystery.

Token.jpg
Token.jpg (52.86 KiB) Viewed 190018 times
by JLeith
Tue Mar 14, 2023 1:41 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Thank you Chipfryer27 The summary is the Port B1 incoming signal is Logic 0 . Step 1. With B1 is High Logic 1 (From a 10K resistor to VCC) Step 2 Display text on the LCD Step 3 ----- Trying to trigger B1 Step 4 -- Trigger on B1 from Logic 1 to Logic 0. Step 5 - When B1 goes Low I would then run code...
by JLeith
Mon Mar 13, 2023 1:57 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Re: Pushbutton Trigger

Thank you
I might have tried all settings and made a mess.

RB1 is the incoming signal for the Coin activation and the Servo is connected to B0.

John
by JLeith
Sun Mar 12, 2023 6:59 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190071

Pushbutton Trigger

Hello all. Its been about 2yrs since I have been working in PIC world. I have a simple project that I need help in seeing what I'm missing to press a button and trigger a action. I tried to determine what is happening by putting a slide switch but no control happened ? What I would like to see is pr...
by JLeith
Fri Jun 26, 2020 7:23 pm
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 7820

Re: OLED Design

Hi All I have the Oled wired in with 1K resistors from the PIC to the OLED. Noticed on some Google searches suggested because the PIC ports are Logic 1 at 5V. The OLED lights up. In flowcode The OLED should display "OLED Design" When all is working the OLED design should be working like the LCD did ...
by JLeith
Thu Jun 25, 2020 11:59 pm
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 7820

Re: OLED Design

Hello Martin

Yes long hours and not counting past 5.

Here is the new and improved 1sec timer.

Now I just have to work on the OLED.

Would there be a issue where in Flowcode the OLED is SSD1351 and on the Hardware I have a Driver ST7735 OLED.

The ST7735 has the same pin layout.

John
by JLeith
Wed Jun 24, 2020 8:19 pm
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 7820

Re: OLED Design

Forgot the Flowcode
by JLeith
Wed Jun 24, 2020 8:16 pm
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 7820

Re: OLED Design

Hi Martin Got the 1sec timer set. Looks like it is running at 100ms Here is the picture Odd this Flowcode was running with a LCD and I thought I could replace the LCD display to OLED display. Reading up on the PIC16 it reference is 32mhz speed for inter oscillator . Thoughts ? John -----------------...
by JLeith
Tue Jun 23, 2020 10:11 pm
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 7820

OLED Design

Hello All I had a opportunity to get a could of OLED displays. I added to my exiting LCD design with removal of the LCD calls. I went with the SPI layout because the 12C used to much memory. I was able to work out the Flowcode 6 Design but I can't get the OLED to display anything. I was using the GL...
by JLeith
Sun Sep 22, 2019 6:23 pm
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 8
Views: 8759

Re: PIC18F26K80 not working in the real world

Thank you all it is now working as you suggested

John
by JLeith
Sun Sep 22, 2019 6:21 pm
Forum: Flowcode V6
Topic: pIC18F26K80 mystery
Replies: 3
Views: 4895

Re: pIC18F26K80 mystery

Thank you all for your time with this mystery.
Project Completed.png
(13.75 KiB) Downloaded 1300 times
by JLeith
Fri Aug 30, 2019 5:46 pm
Forum: Flowcode V6
Topic: pIC18F26K80 mystery
Replies: 3
Views: 4895

Re: pIC18F26K80 mystery

Hello Benj Thank you for helping me figure how to make the PIC18F26K80 work. I looked and almost every possible PIC 16 & 18 that would work in Flowcode and The PIC18F26K80 has the most Ram and my design has reached such a need. I think the answer is the PIC18 is lacking the I/O ports that work with ...
by JLeith
Sat Aug 24, 2019 3:01 am
Forum: Flowcode V6
Topic: pIC18F26K80 mystery
Replies: 3
Views: 4895

pIC18F26K80 mystery

Hello Have a odd experiment with my PIC18F26K80 ? I'm having trouble with RC5 ? I'm using C5 as a Output for my MOSI connection to a NFR905 and I can't get it to work. I'm sending C5 a Logic 1 (on) and then 5 sec send Logic 0. I have a LED on my bread board and C5 will not trigger. Now from the docu...
by JLeith
Thu Aug 15, 2019 5:26 pm
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 8
Views: 8759

Re: PIC18F26K80 not working in the real world

Thank you Martin
I set the values as you indicted and I have 1 second LED pulse

Off to see if my PIC will run my code.

Back soon.

John
by JLeith
Wed Aug 14, 2019 5:06 pm
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 8
Views: 8759

Re: PIC18F26K80 not working in the real world

Hi Martin My apologias on not following the 1 sec timer. I had the thought it stayed in the program all the time. I think I have a glitch in my design. The led is on for 6 seconds. I have attached my Flowcode. I have the text for the Osccon but it is for the PI16F66K80. Can't find the 26K80. I use t...
by JLeith
Sat Aug 10, 2019 4:31 am
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 8
Views: 8759

Re: PIC18F26K80 not working in the real world

Thank you Benj

I have attached my Flowcode and I will check out the settings.

Thank you for your time

John
by JLeith
Fri Aug 09, 2019 5:00 pm
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 8
Views: 8759

PIC18F26K80 not working in the real world

I have been Trying and trying to get the PIC18F26K0 to work with NFR905 with LCD Yes I can program but it will not receive from the Master TX. I think it is related to the PIC18 overall purpose. I have included a Pin Allocation design. The PIC18 loads and I see the 'Main Page" and then the program j...
by JLeith
Thu Aug 01, 2019 10:20 pm
Forum: Flowcode V6
Topic: New to PicKit 3
Replies: 19
Views: 13580

Re: New to PicKit 3

Thank you all for your support in making it happen
Hooray.png
(17.45 KiB) Downloaded 3587 times
With setting FC default OFF I was able to generate a Hex file.

Then I used MPLAB and it loaded my design. My Design needs a little work but I have a plan.

All the best to all.

John