Author |
Message |
Topic: Software Uart and External Interrupt issue |
david90
Replies: 2
Views: 4721
|
Forum: General CCS C Discussion Posted: Sun Feb 20, 2011 4:48 pm Subject: Software Uart and External Interrupt issue |
//tested code with dev board.
#include <12F683.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC //Internal RC Osc
#FUSES NOCPD ... |
Topic: designing with LCD 16x2 and switch for user interface |
david90
Replies: 5
Views: 5962
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2009 1:48 am Subject: designing with LCD 16x2 and switch for user interface |
Is there an existing example of a menu system code then? |
Topic: designing with LCD 16x2 and switch for user interface |
david90
Replies: 5
Views: 5962
|
Forum: General CCS C Discussion Posted: Sat Jan 24, 2009 10:18 pm Subject: designing with LCD 16x2 and switch for user interface |
Any comments on my code architecture? |
Topic: designing with LCD 16x2 and switch for user interface |
david90
Replies: 5
Views: 5962
|
Forum: General CCS C Discussion Posted: Sat Jan 24, 2009 1:17 am Subject: designing with LCD 16x2 and switch for user interface |
I need to know if my method of using an LCD for user interface is good. Is there a better way to program this? So far the code works and I could change the duty cycle but I also want to be able to ... |
Topic: designing with LCD 16x2 and switch for user interface |
david90
Replies: 5
Views: 5962
|
Forum: General CCS C Discussion Posted: Thu Jan 22, 2009 2:50 pm Subject: designing with LCD 16x2 and switch for user interface |
I'm designing a circuit with three functions and I'm using a 16x2 LCD with some switches so that I can select one of the three function. The LCD would display the selected function and it's setting. ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Thu Jan 08, 2009 12:25 pm Subject: capturing serial data |
...The keyless entry receiver module processes the rolling code algorithm and what comes out of it are just commands. That's why the serial data is the same everytime I press keyfob....
OK, you must ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Mon Jan 05, 2009 1:35 pm Subject: capturing serial data |
As far as I know, many older rolling code algorithms have been decoded, they are known at least by car burglars. An about 40 bit code actually can't provide strong cryptography.
Just because the bloc ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2009 3:02 am Subject: capturing serial data |
The rolling code function is performed in the keyless entry receiver module. If I press a button on my key fob and everything is valid, I would get the serial data posted above. If not, then nothing ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Fri Jan 02, 2009 6:02 pm Subject: capturing serial data |
To be more clear, I have attached the scope capture of the actual frames that I would to detect.
here is one
http://www.tennis4real.com/Image1.gif
here is the other
http://www.tennis4real.com/ ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Wed Dec 31, 2008 1:00 pm Subject: capturing serial data |
The only information that I have is the bit rate which I see on the scope. The serial data idles at 12V but I will have a conversion circuit to bring it down to 5V.
Other than that I know nothing ... |
Topic: capturing serial data |
david90
Replies: 15
Views: 15122
|
Forum: General CCS C Discussion Posted: Wed Dec 31, 2008 3:10 am Subject: capturing serial data |
I have a device that outputs serial data and I need to use a pic to capture the serial data. The serial data length is 44 bit/frame. I need to capture the frame so that I can use it later to detect ... |
Topic: weird problem with simple LED output |
david90
Replies: 11
Views: 15405
|
Forum: General CCS C Discussion Posted: Fri Nov 28, 2008 9:52 pm Subject: weird problem with simple LED output |
Without the LED, the oscillation is from 0V to 5V. Why? The pin output driver has some output impedance. Think of this as the internal resistance of a battery. When you draw a large current from the p ... |
Topic: weird problem with simple LED output |
david90
Replies: 11
Views: 15405
|
Forum: General CCS C Discussion Posted: Fri Nov 28, 2008 7:33 pm Subject: weird problem with simple LED output |
Referring to the original problem, that is unrelated to the other points mentioned by PCM prorammer:
You should try input_state(PIN_C1) instead of input(PIN_C1) and also may want to consult the ma ... |
Topic: weird problem with simple LED output |
david90
Replies: 11
Views: 15405
|
Forum: General CCS C Discussion Posted: Thu Nov 27, 2008 12:36 pm Subject: weird problem with simple LED output |
just an update. PIN C1 work like I expected if I change my code to this
#include <16F676.H>
#DEVICE ADC=8
#fuses INTRC_IO, NOWDT, NOPROTECT, NOBROWNOUT
#use delay(clock = 4000000)
setup_os ... |
Topic: weird problem with simple LED output |
david90
Replies: 11
Views: 15405
|
Forum: General CCS C Discussion Posted: Thu Nov 27, 2008 12:17 pm Subject: weird problem with simple LED output |
I'm running this code
#include <16F676.H>
#DEVICE ADC=8
#fuses INTRC_IO, NOWDT, NOPROTECT, NOBROWNOUT
#use delay(clock = 4000000)
setup_oscillator(OSC_4MHZ);
//#use rs232& ... |
|