Thanks for the comment. I am not much of a forum person except for on here - I did not realize I was “double posting”.
As far as size, the mega is big and my thought right now is to figure out the code and wiring then maybe switch over to a nano board or Uno - both are smaller. Right now, though - I think Even this would be alright if the gauntlet were built around it. While I keep working on my build, my next step is to start working on figuring out how to incorporate whatever arduino board into a gauntlet. If anyone has pictures of doing something similar - please point me to your post or share here. Otherwise, a hunting we will go on the forums...
***************Update*************************
So I have a few things to update.
TFT Screen GauntletFirst I was able to get my screen working well with Mandoa font I uploaded to the screen, it is rough - but it works. My next steps are to add an "on/off" power switch and start to figure out how to build the gauntlet around the screen, etc. Not sure what I am going to do about that...
Helmet fanI have a fan with a battery pack and an on / off switch all together and working well. I just have to figure out where I can fit it into my bucket and mount it in there.
Arduino Nano Rangefinder stalk servo controlI decided to split the servo from he TFT screen to reduce the drain on the battery of that system. I have it all mocked up with a breadboard and two momentary switches but I want to change it over to use a single on-off-on toggle where one direction rotates the rangefinder up, off is just that - off, and the other direction drives the rangefinder back to the zero position. It works, but when I swap out the momentary switches for the toggle, when I flip the switch and leave it in the on position - the servo stutters horribly. If I switch it on and off quickly - it moves where it is supposed to. I have posted my issue to an Arduino forum for help, but if anyone here has an idea - I would appreciate an outsiders perspective. I think my problem is with the code - either how I have the loop setup or how I have the switch signals setup. Right now there are HIGH or LOW but it is acting like it is continuing to try and check the status constantly and because of that it just keeps stuttering till I switch it off. The first picture below is with the two momentary buttons while the second image is the setup with the toggle switch.


Here is my code right now. You can see I had some other things in there - LED's, but I have commented those out since I moved over to the nano board until I figure out how to do the servo rangefinder - then maybe I will add some lights....
//www.elegoo.com
//2016.12.08
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
// Use two buttons to control servo position.
// First button moves from 0 to 90 degrees
// Second button moves from 90 to 0 degrees
int pos = 16; // variable to store the servo position
//int ledPinR = 3;
//int ledPinG = 4;
int buttonApin = 9;
int buttonBpin = 10;
byte leds = 0;
void setup()
{
//pinMode(ledPinR, OUTPUT);
//pinMode(ledPinG, OUTPUT);
pinMode(buttonApin, INPUT_PULLUP);
pinMode(buttonBpin, INPUT_PULLUP);
myservo.attach(10); // attaches the servo on pin 9 to the servo object
}
void loop()
{
if (digitalRead(buttonApin) == HIGH)
{
//digitalWrite(ledPinR, HIGH);
//digitalWrite(ledPinG, LOW);
for (pos = 90; pos <= 180; pos += 1) { // goes from 00 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
//delay(1000); // waits 15ms for the servo to reach the position
}
}
if (digitalRead(buttonBpin) == HIGH)
//else
{
//digitalWrite(ledPinR, LOW);
//digitalWrite(ledPinG, HIGH);
for (pos = 180; pos >= 90; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
//delay(1500); // waits 15ms for the servo to reach the position
}
}
}
******update********
I got my servo switch working nearly 100%. I cleaned up some wiring and started working towards how I will work it into my bucket and that is where i hit a snag. I have been looking on the forums for a rangefinder that I could use to run the wires up the stalk and install some lights in the top - but I cannot seem to find any. I also tried searching for any how-to's as to how make my own and recommended materials. If anyone has any recommendations or links they can share to how I can go about making such a rangefinder, I would appreciate it. I am also hoping maybe someone has an idea as to what is causing some random strange behavior in my setup.
My setup is a nano with an on-off-on type switch. When I first turn on my nano, it sets the servo to a certain position - up. When I flip the switch it turns 90 degrees (down) and turns on some lights. When I turn the switch to off, the lights stop. When I flip the switch to the other on position, it rotates back to the starting up position. The problem I am having is the seemingly at random times, the servo will turn 90 degrees without me flipping the switch. I am thinking this may mean I need to add a capacitor or resistor somewhere in my circuit - but my knowledge of electronic circuits is at it's current maximum.
Any feedback or help would be greatly appreciated.