Go Down

Topic: No green light when Mega 2560 was powered with USB (Read 79 times) previous topic - next topic

OmarLuis

Mar 20, 2019, 01:54 pm Last Edit: Mar 20, 2019, 02:35 pm by OmarLuis
Just starting with a new Mega 2560, LED never become green just yellow, further question, which DC and polarity is supposed to apply on the power inlet?, trouble shooting ask for changing a jumper position, but there isn't any.

Geek Emeritus

LED color is irrelevant

center pin is positive, and you should be able to measure raw power voltage on the Vin pin

run an example program from the SD library and watch the results on the Serial Monitor to verify the unit is alive. it does not matter if you have no SD module, you just need to see a response.
All PMs will be deleted unopened due to arrogant argumentative pot stirring Malfoys.
 If you have not read "How to use this forum - please read", in particular: "7. If you are posting code or error messages, use "code" tags":  expect rude responses

OmarLuis

#2
Mar 20, 2019, 06:22 pm Last Edit: Mar 20, 2019, 06:26 pm by OmarLuis
Thanks, it works fine. I underestand that the DC power is positive at center lug, range? just 5 VDC?, just a question about SD, should I connect it to ICSP connector? there is a reset lug instead of CS

Geek Emeritus

I do not exceed 9 volts on my cheap chinese clones

SD cards use pins 50 - 52 on a MEGA. pin 53 CS can be an input, if you pull it low. the MEGA becomes an SPI slave, not a master
All PMs will be deleted unopened due to arrogant argumentative pot stirring Malfoys.
 If you have not read "How to use this forum - please read", in particular: "7. If you are posting code or error messages, use "code" tags":  expect rude responses

Go Up