Search found 67 matches

by kalim007
Fri Jun 28, 2013 1:47 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Hello all;
I have completed the small project. Everything is working the way I planned. If you have any questions, let me know. Here is the youtube link: http://youtu.be/4UQUBb8BuvU

Best wishes,
Khan Alim
by kalim007
Thu Jun 27, 2013 12:20 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

hello, I have written the first program that only reads value from DS1307 and display it in LCD. But when it runs, I see following information and does not change. Time 45/0/0 Date S 45/25/165 I am attaching my flowcode file here, if anyone can help me to fix the problem. Thanks in advance. Khan Alim
by kalim007
Sat Jun 22, 2013 12:07 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Hello, I like to share more information about writing data in RTC. At first one need to send RTC address+0 in expression of I2C component macro. You need one variable to return value for acknowledgement. Second you need to send '0' in order to set pointer of DS1307 register. This information is very...
by kalim007
Thu Jun 20, 2013 10:24 pm
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Hello, Before writing the final code, I want to share few information from Real Time Clock (RTC) DS1307 data sheet. After reseting the RTC, the registers are typically set to 01/01/00 01 00:00:00 which refers to MM/DD/YY DOW HH:MM:SS Time keeping registers (of RTC) are located from 00h to 06h. In 00...
by kalim007
Tue Jun 18, 2013 11:24 pm
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Jorgen,
I understand. Thank you though. I looked at few programs in that link and I wrote a small program to write time information in DS1307. This is not a whole program to write and read in Real Time Clock (RTC). I am sharing my program here to get some feedback.

Thanks in advance.
by kalim007
Tue Jun 18, 2013 7:00 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Hi Jorgen and all,
I looked at your link and found lot of information. Enamul uploaded a file for RTC, I am uploading that file here too. I was lost in RTC_INIT macro. Can anyone explain it to me? Specially, the functions of "send byte, expression" in MI2C function are very confusing to me.
by kalim007
Sat Jun 15, 2013 12:37 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Re: Interfacing DS1307

Jorgen,
Thank you! Looks like a very good link. I will come up with more questions when I face any issue.
by kalim007
Fri Jun 14, 2013 12:17 am
Forum: Flowcode V5
Topic: Interfacing DS1307
Replies: 9
Views: 7042

Interfacing DS1307

Hi, I am trying to interface real time clock (RTC, i.e. DS1307) with PIC16F877A. I want microcontroller to read the data from RTC and display it in LCD. I also want to add six input switches with microcontroller so that user can modify the data in RTC. I am adding six switches in port A. LCD will be...
by kalim007
Tue Jun 04, 2013 10:44 pm
Forum: Flowcode V5
Topic: Control Area Network (CAN) bus
Replies: 3
Views: 3193

Re: Control Area Network (CAN) bus

Thanks for your reply. It is difficult to learn by looking at only data sheet. But this forum is very helpful.
by kalim007
Mon Jun 03, 2013 8:41 pm
Forum: Flowcode V5
Topic: Control Area Network (CAN) bus
Replies: 3
Views: 3193

Control Area Network (CAN) bus

Hello, I am using PIC18F458 microcontroller. I am trying to design a small network using CAN bus. I read the microcontroller data sheet and I learned that RB3/CANRX and RB2/INT2/CANTX are two bus for data transmission. My understanding is that we need only two bus for data transmission and reception...
by kalim007
Sun May 05, 2013 12:16 am
Forum: Flowcode V5
Topic: VNet features
Replies: 8
Views: 4860

Re: VNet features

Pete,
Thank you for your response. I do not have CAN module with me. So, I have to wait until I get it. Or I will find other microcontroller where CAN module is available.
by kalim007
Thu May 02, 2013 10:51 pm
Forum: Flowcode V5
Topic: VNet features
Replies: 8
Views: 4860

Re: VNet features

Hi Pete, Thank you for your post. I understand that one can run many CAN module in one network. I am using PIC16F877A microcontroller. I looked at data sheet and could not find CAN features over there. So, should I assume that CAN is different module that I have to acquire separately for my circuit?...
by kalim007
Wed May 01, 2013 7:55 pm
Forum: Flowcode V5
Topic: VNet features
Replies: 8
Views: 4860

Re: VNet features

Hello, I have used VNET video tutorial from this website. I completed the tutorial and came up with few questions. First, when I send '0' from buffer, I see 85 in receiver side (as you seen in tutorial). When I send either '1' or '2' ;I see '9' on receiver side. I do not understand why? Second, I co...
by kalim007
Wed Apr 24, 2013 3:48 am
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Jorgen,
Thanks for your time and for your post. I actually found that in my transmitter side, microcontroller was not sending anyting in pin25 (Tx). So, I made changes there and finally solved the problem of serial data transmission. You can see the link here: http://youtu.be/S4A_3iyDJdg
by kalim007
Tue Apr 23, 2013 2:22 am
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Hello, I have made some progress on this project (i.e. serial data transfer). I have tested keypad and LCD panel. Both of them work fine. You can watch youtube link here: http://youtu.be/fEMW8hGGJdY But main program that I am trying to develop is still not working. Let me explain what I am trying to...
by kalim007
Sat Apr 20, 2013 11:53 pm
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

One more question in this area. When I used port B for keypad input. Does it have internal pull up resister? If there is an internal pull up, I do not need to add external resistor in the breadboard. I am adding a picture of keypad connection here. I have changed many times from row to column, colum...
by kalim007
Fri Apr 19, 2013 6:44 pm
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Thanks!! I understand.
by kalim007
Thu Apr 18, 2013 6:25 pm
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

I have couple of questions although I am not sure this is the right forum or not. 1. I tried to connect a keypad in port A (I am using PIC16F877A). I found last two rows could not be connected. When I connect port B, everything (all column and row) connects fine. Why? 2. In order to connect keypad (...
by kalim007
Tue Apr 16, 2013 11:56 pm
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Very good advice regarding length. I will keep this information in mind. Thank you!! :D
by kalim007
Tue Apr 16, 2013 12:36 am
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Dazz, I have seen that. Thanks again. Correct me if I am wrong, I have looked at the data sheet and found following information: 1. According to page 7 of data sheet, if I move jumper from default to Patch, I can use P1 side pins (i.e. BIT0, BIT1, BIT2, BIT3, RS and E) for connecting this LCD board ...
by kalim007
Mon Apr 15, 2013 9:18 pm
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

Re: LCD board

Thanks a lot!!

somehow I could not find it from this website. :D
by kalim007
Mon Apr 15, 2013 12:45 am
Forum: Flowcode V5
Topic: LCD board
Replies: 13
Views: 7875

LCD board

Hello, I have an E-block (i.e. LCD board, EB-005-00-3). I am building a circuit for micrcontroller in the bread board and I am trying to use it. I have attached a picture for you to see. One can see there are 16-pins outside. I think I can use these pins for connecting this LCD board in a breadboard...
by kalim007
Thu Apr 04, 2013 10:17 pm
Forum: Flowcode V5
Topic: Serial data transfer
Replies: 2
Views: 2684

Re: Serial data transfer

Thank you!!
by kalim007
Thu Apr 04, 2013 3:19 am
Forum: Flowcode V5
Topic: Serial data transfer
Replies: 2
Views: 2684

Serial data transfer

Hi, I am trying to build a microcontroller circuit where I want to read a keypad and transmit the data using serial transmission. Also I want to read this data from another board and display the data there. In this process, I have built my first program that is supposed to read keypad and send data ...
by kalim007
Mon Mar 25, 2013 2:04 am
Forum: Flowcode V5
Topic: Flowcode Training Videos
Replies: 10
Views: 34889

Re: Flowcode Training Videos

This questions probably was too complicated to answer. I actually found answer of my question. I simply have to read the datasheet of the micrcontroller first that I am going to use for serial communications. As a simple test, I am going to read a character from a keypad and I can transmit that char...