Author |
Message |
Topic: Accessing Serial Port using VB |
jbmiller
Replies: 2
Views: 4346
|
Forum: General CCS C Discussion Posted: Thu Sep 02, 2010 3:46 pm Subject: Accessing Serial Port using VB |
Not clear about the relay you're talking about. I've used QuickBasic for years with 2 comports, using interrrupts and it works very, very well.
Never gave VB a thought, went to Delphi as it produces ... |
Topic: About output_bit() & output_x() discussion |
jbmiller
Replies: 6
Views: 8664
|
Forum: General CCS C Discussion Posted: Wed Sep 01, 2010 7:30 pm Subject: About output_bit() & output_x() discussion |
I/O pins can have multiple uses, so you have to disable those peripherals that are not being used.
Check with the datasheet to which are applicable for the PIC you're using and disable are required. |
Topic: keypad routine for automatic fan controller |
jbmiller
Replies: 13
Views: 12654
|
Forum: General CCS C Discussion Posted: Wed Sep 01, 2010 5:14 am Subject: keypad routine for automatic fan controller |
Since you already have the other parts of the program running you're almost done!.
Create a new program to test the fan controller only. Depending on the fan you have create a PWM program that acce ... |
Topic: UART for non standard baud rate |
jbmiller
Replies: 10
Views: 12245
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 5:09 am Subject: UART for non standard baud rate |
Sure can ! Work 'backwards',do the math to find a crystal and dividers to get what YOU need.
I've done it for years as an 'antihacker' ploy. real hard to lock onto serial data at 8003 baud !
Just r ... |
Topic: Interfacing Mechanical Rotary encoder to the pic |
jbmiller
Replies: 16
Views: 35492
|
Forum: General CCS C Discussion Posted: Tue Aug 17, 2010 5:15 am Subject: Interfacing Mechanical Rotary encoder to the pic |
I've used a lot of the US Digital products in the past for precise servos.Their shaft encoder design is far superior to that of HP. I've used the quadrature encoder/counter chips to 'offload' the PICs ... |
Topic: Can PIC16F690 Data EEPROM be read directly from VB6? |
jbmiller
Replies: 11
Views: 12300
|
Forum: General CCS C Discussion Posted: Mon Aug 16, 2010 3:06 pm Subject: Can PIC16F690 Data EEPROM be read directly from VB6? |
If your PC has a real RS-232 comport, you can directly access the control lines to read the chip. There was an AP note about controlling and A2D chip this way, using QuickBasic several years ago.
I d ... |
Topic: zero crossing detector 2VAC |
jbmiller
Replies: 25
Views: 24300
|
Forum: General CCS C Discussion Posted: Thu Aug 12, 2010 8:14 pm Subject: zero crossing detector 2VAC |
Didn't Microchip have a PIC burnt for this purpose several years ago called the MTE1122 (energy management control system) ?
I recall an app note...maybe an599,600....something like that, been awh ... |
Topic: zero crossing detector 2VAC |
jbmiller
Replies: 25
Views: 24300
|
Forum: General CCS C Discussion Posted: Wed Aug 11, 2010 4:36 pm Subject: zero crossing detector 2VAC |
If you're saying the AC input to the optocoupler is only 2 V AC, then it will never work. The datasheet clearly staes a MINIMUM of 3.7 volts for the device to work...
If you're saying the output to ... |
Topic: Variable pulse-duty-cycle PWM |
jbmiller
Replies: 20
Views: 31183
|
Forum: General CCS C Discussion Posted: Wed Aug 11, 2010 2:19 pm Subject: Variable pulse-duty-cycle PWM |
Now you know WHY I do NOT like simulators !!
Nothing but real hardware will prove/show that the code you cut REALLY works !!!
Since your code works fine in the 877, I'd really suspect the 'simul ... |
Topic: Check if PWM is connected |
jbmiller
Replies: 2
Views: 3791
|
Forum: General CCS C Discussion Posted: Wed Aug 11, 2010 12:03 pm Subject: Check if PWM is connected |
You could monitor the current that the transducer draws. Obviously, if the transducer is plugged in, you'll get a reading of 'I'm here', providing the transducer gets its power from the same board tha ... |
Topic: Connection or source code problem?? |
jbmiller
Replies: 4
Views: 5317
|
Forum: General CCS C Discussion Posted: Wed Aug 11, 2010 5:09 am Subject: Connection or source code problem?? |
I don't see any bias resistors in the RS-485, or a common ground....in the schematic. |
Topic: Can PIC16F690 Data EEPROM be read directly from VB6? |
jbmiller
Replies: 11
Views: 12300
|
Forum: General CCS C Discussion Posted: Tue Aug 03, 2010 8:52 pm Subject: Can PIC16F690 Data EEPROM be read directly from VB6? |
There's nothing to stop you from using the I/O pins that are muxed as ICSPCLK and ISCPDAT to be serial I/O (aka RS232) and program the chip to accept commands from a PC (using VB6) to read the EEPROM ... |
Topic: A question about in circuit debugging |
jbmiller
Replies: 13
Views: 11620
|
Forum: General CCS C Discussion Posted: Sat Jul 31, 2010 5:30 am Subject: A question about in circuit debugging |
As to why CCSC doesn't have this 'ICD' feature or option, it probably amounts to time, money and resources. Creating ANY product requires a LOT of R&D time which of course costs money (wages) and ... |
Topic: Simulation code works, however when I download ... boom |
jbmiller
Replies: 15
Views: 15388
|
Forum: General CCS C Discussion Posted: Thu Jul 29, 2010 3:59 pm Subject: Simulation code works, however when I download ... boom |
I see that ICD=TRUE..so...
any chance that the ICD is clobbering you ? |
Topic: Simulation code works, however when I download ... boom |
jbmiller
Replies: 15
Views: 15388
|
Forum: General CCS C Discussion Posted: Thu Jul 29, 2010 10:33 am Subject: Simulation code works, however when I download ... boom |
Welcome to the 'real world', simulations are not REAL.
I can see (actually NOT see) areas of concern.
need more info...
like processor type..
version of PCM (PCH,PC???)
Port/pin assignments f ... |
|