The pic microcontrollers are programmed through a different method than the AVR's used in Arduino (though they use the same abbreviation, ICSP, for in circuit serial programming, it's a different protocol) - while one could probably write an Arduino sketch that would program a PIC, I am not aware of that having been done. Normally, people who use PICs use PICs, and people who use AVRs use AVRs (law of the instrument - "when all you have is a hammer, everything looks like a nail").
Noobian:
can I program it using my arduino? like shown in the video
An ATtiny85? Easily.
A PIC - almost certainly, but all the information for which you are asking is not here, but is as described in that thread, and points (amongst anything else) to this site.
A PIC - almost certainly, but all the information for which you are asking is not here, but is as described in that thread, and points (amongst anything else) to this site.
Thanks for the info, I just wanted to know whether i could program it using my arduino, without any special hardware or usb to serial converters.
also the MC's that I mentioned, are they capable of the same functionality as ATtiny85?
No, they are different microcontrollers with different architecture, which you program using a different IDE and different set of calls to manipulate the hardware. They are not code compatible, and they do not use the same libraries. They have less flash (in some cases, MUCH less flash), less ram, less eeprom. Most of them have fewer peripherals too, and none of them have the high-speed timer that the 85 has. The maximum clock speed is also lower on the PICs you listed. That's just my quick 5 minute look at the datasheets. Take a look at them yourself for more information - it's all there in the datasheets.
What DrAzzy said. Also, the PICs use different and not-free C compiler(s), and C++ compilers for PIC are very rare.
While THEORETICALLY you could use 8-pin PICs instead of 8-pin AVRs (like the tiny85), it involves a level of difficulty that your questions indicate you probably aren't prepared for. Why would you want to use those chips?
For almost any "newbie", you should start with a full-sized Arduino, possibly transitioning to something like an Arduino Nano or Pro Mini, and only look at 8-pin chips if you are REALLY, REALLY, space constrained. (and even then, by the time you add support circuitry, there's not that much difference (compare an Adafruit "Pro Tinket" with a "digispark", for instance.)
oh ok, i though they could be programmed just like Atmels. thanks for letting me know.
I guess I'll settle with ATtiny85 even if they are little bit pricier than PIC's.
But Atleast I wont have to do any tough programming so that I can save 1/2 a $.
So I'll do exactly like what the video showed.
For almost any "newbie", you should start with a full-sized Arduino, possibly transitioning to something like an Arduino Nano or Pro Mini, and only look at 8-pin chips if you are REALLY, REALLY, space constrained.
Well, I did start with an arduino nano clone, and yes my project is space constrained, it has to fit in a tiny box(smaller than a tic tac box).
Also its a very simple project so I don't need all the functionality a larger avr chip offers or the ton of extra pins.
(compare an Adafruit "Pro Tinket" with a "digispark", for instance.)
Initially I had considered a digistump clone or lilypad clone, but then I saw that video and thought why do i need to spend 5$ for an arduino clone when my project can be done with a 1.5$ chip + components worth 10 cents?
If you're space constrained, use an ATTiny85. Doing it with those pic chips would entail learning a whole new set of tools, whereas the Tiny85 can be programmed with the arduino IDE and any ISP programmer (like an arduino running ArduinoAsISP or one of those cheap USB asps)