Search found 28 matches
- 09-06-2011, 07:06
- Forum: Mikrokontroleri - AVR
- Topic: daley_us or delay_ms!?
- Replies: 3
- Views: 3868
Re: daley_us or delay_ms!?
tanx for reply! so it's forbidden to use variables in delay_us command! :o i didn't know that... :oops: about this code which you suggested: void my_delay_us(int n) { while(n--) { delay_us(10); } } i can't understand it completely! i mean, where i should use code, within the program lines? is it a l...
- 08-06-2011, 18:18
- Forum: Mikrokontroleri - AVR
- Topic: daley_us or delay_ms!?
- Replies: 3
- Views: 3868
daley_us or delay_ms!?
Hi guys! I've a strange problem in CodeVision for programming a Ateml mega16. it's the command: void main () { signed int d; ... delay_us (d); when i compiled the program, an error happened by this meaning only for red line: constant integral expression required why? :? i've defined the range of &qu...
- 16-07-2010, 12:29
- Forum: Mikrokontroleri - AVR
- Topic: Help, how to write this program?
- Replies: 1
- Views: 1882
Help, how to write this program?
Could anyone help me on writing this program? I've tried so much in codevision, and I've wrote some programs, but any of them had no correct answer! I want to use a Mega16 as micro. The goal of program is as follow: A 7bit input (for example PORTA), really, it's 8bit, but last bit (PORTA.7) is alway...
- 08-05-2010, 12:06
- Forum: Elektronika za početnike
- Topic: solarna celija
- Replies: 6
- Views: 2108
Re: solarna celija
hi guys! excuse me for poor english! i'm using translator to read, but most pf your posts is ever in crovatian :( and i can't read them... i USE some solar cells for my project. Not so big, about 10 cells, which dimansions are 1*1 cm. maximum voltage in maximum light is about 0.5v. amper is very low...
- 21-12-2009, 11:56
- Forum: Mikrokontroleri - AVR
- Topic: clock by AVR and LCD
- Replies: 2
- Views: 3001
Re: clock by AVR and LCD
realy isn't any one here that could help me??
i can't learn C in only one week and do this project!?!
is it very hard to do?
the big masters of micro programming have gathered here, and no body likes help me?
i realy need u. i can't write this program. i only know basic.
waiting...
i can't learn C in only one week and do this project!?!
is it very hard to do?
the big masters of micro programming have gathered here, and no body likes help me?
i realy need u. i can't write this program. i only know basic.
waiting...
- 20-12-2009, 12:20
- Forum: Mikrokontroleri - AVR
- Topic: clock by AVR and LCD
- Replies: 2
- Views: 3001
clock by AVR and LCD
hi guys! exuse me for poor english! i searched alot for a clock which is made by AVR in C (codevision) that shows time on a 2*16 LCD. i need it seriously for a classical project. but i've never worked in C. i have worked in Basic and bascom. i really dont know how to make it and to write its program...
- 27-07-2009, 08:21
- Forum: Elektronika za početnike
- Topic: about caps and crystals
- Replies: 3
- Views: 1896
about caps and crystals
hi guys!! i've some basic questions! but didn't find any proper answer anywhere!! in microcontroller, what's the effect of AMOUNT of two caps which connect to pins of crysta? i mean why we use 30pF caps, or 22pF? WHY NOT 27, 100 OR... and IF the frequency which we apply to the micro, decrease or inc...
- 07-03-2009, 20:38
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
why?
should i pay for it?
or ...?
should i pay for it?
or ...?
- 07-03-2009, 17:49
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
hi again!
dear trax, how can i receive the source code of the PIC micro program?
tanx alot
dear trax, how can i receive the source code of the PIC micro program?
tanx alot
- 23-02-2009, 21:05
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
HI AGAIN!
AT THE END, THE PHONE LINE CONTROLLER WORKED PROPERLY!
FROM THE FIRST POST, UNTIL THIS POST, DEAR TRAX AND OTHER FRINEDS HELPED ME IN SOLVING AND TROUBLESHOOTING THE CIRCUIT. NOW I HAVE TO GRATITUDE YOU, BECAUSE OF YOUR HELPS.
HOPE TO BE A GOOD FRIEND FOR YOU.
TANX ALOT,...
LOVE YOU ALL...
AT THE END, THE PHONE LINE CONTROLLER WORKED PROPERLY!
FROM THE FIRST POST, UNTIL THIS POST, DEAR TRAX AND OTHER FRINEDS HELPED ME IN SOLVING AND TROUBLESHOOTING THE CIRCUIT. NOW I HAVE TO GRATITUDE YOU, BECAUSE OF YOUR HELPS.
HOPE TO BE A GOOD FRIEND FOR YOU.
TANX ALOT,...
LOVE YOU ALL...
- 20-02-2009, 12:28
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
i disconnected the diode. but the relay doesn't work. i tested realy, its ok...
the LED test was ok.
the LED test was ok.
- 20-02-2009, 12:04
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
i did what you say by LED.
it acts right. by 0> OFF. and by 1> ON.
but the transistor and relay combination still is not working...
can i decrease the 4.7k Res to a lower one.?
it acts right. by 0> OFF. and by 1> ON.
but the transistor and relay combination still is not working...
can i decrease the 4.7k Res to a lower one.?
- 20-02-2009, 11:36
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
i have BC547 datasheet.
PIC pin> 4.7k RES> 'Base'
All Emitter are GND.
Collectors> Relay input pin (the other pin is 12v)
the BE voltage is 5.5v. if i replace a LED, it would be light forever!??!
what's the diffrence between this new .hex file and the last file?
PIC pin> 4.7k RES> 'Base'
All Emitter are GND.
Collectors> Relay input pin (the other pin is 12v)
the BE voltage is 5.5v. if i replace a LED, it would be light forever!??!
what's the diffrence between this new .hex file and the last file?
- 19-02-2009, 23:06
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
IT'S WORKING!!!! :D :D :D I found a 5v relay in my components box. replaced it with 12v one. then i called the line! it was WORKING! after two rings, the relay hang up! i heared beep! entered 1234... and then beep...1...beep...beep.beep.beep.....!!!! they were my life most exciting beeps!! :D but st...
- 19-02-2009, 19:03
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
YES!! You are right. i'm so crazy! i saw 5-s on relay and the +5 vcc connected to relay in schematic, but i bought a 12v one! i should change it. but i have no access to electric shop until 4 next days.. :( because of my classes... DEAR TRAX, YOU MADE ME MANY BIG HELPS. BEFORE, I THOUGHT THAT I HAVE...
- 19-02-2009, 17:29
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
Hi again! i changed optocoupler with another one (and another brand!). when power goes ON, the LED blinks for about 2 seconds. then, wen I called that line, the LED lights. by every ring, it goes OFF and ON! But some irregular blinks happen, which doesn't match ring series?!?! I measured the input p...
- 18-02-2009, 21:25
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
Smjesko! I know! electronics living is hard, but electronics troubleshooting is harder!!!
- 18-02-2009, 15:18
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
1-how can i test VDR? it's 450V! what's the sign of a healthy VDR? 2-YES!! it works! the LED goes on just power on. i have 4 optocouplers! i'll test it with all of them. i wish it works! i changed zeners to 51v before, according to your advice. 3-re-setting?! why? yes, there is a 10Kohms(1/4w) Res b...
- 18-02-2009, 13:35
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
bad bad LED! GOD damn it! when i was detaching it, snaged to pcb cuprous line and rend it.... :cry: :cry: .... so bad! however, i replaced another healthy LED,(i checked before). i connected a direct short wire between crystal and pin9 PIC. i replaced an New crystal. now, by switching power supply, ...
- 18-02-2009, 10:41
- Forum: Mikrokontroleri - PIC
- Topic: Phone line controller v2 - 6 releja
- Replies: 49
- Views: 12826
Re: Phone line controller v2 - 6 releja
TANX ALOT FOR ANSWERS! you first said the PIC should have a crystal. and now say the wire which connects crystal to pin9 PIC is the cause of problem. :!: i mixed up! ... :| so what should i do? do you mean that i disconnect this wire? so pin9 of PIC will be alone! i attached them by 2 seri jumpers, ...