Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
There is reliable supplier of electronic components from China:
**broken link removed**
I want to recommend this company. We bought components from them, and have very good experience: they are reliable, their manager Yolanda Ke is a professional with good English, and they are making proper...
Re: photo diode sensitivity for the eyeblink sensor
Longjasp,
you need a filter. These filters are wildely used in photography. It is a special glass.
Place it in front of your receiving diode. Then rotate this filter to achive maximal suppression of sunlight.
By the way, klystron's idea...
Re: photo diode sensitivity for the eyeblink sensor
UPDATE: As root post was changed after incorrect topics merging, I add the original question:
Try to use polarizing filters on both LD. Adjust angle of polarization on one of them to receive reflected light of your light source. It will...
No, you can not add software write protection simply by changing hex file. Read datasheet for this chip. You will find write sequence to enable protection.
http://www.atmel.com/dyn/resources/prod_documents/doc0006.pdf
You need to read page #10.
Read datasheet for your EEPROM. It has additional software write protection:
I can guess that you have not enabled the software protection in new chip, but old original chip was written with software protection.
Shift registers are the output stage of BAM there. You are loading the state of every LED in interrupt by these shift registers. So, you can independently controll brightness of every LED.
For example, you have 8 LEDs, you need to load brigtness 0x80 for first 4 LEDs and brightness 0x0 for last...
You can compare BAM & PWM on this picture:
Principle of BAM is very simple:
Bit - Weight
0 - 1
1 - 2
2 - 4
3 - 8
4 - 16
5 - 32
6 - 64
7 - 128
Weight is a time to light the LED.
For example, if you need to get brightness 0x2F (0b00101111), then you will switch off the LED on period...
Try BAM (Binary Angle Modulation) instead of PWM.
Batsocks - LED dimming using Binary Code Modulation - Binary Code Modulation
It is most effective way to control brightness of LED's.
You can use it with shiftPWM.
There is a shiftPWM examlple for controlling of 768 LED’s at 32 brightness...
It was repost from Elektroda forum.
Ko
wzmacniacz 2x550W RMS/4R z zabezpieczeniami ,,po tanio
The original post has lack of circuit diagram too, as author wants to make commercial production of this PA.
vinodstanur,
you can find "readme.txt" file there. It has an explanation.
Also, you will find "main.c" file. It is an example program that using these routines.
Try to use routines available on the microchip site. They are made for HIGH TECH C compiler.
https://www.microchipc.com/sourcecode/PIC_Hi-Tech_C_delay_and_timeout_routines_for_PIC16xxxx_v7-1.zip
There is MIRSA C standart, created to avoid possible errors in C code, that consists of 126 rules.
https://en.wikipedia.org/wiki/MISRA_C
Some programmer's tools are making check for MISRA C complaince. For example "Development Assistant for C".
It is not so good idea to reformat your ready...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.