![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| i have built a small circuit to detcet how much light in the room and i decide to use it in my robot to detcet the ambiant light . , and if the output of this circuit is high then my robot will light up some LEDs.......my problem is suppose that my circuit detced that there no light then the internal LEDs will light up and that mean they light detcteor circuit will detcet again that there are light in the room and then shutdown the internal light . how to solve that . bytheway i'm using 16f877 pic circuit to control that here is the light detector circuit . | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Turn off the LEDs and wait for 1mS. Measure the room light. Turn on the LEDs. Your light detector looks fast but if 1mS is not enough time wait 5mS. It works for me and I am waiting less than 1mS! Your eye will not see the off time. | |
| |
| | (permalink) |
| i'm using PIC16F84A to made a clock with an alarm, but now i have a problem with the picbasic program.Every time i write PORTA.1 as porta pin 1 in the program, it show error message in asm file.how i define each pin in the program? by default the program set the PORTL VAR PORTB PORTH VAR PORTA TRISL VAR TRISB TRISH VAR TRISA let say if i want to use PORTA pin 1 to receive send signal to trigger the alarm,how should i write the code? | |
| |
| | (permalink) |
| The coverage of ambient light is stronger and larger than a single LED or cluster of LEDs. Just as other said, point the LEDs away from the detector. Are your LEDs meant to serve as an small indicator or as a secondary source of room illumination? Is the detector and LEDs mounted close to each other on the board or inside a small cover? | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Help me solve these electronic circuits for my class please? | kasper03 | General Electronics Chat | 9 | 21st December 2005 12:02 PM |
| a c program i can not solve. | kinyas | General Electronics Chat | 4 | 18th October 2005 03:46 PM |
| I really cannot solve this circuit. | SeanHatch | General Electronics Chat | 5 | 23rd September 2005 01:10 AM |
| Most suitable type of capacitors to solve noise problems? | Haru | General Electronics Chat | 3 | 9th May 2005 11:58 PM |
| ADC0804 offset value? can it solve or???? | soohino | Electronic Projects Design/Ideas/Reviews | 4 | 18th January 2005 09:10 AM |