need to make sure i set my micro controller up proporly

Off-topic Or Otherwise...Say/Ask It Here
RinoScremin
Newbie Pyro
Posts: 4
Joined: Mon Oct 12, 2015 9:02 pm

need to make sure i set my micro controller up proporly

Postby RinoScremin » Mon Oct 12, 2015 9:25 pm

hi i need to make sure i set my micro controller up proporly it is not letting me upload code to it, and PIN D 13 is not flashing when powered up
Attachments
12108066_10156083844710543_7394972574099953786_n.jpg
12108066_10156083844710543_7394972574099953786_n.jpg (23.65 KiB) Viewed 10993 times

RinoScremin
Newbie Pyro
Posts: 4
Joined: Mon Oct 12, 2015 9:02 pm

Re: need to make sure i set my micro controller up proporly

Postby RinoScremin » Mon Oct 12, 2015 9:28 pm

here is a another picture
Attachments
12107817_10156083844775543_5023379511786783389_n.jpg
12107817_10156083844775543_5023379511786783389_n.jpg (182.57 KiB) Viewed 10992 times

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Re: need to make sure i set my micro controller up proporly

Postby ThePyroElectro » Mon Oct 12, 2015 9:41 pm

Hi,

From the looks of it everything does look like it's connected properly.

Other things that could possible be causing the problem:

[1] Perhaps the TX/RX connections are swapped.
[2] Maybe the label on the Microcontroller is backwards? Does the notch on the Microcontroller line up with the black notch on the label?
[3] Maybe one of the jumper wires is bad?

I'll look through the photos again, if you have something higher quality that perhaps you could upload to imgur or wherever that could be more helpful.

::EDIT::

I don't see the +9v connector going to the 7805 Input + Ground. Are you powering your circuit another way? Does the power LED turn on?

RinoScremin
Newbie Pyro
Posts: 4
Joined: Mon Oct 12, 2015 9:02 pm

Re: need to make sure i set my micro controller up proporly

Postby RinoScremin » Mon Oct 12, 2015 10:40 pm

i just don't have the battery plunged in for the picture but the red led turns on but the one on pin d13 won't blink, i also checked the label and it is on right also the RX is in the TX and the TX is in the RX like it is suppose to be, can we conclude that the micro controller is bad ?

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Re: need to make sure i set my micro controller up proporly

Postby ThePyroElectro » Mon Oct 12, 2015 10:55 pm

RinoScremin wrote:i just don't have the battery plunged in for the picture but the red led turns on but the one on pin d13 won't blink, i also checked the label and it is on right also the RX is in the TX and the TX is in the RX like it is suppose to be, can we conclude that the micro controller is bad ?


Ok, great. When you plug in the USB to your computer you can find out what port it is using on windows by looking in the control panel -> device manager -> PORTS & LPT. Make sure to set the Arduino to talk over that port.

Do the Tx or Rx LEDs on the USB-to-Serial board light up when you attempt to program the microcontroller?

Another possibility is that the push-button is connected incorrectly and shorting the reset pin 1 to ground. Does the pin 13 led start blinking if you remove the push-button?

I'm slowly running out of ideas and unfortunately I don't have access to a micro controller kit until Friday (moving locations). But I can try to reproduce the problem you're seeing then and get back to you.

RinoScremin
Newbie Pyro
Posts: 4
Joined: Mon Oct 12, 2015 9:02 pm

Re: need to make sure i set my micro controller up proporly

Postby RinoScremin » Mon Oct 12, 2015 11:30 pm

after removing the switch the LED still will not blink the and the RX/TX LED blinks on the usb when attempting upload to the micro controller and the ardiuno is talking to the wright port, i don't think its a problem with the IDE cuz i tried it on two different computers

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Re: need to make sure i set my micro controller up proporly

Postby ThePyroElectro » Tue Oct 13, 2015 2:45 am

RinoScremin wrote:after removing the switch the LED still will not blink the and the RX/TX LED blinks on the usb when attempting upload to the micro controller and the ardiuno is talking to the wright port, i don't think its a problem with the IDE cuz i tried it on two different computers


Hello,

I do apologize for the difficulty you are having. In most cases students are able to build the basic microcontroller circuit up and get going right away, so consider yourself unique :shock: .

It sounds like the USB-to-Serial converter is doing its job correctly with the Arduino IDE, so I can only recommend to double check (with a multimeter) the VCC/Reset pins are getting +5v and the GND pins are getting 0v (-- hold down the reset button...does the LED blink program run then?...maybe you wired it in backwards?). If you setup the circuit with power, grounds and reset connected and that LED off digital pin 13 doesn't blink, then I might say either the IC burned out (over-voltage or ESD) or the microcontroller's bootloader wasn't correctly installed.

As I mentioned before, the soonest I can get my hands on some hardware to help you out is Friday. I hate to keep you waiting that long but the gods demand it! In the mean time, alternative explanations of the circuit used in lesson 2 of the microcontrollers course can be found here:

[1] Breadboard Arduino on Instructables
[2] Breadboard Arduino on official website (this one doesn't have an auto-matic reset during programming so you have to manually press the reset button when the Arduino IDE starts uploading to the microcontroller)


Return to “Put'm Here”

Who is online

Users browsing this forum: No registered users and 3 guests