Author |
Message |
Topic: traffic light code |
atai21
Replies: 7
Views: 11661
|
Forum: General CCS C Discussion Posted: Tue Jul 12, 2011 12:59 am Subject: traffic light code |
May I know what is the other problem of my code because only 1 LED is on and the others not. |
Topic: traffic light code |
atai21
Replies: 7
Views: 11661
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2011 8:03 pm Subject: traffic light code |
i use 150Ohm resistor.should i try another resistor? |
Topic: traffic light code |
atai21
Replies: 7
Views: 11661
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2011 6:58 pm Subject: traffic light code |
tq its already solved but when i try on PIC its not working...no lamp are on |
Topic: traffic light code |
atai21
Replies: 7
Views: 11661
|
Forum: General CCS C Discussion Posted: Sun Jul 10, 2011 10:44 pm Subject: traffic light code |
dear all...i have construct a code for 4 way traffic light.please help me with the code
#include <16F84.h>
#define R1 PIN_A0
#define Y1 PIN_A1
#define G1 PIN_A2
#define R2 P ... |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Thu May 19, 2011 8:18 pm Subject: comment on work |
thanks dyeatman |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Thu May 19, 2011 7:10 pm Subject: comment on work |
#include <18F4550.h>
#device adc=8
#define BPW21R PIN_A2
#define LV25 PIN_A0
#define LA55 PIN_A1
#FUSES NOWDT, HS, PUT, NOPROTECT, NODEBUG, BROWNOUT, NOLVP, NOCPD, NOWRT
... |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 6:35 am Subject: comment on work |
setup_adc_ports(0);
setup_adc_ports(1);
setup_adc_ports(2);
setup_adc(ADC_CLOCK_DIV_32);
set_adc_channel(0);
delay_us(20);
value=read_adc(0 ... |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 1:47 am Subject: comment on work |
hello again all,
i've done a little bit modification with the circuit and code but i have no idea on how to send the reading from LA55, LV25 and BPW21R to rs 232...please help
#include <18F45 ... |
Topic: DS18S20 & DS18B20 Codes |
atai21
Replies: 54
Views: 634008
|
Forum: Code Library Posted: Tue May 10, 2011 1:49 am Subject: DS18S20 & DS18B20 Codes |
I'm sorry but I don't understand what this line means:
setup_adc_ports(no_ANALOGS);
Does it mean I can't put analog in my code? If I want to measure voltage from solar cell, I need to co ... |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2011 10:45 pm Subject: comment on work |
thank you all...i will take notes and post here when i finish setup the hardware. |
Topic: comment on work |
atai21
Replies: 13
Views: 16307
|
Forum: General CCS C Discussion Posted: Thu Apr 14, 2011 10:39 pm Subject: comment on work |
hello all,
I'm planning to do the data logger for current, voltage, irradiation and temperature for my solar PV module. I have create the schematic using Altium and the code for it but not yet tested ... |
Topic: Sensing irradiance |
atai21
Replies: 1
Views: 3234
|
Forum: General CCS C Discussion Posted: Sun Mar 06, 2011 9:53 pm Subject: Sensing irradiance |
hai all,
I am developing a logger that will monitor temperature and irradiation. For sensing irradiation, I use bpw21r. I want to ask whether this sensor have its own driver or not.TQ |
Topic: ds1621 driver |
atai21
Replies: 3
Views: 6841
|
Forum: General CCS C Discussion Posted: Sun Mar 06, 2011 6:57 pm Subject: ds1621 driver |
TQ for your fast reply |
Topic: ds1621 driver |
atai21
Replies: 3
Views: 6841
|
Forum: General CCS C Discussion Posted: Sat Mar 05, 2011 7:52 am Subject: ds1621 driver |
hai,
may i know whether this code work for ds1621 or not.TQ
Dallas DS18B20, 1 wire bus, +/-, multi device, Light codes.
http://www.ccsinfo.com/forum/viewtopic.php?t=41878 |
Topic: PIC16F877 & DS1620 Temperature Sensor |
atai21
Replies: 8
Views: 14691
|
Forum: General CCS C Discussion Posted: Fri Mar 04, 2011 3:58 am Subject: PIC16F877 & DS1620 Temperature Sensor |
Good day,
I want to ask something about ds1621. Can I have two ds1621 connected to 1 PIC (18f4550) ? They share the same pin (pin 33 and 34). For the code I have plan to use delay so that the data di ... |
|