Search found 514 matches

by Jordy101091
Wed Nov 27, 2013 9:06 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

I have updated the component to version V1.6 it now includes a property that return the Day of week as a string type. the return format can be chosen as follow: Number: returns a string representing the number that corresponds to the day of week so for 1 = sunday 2 = Monday and so on. First three Ch...
by Jordy101091
Wed Nov 27, 2013 8:55 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

I know why this is happening when you power down you PIC. and the DS1307 is still running on battery power. When you reconnect the power to the PIC the DS1307 is re-initialized and the date and time are reprogramed with the initial value you first programed. I don't know if this is fault of the comp...
by Jordy101091
Wed Nov 27, 2013 8:46 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi acestu,

do you still have trouble get the module from sparkfun to work properly?
by Jordy101091
Wed Nov 27, 2013 7:23 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi guys, What am I doing wrong here :? , I have just received 2 x new RTC modules, so I wired one up and programmed the chip, but when I power on The time says 45:85 and the date is 45/25/165 I have it wired up like so: VCC TO +5 VOLTS GND TO -5VOLTS SCK TO PIN 18 OF CHIP I/O TO PIN 23 OF THE CHIP ...
by Jordy101091
Tue Nov 26, 2013 10:52 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Yes this would be possible, At this moment Im busy with a T6963C display component, this is new for me but with the help of Jonny It will be doable. as for the return value, I can make a new property in the component panel where you can select the fallowing: - Number - First Three Chars - Whole Word...
by Jordy101091
Mon Nov 25, 2013 10:15 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi Jordy, I was just wondering if you could tell me what the day of week macro is for, it is not for setting the day as that is in the set date macro, my thoughts were that it returned the day of week number so that you can use it for displaying the day, I have tried putting the return value into a...
by Jordy101091
Sun Nov 24, 2013 1:08 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi John, This can be made, the only problem is that you're going to get 10 extra macro for every timer that you want to use. I don't now if that is such a good Idea, Maybe if more people think that your suggestion should be implemented I will do so, but for now I don't think, for the component that ...
by Jordy101091
Sun Nov 24, 2013 12:22 am
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Ok thanks Johnny I will look in to this.
by Jordy101091
Thu Nov 21, 2013 9:15 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

DS1307 Component has been updated to version V1.5 In this version the Auto Day Of week calculation has been removed because this the algorithm used was to complex and eats up allot of program memory. especially for small uC this is a huge disadvantage. I have added the ability to read time in 12Hr a...
by Jordy101091
Wed Nov 20, 2013 8:21 am
Forum: Flowcode V6
Topic: Help Need with bits and Bytes
Replies: 5
Views: 4136

Re: Help Need with bits and Bytes

For my 2 pence worth. How I check is a bit is set or clear: (Variable & (1 << bit)) <> 0 // to Check if bit of variable is set or (Variable & (1 << bit)) = 0 // to Check if bit of variable is Clear So if you want to see if bit 2 is Clear: If (Variable & (1 << 2)) = 0 then it's clear If you want to ...
by Jordy101091
Tue Nov 19, 2013 9:10 pm
Forum: Flowcode V6
Topic: Help Need with bits and Bytes
Replies: 5
Views: 4136

Help Need with bits and Bytes

HI all, I need some help with checking if a bit is set or not. I receive a byte like this 0b01100001 What I need to know is if a particular bit is set, for example I want to know if bit5 of the received Byte is set How do I approach this problem. I hope I have explained my self enough. regards Jordy
by Jordy101091
Sun Nov 17, 2013 7:51 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi Jordy. That error may be because the pins are not connected. The properties behave like pre-processor when converted to C. This means if you have a property called 'connection' and it is assigned to pin A 5 then what Flowcode does is take the line: connection = 1 And replace it with: $PORTA.5 = ...
by Jordy101091
Sun Nov 17, 2013 7:46 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi Jordy, Now you have released your newest version, I have modified my chart to suit, could you have a look and see if you think it is right please... Heating-TimeclockV2.fcfx cheers Acestu EDIT Also I did notice this: I forgot to change the date in write date ie yesterdays date, and I received th...
by Jordy101091
Sun Nov 17, 2013 7:02 pm
Forum: Flowcode V6
Topic: Is a port high ?
Replies: 1
Views: 1753

Re: Is a port high ?

I think you need to add a dot in your line, like this:

$PORTD.1 = 1
by Jordy101091
Sun Nov 17, 2013 5:33 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

I have yet released another update of the DS1307 component.

This update includes automatic calculation of the DOW (Day Of week) this value is valid up to 2199.
Also the strange behaviour is fixed whit the timer outputs so now you can use them.

It can be downloaded from the start post
by Jordy101091
Sun Nov 17, 2013 2:38 pm
Forum: Flowcode V6
Topic: Print String / Text + Variable ?
Replies: 4
Views: 3978

Re: Print String / Text + Variable ?

It depends on what type of content "CurrentTime" Holds. For example if current time is also a string variable then you can use the method described by Jonny. If your CurrentTime Variable contains number or anything but a string type, then you must convert this to a string and then use the method des...
by Jordy101091
Sun Nov 17, 2013 1:45 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Jonny, This is the error message when im trying to compile my component Flowcode: Target folder: \\NASHJJAKL\Jordy Kleian\D6ULV5~V\FKZ0BJ~O\FHCR4V~2\TVVGTI~B\DS1307 Source name: \\NASHJJAKL\Jordy Kleian\Documenten\Flowcode Projects\Flowcode v6 Componenten\Time Keeping\DS1307\DS1307.fcfx Title: Descr...
by Jordy101091
Sun Nov 17, 2013 1:39 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Acestu,

I think that you have correctly build your Flowcode and it should work on your hardware.
In simulation in will not work until the injector component also processes the day of week.

if you have any question, then let me know.

regards Jordy
by Jordy101091
Sun Nov 17, 2013 10:41 am
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Evening Jordy. when I assign a true ore false statement to the corresponding output pin I get a some strange error message from Flowcode when I want to test it so you cannot use the output pins at this moment. What is the error you are getting? Perhaps if I can replicate that here then I can help? ...
by Jordy101091
Sun Nov 17, 2013 10:36 am
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

acestu wrote:Hi Jordy,

I put this chart togethor last night, could you have a look at it please and see if I have done it correctly ......
Heating-Timeclock.fcfx
Thanks
Acestu
When I get home in will check your flowcode program

Regards jordy
by Jordy101091
Sat Nov 16, 2013 8:51 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

No you haven't done anything wrong the problem is, when I assign a true ore false statement to the corresponding output pin I get a some strange error message from Flowcode when I want to test it so you cannot use the output pins at this moment. However you can still use the return value of the Time...
by Jordy101091
Sat Nov 16, 2013 7:01 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Hi Jordy, I have just had another look at the component, I am only giving you some input, all commercially available time clocks usually have: 4 x on - off timed periods They can be either 24hr which means that the on - off times will work every single day at the same time 7 day which means that yo...
by Jordy101091
Sat Nov 16, 2013 5:58 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Thanks for the tip,

I have managed to get this to work, so now you don't have to now what day of the week it is. It calculates this for you.

Anyway thanks for the tip.
I hope I can release an update tonight ore tomorrow.

Regards jordy
by Jordy101091
Fri Nov 15, 2013 10:36 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Oke I get your point.
I will have look tomorrow and update this component so the timer clock is more convenient to use.

Im now working on the part that calculates the day of week, where I use the gregorian algorithm to do this.
Hope it works in one go.

Will let you know tomorrow.

Regards Jordy
by Jordy101091
Fri Nov 15, 2013 8:32 pm
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 320771

Re: DS1307 - RTC Time Keeper

Oke,

Here is the help file that I promised to make.