In anticipation of the PIC microcontroller assembly language tutorials, here is a shopping list of items required. Also, details of the PCB modifications required and the programmer cable that needs to be made up.
eBay links:
5V PIC12F675 Development Board Learning Board Breadboard http://www.ebay.com/itm/5V-PIC12F675-Development-Board-Learning-Board-Breadboard-/311674167468
10Pcs 5S1P Silicon Balance Charger Cable Wire JST XH Connector Male/Female Plug http://www.ebay.com/itm/10Pcs-5S1P-Silicon-Balance-Charger-Cable-Wire-JST-XH-Connector-Male-Female-Plug-/331835205505
microcontrollers PICkit2 PIC KIT2 debugger programmer for PIC24 PIC32 PIC dsPIC http://www.ebay.com/itm/microcontrollers-PICkit2-PIC-KIT2-debugger-programmer-for-PIC24-PIC32-PIC-dsPIC-/201325676677
PICkit3 PIC KIT3 Debugger Programmer Emulator PIC Controller Development board http://www.ebay.com/itm/PICkit3-PIC-KIT3-Debugger-Programmer-Emulator-PIC-Controller-Development-board-/400926122453
eBay links:
5V PIC12F675 Development Board Learning Board Breadboard http://www.ebay.com/itm/5V-PIC12F675-Development-Board-Learning-Board-Breadboard-/311674167468
10Pcs 5S1P Silicon Balance Charger Cable Wire JST XH Connector Male/Female Plug http://www.ebay.com/itm/10Pcs-5S1P-Silicon-Balance-Charger-Cable-Wire-JST-XH-Connector-Male-Female-Plug-/331835205505
microcontrollers PICkit2 PIC KIT2 debugger programmer for PIC24 PIC32 PIC dsPIC http://www.ebay.com/itm/microcontrollers-PICkit2-PIC-KIT2-debugger-programmer-for-PIC24-PIC32-PIC-dsPIC-/201325676677
PICkit3 PIC KIT3 Debugger Programmer Emulator PIC Controller Development board http://www.ebay.com/itm/PICkit3-PIC-KIT3-Debugger-Programmer-Emulator-PIC-Controller-Development-board-/400926122453
Julian, there are 2 tracks from that Vpp piin to GP3. Did you cut them both? If you did it seems like it would no longer work as a reset pin. If I am right (probably not) couldn't you just cut the outer track and remove the jumper when programming and leave it when you need a MCLR? (This would only work, of course, with you mod on the bottom). Please excuse my lack of knowledge, I am a CS person.
I bought all the stuff needed, installed MPLABv8.92 and it cant see my pickit2 I am on Win10 the PC sees the device, can I have installed Pickit 2 v2.61 in bootloader mode it will connect and tells me there is no operating system on the pickit2 and to download it. I do this and then it goes to verify and reboot the pickit and it never connects. Starting to think I have a bad device
Awesome you started with #0. Very Hexadecimal of you. 🙂
I like the custom sponges you provide for us. 🙂 You do cut them when they are dry and compressed, right?
I know, silly question.
there has not been one video you've made that I haven't enjoyed even if it was beyond my comprehension at the time. Thank you for being you.
JST connectors are still metric!
I've been trying to program a version of my "quiz-tie-breaker" into the chip on that exact same circuit board but without success.
What I've discovered is that GPIO2 which is connected to key 1 on that board seems to simply not work. I've tried everything I can think of, including some fancy stuff about disabling the A to D converter on that pin since it seems that's activated by default following a reset, but nothing works. The pin stubbornly refuses to recognise that the button has been pressed.
I tested it by putting my multimeter across the GND and GPIO2/Key1 pins, and I measured +5V with the key open and 0V with it pressed, so the key itself is definitely working. It's just that the pin isn't detecting anything. I even tried bridging the GND pin of the chip to the GPIO2 pin of the chip with a bit of wire, but it doesn't work.
This is especially frustrating because GPIO5 which is connected to Key2 on the board does work just fine, both via the button and by using the bit of wire to connect the pin to GND.
I used a spare 12F675 to replace the one which came with the board and it shows exactly the same behaviour, so either it's a fault with that chip type or (more likely) I'm just missing something important. Maybe deactivating the A to D conversion requires following an exact order of instructions… or something.
Whatever the problem is, it's got me licked. At least for now.
Cool – my PICkit and microcontroller board arrived today
That's a pickit3 clone, which some say it's just a pickit2 with some compatibility stuff added. The original is $50. I wanted to buy a clone but after reading some opinions I've changed my mind.
Julian – I have the PICkit3 on order. From your comments on later videos, I was wondering if the PICkit2 is still your choice of weapons? If not, I thought I might mention it in these comments. I know it's early in the series, but "LATE-COMERS" might want to check later videos in this series. … Hope my order gets here soon! 😉
BTW, if you use a thin screwdriver and carefully pry the JIST plastic connector off of the pins, you can then use Dupont connectors and they grip perfectly.
Hey Julian, you've everything on the list apart from the chips! Anyone new to the field might like to know what to get! 😉
The PIC12F675 is a really awful part it only really has a ADC and a couple of timers and GPIO pins. People might also be interested in shopping for a 12F1840 or 16F18313, these devices are pin compatible and have some much more exciting internal features. Obviously keeping the PIC12F675 for the tutorial part.
Hi Julian,
Got all the stuff now – poised and ready to go.
Alan