1

Apologies if this question has already been asked or it's too simple.

I am starting out on Microcontrollers and I have been looking at the following:

https://www.sparkfun.com/products/9195

Now, I have skimmed the data sheet and have the following Pin schematic:

enter image description here

Should I therefore connect the power supply (battery powered) to pin 20 & 19?

Phorce
  • 133
  • 1
  • 5
  • 2
    Yeah, power to 20 and ground to 19. I'd also ground pin 8. I'm not sure if the RESET is active HIGH or active LOW, so also make sure you have a pull up/down resistor connected to that guy. – Nick Williams Jan 23 '15 at 13:53
  • Check [this](http://electronics.stackexchange.com/questions/128120/reason-of-multiple-gnd-and-vcc-on-an-ic/128122#128122) out – Vladimir Cravero Jan 23 '15 at 14:01
  • Although, you did not ask this, but it might not work right away when you power it up. I did not work with this part, but if it does not have an internal clock, and you program it to be externally clocked - you must also connect an external oscillator to pins 9 and 10. – Nazar Jan 23 '15 at 15:12
  • @Naz I am confused. Why so? – Phorce Jan 23 '15 at 15:18
  • 1
    Check out the brief [specsheet](http://www.picaxe.com/docs/picaxex2.pdf) for this family. It does contain internal clock (last page), so make sure when you program the chip you set the clock registers to use internal clock. If the internal frequency is too slow for you, you will need an external oscillator (or some other source clock) to drive your chip. You need to find the detailed datasheet for your particular part - it will explain everything in detail. – Nazar Jan 23 '15 at 15:33

2 Answers2

3

As you can see from the diagram Pin 20 is V+ and therefore that is where your positive power supply should go, also Pin 19 and Pin 8 are 0V so you will need to wire these to the ground of your power supply.

The rest of the pins are inputs or outputs or other functions which can be specified in the code you write for the chip. The resonator pins (Pin 9 & Pin 10) is where you would connect the clock source for the chip which would give it the timings it needs (not necessary if it's got an in built oscillator).

V+ is always where you connect the power supply unless specifically stated otherwise (not likely) and 0V or GND is where you connect your power supply's ground.

MrPhooky
  • 2,168
  • 8
  • 24
  • 55
  • Thank you very much. Although I feel kind of stupid, I just wanted to clarify that this was correct. Getting my head around the simple problems I'm sure will help me in the future. – Phorce Jan 23 '15 at 22:56
0

Its clearly showing the 20th Pin as +v and 19th Pin as 0V.

so no problem you can clearly connect to the pin without any more thinking.

Purushoth
  • 19
  • 2