If this is not allowed here, can you please re-direct me to where I can ask my question.
I am currently building a project for my engineering class for school. What I am building is a arduino based concussion sensor for sports. It uses an accelerometer (with gyroscope) in order to detect the speed and magnitude of the force applied, shown here. It also uses a bluetooth transceiver module, shown here. The board is a LilyPad Arduino 328 Main Board, shown here. I am using some basic 3.7v batteries to power the board.
Now onto the issue. The board's built in LED used to flash consecutively, showing that it was on and functioning. However, now that I have attached the circuits, the LED with blink once, pause, then start rapidly flashing until it completely shuts off.
Below are the directions to which connections I followed for the accelerometer.
This being the accelerometer connections.
By clicking here, you can view a video of what my problem is. (sorry for the lousy video quality, vertical filming, and loud noise, I had to record it quickly before the end of class)
I plan on using the BlueTerm app to code the project, but want the rest to work before actually coding.
Not trying to be mean, but a video of a blinking LED doesn't help us debug your project. The fact that you didn't upload your code doesn't help either.
How much coding/electronics experience do you have?
First (to @Wawa), I made sure the 20k ohm resistor went to ground and the 10k ohm resistor want to the (TX) pin, with a wire in between going to (Rx) pin. I went to check with my teacher and he double checked to make sure they were the right resistors.
Second (to @Power_Broker), I don't have any code yet. I assumed that since the arduino was powering off, that the bluetooth receiver wasn't powered as well.
I'm sure it isn't a coding issue because there isn't any code. I believe, that the pictures I was shown were wrong, or there is some kind of error code the board itself is giving me.
CDun3:
Now onto the issue. The board's built in LED used to flash consecutively, showing that it was on and functioning. However, now that I have attached the circuits, the LED with blink once, pause, then start rapidly flashing until it completely shuts off.
I assume you mean the LED on the Lillypad.
That LED is connected to digital pin 13.
It's not a simple on/off indicator.
Flashing/on/off depends on the bootloader and/or program.
Leo..
CDun3:
First (to Wawa), I made sure the 20k ohm resistor went to ground and the 10k ohm resistor want to the (TX) pin, with a wire in between going to (Rx) pin. I went to check with my teacher and he double checked to make sure they were the right resistors.
Second (to Power_Broker), I don't have any code yet. I assumed that since the arduino was powering off, that the bluetooth receiver wasn't powered as well.
I'm sure it isn't a coding issue because there isn't any code. I believe, that the pictures I was shown were wrong, or there is some kind of error code the board itself is giving me.
Looks like your watchdog timer was initialized with a very fast rollover frequency. You are going to need to use a parallel programmer to burn a brand new bootloader onto the Arduino.
BTW, you didn't answer me. How much coding/electronics experience do you have?
@Wawa and @Power_Broker, It seems like you both have come to the conclusion of the problem being a boot loader issue. However, due to the fact I last took a digital electronics class (Project Lead the Way) around 2 years ago, I'm not exactly sure what that means. I would say I have a little bit above basic knowledge on electronics, and basic coding knowledge. If you could possibly provide some info on how I can re-lean this, that would be greatly appreciated.
Thanks!
The bootloader is what starts up your board. The term comes from the saying "to lift one's self up by their bootstraps." Just google it.
A watchdog timer automatically resets a microcontroller if it becomes unresponsive (times out) or begins to act erroneously.
What is happening is that the watchdog keeps resetting the Arduino before the bootloader has time to finish. Each time the LED lights up, the Arduino has just reset.
There should be tutorials on youTube on how to do this. Honestly, the easiest solution would be to buy a new board.