The chip Has vss on 5 and VDD on 14 like a pic chip, it is powered with 3volts
Good morning Nigel, I agree I thought that right from the get go, but then I saw most Pics have the clk on 16 and clk out on 16 but this chip has outputs there for the relay drive?
First of all I thought the caps and resistors on pin 2 were something to do with the clk. but then as I got further into the circuit I find Pin 2 goes high when the lamp is on and low when off and although I didn't include the two power supply circuits the 5m1 sends the 3v off to the collector of a transistor which is part of an op amp circuit, it initialises it and it starts oscillating generating a 20 volt square wave, which gates a power mosfet with a TTL gate and is also rectified with a couple of diodes to self power itself with 20 volts, clever.
The Mosfet has its source on live, which in this circuit is (0v) the drain goes to one of the relay contacts and the bulb which one side is connected to neutral has the other side connected to the other relay contact, so the bulb will only come on when the relay and the mosfet are conducting? I don't understand why yet.
Anyway back to the chip I went through all the 18 pin pic chips at Microchip and Farnell but cannot find any with the clk on other pins, I understand there are some which can have an internal clk, but I don't know which ones.
The 4k7 goes only to the base of a transistor which is part of the signaling circuit when connected to the "Two way" terminal of another switch.
I agree the four pads bottom left look like a programming port, but no, there is no master clear, I am not that good with Micro controllers, I have done PIC programming and Arduino stuff, but I don't know if there are any which program with two wires. Are there any which program with I squared C connections?
I also see the diode, 1m2 res and the 20m in par. with the cap coming from the bulb to pin 1, I don't know what that's about either, the Mosfet I told you about is connected between the anode of that diode and (0v)Live with the relay contacts in series with it.
That's all I can thinkof for now, question is, if it is a micro controller, which one, and even if it can be identified, if it has a protection fuse it can't be read so I couldn't transfer the software to another anyway.
Yes, pretty well all the pins (other than power) can be used as I/O - to read (or write) a PIC you need five connections, Power, ground, MCLR/VPP (4), ICSPDAT (13) and ICSPCLK (12). The MCLR/VPP pin is what switches the device to programming mode, usually by taking the pin to 12V or so. There's also often a low voltage programming option as well, but that wastes another pin in order to activate the low voltage mode.Interesting, so can you use the MCL and data for programming on a PIC as a in/out port as well then?
Also don't I need access to the clk pin for reading and programming, and if as on my chip those edge connectors are the serial programming connectors, they are on 12 and 13 which are not a pic chip conventional connection?
I think you are probably correct, but I would like to read it with my PIC2 to check.
If we agree it's a Pic, what connections would you make to read it and does it involve pins 12 & 13?
Thank you for your post, but have you actually read all the above posts? We are qualified engineers and we are way beyond the fault diagnosis, we are trying to identify an I/C?Many components can be found in a touch-operated light switch, and it is essential to identify them so you can troubleshoot the issue. The most common component to fail is the touch sensor, which sends a signal to the control board when it senses contact. If this component fails, the light fixtures will not turn on or off.
Other standard components include the microcontroller, power supply unit (PSU), and motor controller. If any of these components fail, your touch-operated light switch may not work. Additionally, switches may function sporadically or erratically if there are communication issues between these parts.
I think he's just a spammer - I've deleted his advertising signature.Thank you for your post, but have you actually read all the above posts? We are qualified engineers and we are way beyond the fault diagnosis, we are trying to identify an I/C?
Hi and thank you for your help, I will have a look at that. BobSearching for possible devices to fit that pinout, I discovered an "MCV18E" - which appears to be a PIC in all except name....
MCV18E-I/SO pdf, MCV18E-I/SO description, MCV18E-I/SO datasheets, MCV18E-I/SO Datasheet, MCV18E-I/SO view ::: ALLDATASHEET :::
FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO18, 7.50 MM, LEAD FREE, SOIC-18, MCV18E-I/SO Datasheet, MCV18E-I/SO datasheets, MCV18E-I/SO pdf, MCV18E-I/SO circuit : Microchip Technology Inc - FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO18, 7.50 MM, LEAD FREE, SOIC-18 ,alldatasheet, Datasheet, Datasheet...pdf2.alldatasheet.net
The pinouts seen appropriate, 12 & 13 are indeed the programming clock and data.
Searching for possible devices to fit that pinout, I discovered an "MCV18E" - which appears to be a PIC in all except name....
MCV18E-I/SO pdf, MCV18E-I/SO description, MCV18E-I/SO datasheets, MCV18E-I/SO Datasheet, MCV18E-I/SO view ::: ALLDATASHEET :::
FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO18, 7.50 MM, LEAD FREE, SOIC-18, MCV18E-I/SO Datasheet, MCV18E-I/SO datasheets, MCV18E-I/SO pdf, MCV18E-I/SO circuit : Microchip Technology Inc - FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO18, 7.50 MM, LEAD FREE, SOIC-18 ,alldatasheet, Datasheet, Datasheet...pdf2.alldatasheet.net
The pinouts seen appropriate, 12 & 13 are indeed the programming clock and data.
Strange, the data sheet says microchip on it.That layout fits pretty well all 18 pin PIC's (I don't recall ever seeing one it doesn't fit?) - however, rather bizarrely I can't find it (or anything starting MCV) at MicroChip, but it (and others) are supported in MPLABX
Strange, the data sheet says microchip on it.
I wonder why mclr isn't on that edge connector? there is a pad with a8k2 resistor to the 3 volts I wonder if I missed a track to pin 4 I will go check. I am concerned as while 12 and 13 are perfect I notice pin 4 on my circuit is an output to drive the base of a transistor via a 4k7, that doesn't look good for mclr
Absolutely, most of the via's are under the chips I take my best guess then use my meter in the beep mode, then when I have drawn it out then look to see if it makes sense electronically.I know, and it's a supported device in MPLABX - I wonder if perhaps MCV is a relabelled range of PIC's for specific users?
It's often difficult to follow tracks?. At least with the chip removed you can see better.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?