Search found 258 matches

by internetuser2k11
03 Aug 2013 08:16
Forum: User Projects
Topic: 24 SHOT CLOCK
Replies: 2
Views: 2457

Re: 24 SHOT CLOCK

a0shi21 wrote:can anyone post their codes on how they make a 24 shot clock using mikroC with any possible PIC to be used, please use 2-display 7 segment. thanks

What do you mean by 24 shot clock? Do you mean Clock which displays 24 hour format?
by internetuser2k11
13 Apr 2013 06:24
Forum: mikroC PRO for 8051 General
Topic: interfacing DS1307 RTC to 89s8253 microcontroller
Replies: 1
Views: 2878

Re: interfacing DS1307 RTC to 89s8253 microcontroller

AT89S8253 supports SPI and not I2C. DS1307 is a I2C Chip. You have to use MCU which has I2C or use Software I2C.
by internetuser2k11
12 Apr 2013 15:38
Forum: User Projects
Topic: USART Terminal not working
Replies: 10
Views: 6079

Re: USART Terminal not working

Yes. It had worked when I was using mikroC PRO PIC 5.6.0 but now my version is 6.0.1.
by internetuser2k11
12 Apr 2013 10:41
Forum: User Projects
Topic: USART Terminal not working
Replies: 10
Views: 6079

Re: USART Terminal not working

Hi, I'm using the compiler's Terminal for many years and I haven't heard of such issue. Does the same thing happens with your hardware and Proteus ? Could you try the default UART example given in the compiler ? Regards, Filip. Yes. Sending data from mE USART Terminal to Hardware and Proteus is not...
by internetuser2k11
05 Apr 2013 13:35
Forum: User Projects
Topic: USART Terminal not working
Replies: 10
Views: 6079

USART Terminal not working

I am using mikroC PRO PIC 6.0.0 and my Project is send/receive using USART. I tried sending/receiving data using USART terminal to my hardware mcu board and also Proteus Simulation but only receiving is working and USART terminal doesn't send data. If I use RealTerm to send/receive data then both se...
by internetuser2k11
30 Mar 2013 09:59
Forum: User Projects
Topic: How used USB with 18F4550
Replies: 5
Views: 2599

Re: How used USB with 18F4550

See this project which I have done. This might help you. http://www.edaboard.com/thread271146.html
by internetuser2k11
28 Mar 2013 19:24
Forum: User Projects
Topic: Interrupt for ADC_read on Mikrobasic
Replies: 3
Views: 1602

Re: Interrupt for ADC_read on Mikrobasic

Your method is right but you have to store the values of each ADC_Read() in a different variable as you need all the values for your calculation.
by internetuser2k11
24 Mar 2013 05:44
Forum: User Projects
Topic: Why this code is not working?
Replies: 0
Views: 978

Why this code is not working?

I am trying this code http://www.mikroe.com/forum/viewtopic.php?f=13&t=8106 but it is not working. I have used the same PICs. My code Master // Lcd pinout settings sbit LCD_RS at RB0_bit; sbit LCD_EN at RB1_bit; sbit LCD_D4 at RB2_bit; sbit LCD_D5 at RB3_bit; sbit LCD_D6 at RB4_bit; sbit LCD_D7 at R...
by internetuser2k11
09 Mar 2013 21:24
Forum: User Projects
Topic: Linearity compensation with micro controller pic 16F877a
Replies: 3
Views: 2037

Re: Linearity compensation with micro controller pic 16F877a

Hello guys .. am using an NTC thermistor as temperature sensor which is a varies non linearly with temperature. i need to make the thermistor linear by using the PIC 16F877a. Note that thermistor is already placed in a bridge and the output of the bridge varied non linearly with temperature. It has...
by internetuser2k11
07 Mar 2013 20:18
Forum: User Projects
Topic: problem with rs232
Replies: 2
Views: 1465

Re: problem with rs232

Where is the code to turn ON LED? Try below code. If you send character T the LED will toggle. If mE USART app doesn't work then try sending data using Ptoteus Virtual Terminal. In mE USART Terminal use the Send Ascii button. if(uart1_data_ready()==1){ k=uart1_read(); uart1_write(k); if(k == 'T') po...
by internetuser2k11
13 Feb 2013 11:01
Forum: User Projects
Topic: if statement problem
Replies: 4
Views: 1707

Re: if statement problem

thx a lot ..... it worked after I added ADCON1 = 0X04; Iam using 16f877A .... so the pins at port a are analog by defult but when I type ADCON1 I configure it as digital ?? thx 4 replying :D I think you also have to configure CMCON register by disabling Comparators on PORTA. I think 0x07 or 0b00000...
by internetuser2k11
13 Feb 2013 10:56
Forum: User Projects
Topic: ADC values problem
Replies: 2
Views: 1313

Re: ADC values problem

You have to use ADC for that. Lets consider you want to measure 0v to 20v. You have to scaledown 0-20v to 0-5v range and input to ADC pin like RA0 in PIC MCU. Then you read the adc value using ADC_Read(0) function and assign the return value to some int or float valriable like adc_val. If your ADC i...
by internetuser2k11
12 Feb 2013 14:42
Forum: User Projects
Topic: USB HID Problem
Replies: 4
Views: 1816

Re: USB HID Problem

Hello, I am afraid that this code will not do what you intend to. Since HID_Read will read only 64 bytes you will need to call it 4 times in order to read 256 bytes in total. Try to modify your code a little bit, and please notice that read_buff is only 64 bytes long. Best regards. I thought the sa...
by internetuser2k11
12 Feb 2013 07:27
Forum: User Projects
Topic: if statement problem
Replies: 4
Views: 1707

Re: if statement problem

I think PORTA has ADC functions and so it is by default configured as analog input. You have to set ADCON1 register to make the PORTA pins digital. If that is done your code will work fine.
by internetuser2k11
12 Feb 2013 06:01
Forum: User Projects
Topic: USB HID Problem
Replies: 4
Views: 1816

Re: USB HID Problem

Hi Janko Below is my code. array[] is a 256 byte array. PC sends 256 bytes. HID_Read() reads 64 bytes at a time. if(read_buff[5]) is used just to confirm that there is some data in the buffer (just for testing purpose) and ofcourse it can result be 0 and the condition can fail. I need to fill the ar...

Go to advanced search