Gayan Soyza said:You are going to make a Bathroom Extractor Fan Timer. After completing, the PIC must there permanent. So a FLASH based chip for that job would pointless. It can replace by an 8 pin OTP chip.
Due to very first time programming it must done with a FLASH based chip formatting over 100 of times to get the final output. After that can be converted to an OTP device. If you still don’t like then can replace the chip with a FLASH based one.
When you program OTP devices you must be sure that your program works as you expect as you can't make any changes. Even expert programmers often need to modify/update their programs.Gayan Soyza said:You are going to make a Bathroom Extractor Fan Timer. After completing, the PIC must there permanent. So a FLASH based chip for that job would pointless. It can replace by an 8 pin OTP chip.
Exactly and being a nube to PICs I'm likely to mess it up the first time round so ruining a load of OTP devices would prove more expensive than re-erasing and re-programming one device.Nigel Goodwin said:That would make sense for production purposes, but for a 'one of', or just a small quantity, you may as well just stick to the FLASH chip, the difference in price is only small.
Even if you were moving to an OTP, you really need a UV eraseable one in order to do the changes required for the OTP, and to avoid wasting them.
But mostly pointless these days, use the FLASH chip!.
Hero999 said:I can put up with UV erasable because I do have a germicidal tube lying around but a FLASH unit would be more convenient.
I see your point, yes flash is a waste of money if you're only going to program it once but I've decided to go for the PIC10F200-I/P as it's cheaper than the OTP unit from Maplins an at only six pins I won't have to drill many holes or do much soldering.Gayan Soyza said:You are going to make a Bathroom Extractor Fan Timer. After completing, the PIC must there permanent. So a FLASH based chip for that job would pointless. It can replace by an 8 pin OTP chip.
Due to very first time programming it must done with a FLASH based chip formatting over 100 of times to get the final output. After that can be converted to an OTP device. If you still don’t like then can replace the chip with a FLASH based one.
If the user pulls the cord once within half a second whilst the fan is off the timer will be activated.Looking at your requirement deeply
Pull the switch once – TURN ON output for 10 mins
Pull twice – TURN ON continuously
Pull again - TURN OFF
When it pulls ONCE within the 10 minutes time period what will happen? Does it continuous the timer or else?
When it pulls TWICE within the 10 minutes time period what it needs to do or do nothing?
For additional it will be good if you place 2 LED’s – one for 10 mins timer running & other for continuous running. Due to false input given by the user.
This small small things very useful when programming microcontrollers.
Do
Fan off
If cord pull then
Turn fan on
If no cord pull within 0.5s then
Set timer to 10min
Else
Set timer to 1day
End if
If cord pulled before time delay over then turn fan off
End if
Loop
Hero999 said:I see your point, yes flash is a waste of money if you're only going to program it once but I've decided to go for the PIC10F200-I/P as it's cheaper than the OTP unit from Maplins an at only six pins I won't have to drill many holes or do much soldering.
I’m not familiar with PLA systems. But P16PRO40 supports to many chips including some 18F series. Unfortunately I couldn’t build this programmer because I don’t have a LPT port in my MB.I have some LVP programmers. See the supported devices in WINPIC siteHero999 said:By the way, this is probably a silly question but can this programer program other programmable chips like PLAs?
Hero999 said:Also what about SMT PICs, is there an adaptor I can buy that I can attach the ZIF to program SMDs?
What's the difference between a PDIP and a DIP?eng said:The PIC10F200-I/P is in a PDIP-8 package. Check the "Product Identification System" in the datasheet
Programmable Logic Array (PLA) is a type of Programmable Logic Device (PLD), they were invented to replace 1000s of logic gates and flip-flops in logic circuits.Gayan Soyza said:I’m not familiar with PLA systems.
Parallel port cards are pretty cheap; you could probably get one for free from a trash PC.But P16PRO40 supports to many chips including some 18F series. Unfortunately I couldn’t build this programmer because I don’t have a LPT port in my MB.I have some LVP programmers. See the supported devices in WINPIC site
Wow they're expensive!There are some SMT to DIP adaptors as well. For more information see this link.
**broken link removed**
No difference, PDIP = Plastic DIPHero999 said:What's the difference between a PDIP and a DIP?
Hero999 said:I wouldn't mind the SOT-23 package if there's a way I can adapt my ZIF socket to take it.
3v0 said:The best would be to use the ICSP connector on your programmer hooked to an ICSP connector on your target.
Or just solder the 3 ICSP wires to pads on the target board and insert the other end into the ZIF.
Maybe 2 more for power and GND. Take the wires off when the board is finished.
I forgot that RS sell the PIC12F508-I/SN £0.62 so, decision made, I'll go for it!eng1 said:The PIC12C508A is an OTP device, not recommended.
The PIC12F508 looks good for your project, but it's not loaded with peripherals - that might become useful for future projects (ADCs, PWM) - and has a two levels stack. I would buy some PIC12F683s too (my personal favourite).
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?