Go Down

Topic: How to power the board directly (Read 950 times) previous topic - next topic

marsy

OK, so just to make sure, the following diagram shows exactly what I plan to plug in and where. This setup is 'safe' then I take it?



Thank you so much everyone, this is really helpful information to know!

AlxDroidDev

Yes, that is OK!

But like I said, make absolutely sure you check the current requirement of the controller that will be plugged to the 5V pin. If you don't check and it is too high, you'll fry the voltage regulator in the arduino.
Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

marsy


CrossRoads

Not so fast - what do you mean by "SPI connection" on the analog pins?
SPI has a specific meaning, and the '328P has specific pins to drive signals:
D13 SCK
D12 MISO
D11 MOSI
D10 tyically used as Chip Select/Slave Select. Other pins can be used; D10 must be set as an output to enable Master SPI operation.

A4/A5 are I2C pins (I think A4 is SDA and A5 is SCK,  I might have those swapped).
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

marsy

The library I am using (PS2X) does SPI in the memory so it can be mapped to any pin and not just the PWM ones.

Go Up