Hi, I want to learn flowcode, and I want to make a clock with VFD display controlled by PT6315 and pic16lf1824 with RTC DS3231.
Any help is welcome.
For a start, a functional example of a DS3231 watch would help me.
Thank you!
pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
Hi.
In FC9 I created a display that shows time, & date on an LCD.
You can easily adapt it for a VFD.
The post is here.
In FC9 I created a display that shows time, & date on an LCD.
You can easily adapt it for a VFD.
The post is here.
Martin
Re: pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
Do you have an example for fc8?
Thank you for help.
Thank you for help.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
I have made some modifications for you.
Unfortutunaly there is a bug that has stopes the RTC from updating with PC time.
That has now been fixed and should be pushed out tomorrow.
Unfortutunaly there is a bug that has stopes the RTC from updating with PC time.
That has now been fixed and should be pushed out tomorrow.
- Attachments
-
- RTC Example v1.fcfx
- (44.8 KiB) Downloaded 117 times
Martin
Re: pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
Can you add 3 buttons so i can set the date and time? Thanks.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: pic16lf1824 Clock with DS3231 and VFD display ( PT6315 )
Hi the RTC simulation fix was pushed yesterday.
You will need to use Help, Check for updates, then reload flowchart after update has been completed.
The flowchart I posted was just a guide on how the time and date can be formatted to look correct.
The flowchart also calculates the day of the week as within the RTC it's only a number that is set, then automatically incremented.
The RTC has functions that allow you to set the time and date.
I would suggest that first, you create a one-second flasher to check the microcontroller is running at the correct speed.
You could then learn how to use Fowcode from Introduction to microcontroller programming course within The learning section.
You don't require the hardware as you can use the Flwocde simulator.
It has been updated for Flowcode v9, but you should be able to complete the course using Flowocde v8.
Alternatively, there is the Flowcode - Getting Started Guide from the same learning link.
once you learn how the switches work, you will then be able to create your own flowchart having only the functions you require.
You will need to use Help, Check for updates, then reload flowchart after update has been completed.
The flowchart I posted was just a guide on how the time and date can be formatted to look correct.
The flowchart also calculates the day of the week as within the RTC it's only a number that is set, then automatically incremented.
The RTC has functions that allow you to set the time and date.
I would suggest that first, you create a one-second flasher to check the microcontroller is running at the correct speed.
You could then learn how to use Fowcode from Introduction to microcontroller programming course within The learning section.
You don't require the hardware as you can use the Flwocde simulator.
It has been updated for Flowcode v9, but you should be able to complete the course using Flowocde v8.
Alternatively, there is the Flowcode - Getting Started Guide from the same learning link.
once you learn how the switches work, you will then be able to create your own flowchart having only the functions you require.
Martin