Author |
Message |
Topic: INT_RDA works only with Hardware USART? |
talhahs
Replies: 1
Views: 5056
|
Forum: General CCS C Discussion Posted: Fri Mar 25, 2011 2:53 pm Subject: INT_RDA works only with Hardware USART? |
Hi guys,
I am using PIC 16F877A. Is INT_RDA triggered only for Hardware USART or for software USART as well?
Thanks |
Topic: GPS code help, PIC 16F877A |
talhahs
Replies: 17
Views: 31445
|
Forum: General CCS C Discussion Posted: Tue Mar 08, 2011 12:26 pm Subject: GPS code help, PIC 16F877A |
Hi John,
Yeah its a remote controlled UGV and I would like to add GPS to it so that I can get its lat and long tracked...just to make it look comprehensive...I would then show it up on satellite vi ... |
Topic: GPS code help, PIC 16F877A |
talhahs
Replies: 17
Views: 31445
|
Forum: General CCS C Discussion Posted: Tue Mar 08, 2011 8:23 am Subject: GPS code help, PIC 16F877A |
Ben and John,
Kindly be informed this forum is not for your supersonic aircrafts discussion, I started this thread for my surveillance rover GPS
#define H bridge pins ... |
Topic: GPS code help, PIC 16F877A |
talhahs
Replies: 17
Views: 31445
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2011 1:48 pm Subject: GPS code help, PIC 16F877A |
Thanks guys
Well, John you are right, I would ultimately have to move to implementing interrupts. This is because I am building code for rover that moves in all directions, rotates camera using s ... |
Topic: GPS code help, PIC 16F877A |
talhahs
Replies: 17
Views: 31445
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2011 9:30 am Subject: GPS code help, PIC 16F877A |
these are the sentences GPS sends every second or so. (all at once)
$GPRMC,,V,,,,,,,061210,0.0,E,N*3C
$GPRMB,V,,,,,,,,,,,,A,N*13
$GPGGA,121505,2485801,N,06726585,E,1,08,0,9,133.4,M,46.9,M,,*42
$ ... |
Topic: GPS code help, PIC 16F877A |
talhahs
Replies: 17
Views: 31445
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2011 9:09 am Subject: GPS code help, PIC 16F877A |
Hi guys,
I have a Garmin consumer GPS that works at a baud rate of 4800 bps. There is no problem in getting the sentences when running on hyperterminal, PC<>GPS; But when i try to recive them ... |
Topic: DC motors with L293D not running.. |
talhahs
Replies: 4
Views: 6558
|
Forum: General CCS C Discussion Posted: Mon Jan 10, 2011 2:05 am Subject: DC motors with L293D not running.. |
Compiler version: PCWHD 4.104
#include <16F877A.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for ... |
Topic: DC motors with L293D not running.. |
talhahs
Replies: 4
Views: 6558
|
Forum: General CCS C Discussion Posted: Sun Jan 09, 2011 3:18 pm Subject: DC motors with L293D not running.. |
Hi all, what could make this code from not running properly??
H bridge: L293D
2 DC motors connected to each side of L293D.
It waits for corresponding character from VB app before taking the act ... |
Topic: single byte command |
talhahs
Replies: 3
Views: 4585
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2010 10:33 am Subject: single byte command |
Thanks a lot bro!
Well can you please explain how did you come up with [0x31, 0x32, 0x37] for 127 ? |
Topic: single byte command |
talhahs
Replies: 3
Views: 4585
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2010 10:12 am Subject: single byte command |
Hi all, I have to send single byte commands to sabertooth motor driver IC. Kindly tell me the difference between the two commands below:
putc(0x7F) and printf("127")
W ... |
Topic: Visual Basic 6.0 serial communication with PIC 16F877A |
talhahs
Replies: 11
Views: 16608
|
Forum: General CCS C Discussion Posted: Wed Oct 27, 2010 1:03 am Subject: Visual Basic 6.0 serial communication with PIC 16F877A |
I tried changing VB code to :
Option Explicit
Dim PinState As Integer
Private Sub cmdbackward_Click()
PinState = 48 'char 0
MSComm1.Output = Chr$(PinState)
End Sub
Pri ... |
Topic: Visual Basic 6.0 serial communication with PIC 16F877A |
talhahs
Replies: 11
Views: 16608
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2010 1:00 pm Subject: rs232 function |
this is what i have in .h file
#use rs232(baud=9600,parity=N,rcv=PIN_C7,bits=8,invert)
I am using invert to avoid MAX232 (level shifter IC).. |
Topic: Visual Basic 6.0 serial communication with PIC 16F877A |
talhahs
Replies: 11
Views: 16608
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2010 12:47 am Subject: Motor keeps running... |
This is the final code I am using but the problem is in the CCS code as it gets stuck in the loop, sometimes the motor keeps on running and doesn't stop.
Kindly help me out
The ... |
Topic: Visual Basic 6.0 serial communication with PIC 16F877A |
talhahs
Replies: 11
Views: 16608
|
Forum: General CCS C Discussion Posted: Mon Oct 18, 2010 10:16 pm Subject: Visual Basic 6.0 serial communication with PIC 16F877A |
Hi all,
I am working on the micro controller programming part of the following VB app.
' Send Out Data
MSComm1.Output = Chr$(PinNumber) & Chr$(PinState)
This is the MCU ... |
|