Hi all.
Getting much closer in finishing the mechanism for my helmet.
Electronics are still getting on my nerves.. not my specialism so 2 speak.
Most of it works but i cant seem to figure out how to get my electronics to work with an external power source.
My setup is really like in the first post. now with the breadboard and my arduino nano attached..
With the usb from my Imac to the NANO, the 2 servos work perfectly directly of the Nano 5V output.
I first tried to attach a 9v battery to the Vin of the Nano. and a 6V (4AA) batterypack to the servos. Did not work. Switch didnt work, light did not came on, and on of the servos fried! (yes i also tried 4 rechargable AA = 4,8V). NO Working servos.
Then i yesterday came across a GP portable USB charger, that gives 5V and 1000 Mah output. Same as a PC. But still didnt work. light of the NAno was on but no servo action and light action. I really thought this little thing was the perfect solution. WHERE DOES THIS GO WRONG?
Also i have little trouble with the light. I first tried LEds in serial, but for best light result i want to attach a 9V battery to the LED strips i bought. They light up really nice. The only problem i have now... How to attach this to the NANO to get the blinking and fading effect. Will some kind of Relais do the trick? S/+/-?
Any help would be VERYYYYY welcome.
Thanks guys!
Ok after reading all 400 pages of this thread... Lol... There is so much info my head is starting to spin with so many ideas... I wanted to chime in and make a list of what I wanted to make on my helmet... And see if someone(s) would be able to help me put a list together of everything I would need, because I am new to all of this... So here goes...
I want the face and jaw to open and close, the eyes to light up and would love to have Jarvis initializing setup, and talking to me... I am looking at installing video glasses and a pinhole camera like I have seen a few peoe on this thread already talk about... I am pretty sure the electronics for that I can handle, but as far as for the rest... Well I need some help... And how is everyone making the helmet open and close once it is completed... All I have seen is the push button on the Arduino board...
Well I have a while before I begin diving into the electronics... I have to build my suit first... But I did get an awesome Father's Day present to help me along with that... It's a Silhouette Cameo.... And can be used with Pepakura...View attachment 199458
I was helping my boyfriend build his suit and had so much fun I'm making my own. This thread has been a lifesaver! And now the servos and everything work; we just need to figure out a decent hinge system, but that seems much more user friendly to me than the coding was.
Guys i have some great news what would be maybe usefull for everone who uses a chip with USB connection.
As a "Electrician", i need to say that is not that useful, somethings are not OK with your electrical setup.
I'm doing this so you can learn some more on this field.
How the Arduino works in its misterious ways:
The Arduino was designed as a smart control platform. Not to provide power to loads, with that in mind,
the Arduino have a max output of 40mA (0.04A) limited by the micro-controller, anything beyond this will work for a short period of time, but it also will damage the micro-controller very quickly due overload and overheating.
----------------------------------------------//---------------------------------------
The servos magic:
In the spoiler you can see the "universal" specs of 9G servos (the ones you are using)
looking at the datasheet we can see that the Idle current is 2mA, that's totally compatible with the Arduino output, but the running current is 255mA in the best scenario. This is 638% over the Arduino output limit, it will work for a few, but over the time it will damage your Arduino board.
To prevent that, you need to run your servos with a dedicated battery pack, preferentially a regulated Vout one.
----------------------------------------------//---------------------------------------
Bling, Bling:
Lets talk about the LED now, it is working nice cause you only have 1 LED on the board, this one LED is just using 20mA, and this is fine for the arduino, since it can handle 40mA on the output, but, put 2 more in series and you will be in trouble, like the servos you need to run them on a dedicated battery pack.
The right way to apply the LEDs this project is to put them in parallel and connects them to the regulated 5V battery pack, each led with its individual resistor to limit the current.
If you want to keep the fade effect, it will be necessary to use transistors, which operate basically as a relay, but at the same time has the ability to limit the current on the output, using almost no current on its control pin.
----------------------------------------------//---------------------------------------
The sorcery of the single battery pack:
how to use a single battery pack for the whole circuit?
you will need to use a nice battery pack, with 2000mA/h or more, with 7.4 ~ 9V, and regulate the output for your needs.
http://i3.photobucket.com/albums/y87/oozi/powercircuit_zpsb3eb6640.jpg
You can see in the image that we have a single battery pack, supplying power to the Arduino and to a regulated 5V load at the same time, saving the Arduino from the effort of providing current to the servos and protecting it, this way you are making sure that the Arduino board is working inside the current limitations. (also, you can see that all the GND's are connected together, the battery pack GND, the Arduino GND, the regulator GND and the load GND)
I hope this can help you and perhaps others who are having the same problems.