Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
Previous Page
/ 52
Next Page
4/4/2017 11:33:23 PM EDT
[#1]
Quote History
Quoted:
Update 4/4

Are we going in circles, cause it sure seems that way.


The program was tested for several hours today.  We had one little accident where the limiter switch part of the program got messed up and didn't stop one of the doors.  It did minor damage to the inside skin of the door in one spot that we quickly fixed.  

TopMen spent hours rewriting the code, then testing it.  It finally completed all of the tests successfully,  so tomorrow we get real time again for tests.  

Now, when the power goes out, the real time clock will pick up where the program left off and no reset will be necessary.  

ETA:  The arduino was again trying to make decisions for itself.  It refused to talk to the PC....ever, even though the PC would talk to another test unit.  They updated drivers, all kinds of things but it would never work.  The Mac also had teoubles, then it didnt.

TopMen found this hilarious, as his instructor was giving him shit about his Mac not working. The PC never did work.  
View Quote
Sometimes Arduinos won't latch onto the program download if they are spitting out a ton of printed debug output (only available interface unless you have an  AVR ICE, which I doubt).  

Were any coding flaws found with the debug output, or has the debugging output only caused complications?    Once it is working properly, comment out the debug lines except for the bare minimum where problems occur (at door close/open).     Has TopMen done an AnalogRead of the Current sense inputs on A4 and a5 (or was it 2 and 3?) on the board, or does that clone board not have those connected?    Catching that should be a backup to prevent the actuator from crushing itself again if the 'typical values' are known.

I'd really suggest setting up a second Arduino in the lab with the same motor driver board and clock, hooked to the 'spare' two actuators for debugging and testing, use a big spring to simulate door load (or a brick).   That way when it's all working, there's a ready to go spare system to plop in if the display one stops working as well.
4/5/2017 1:15:51 AM EDT
[#2]
How much does an Arduino run?
4/5/2017 1:31:39 AM EDT
[#3]
Quote History
Quoted:
How much does an Arduino run?
View Quote
Depends on which one.  About $10 to $30 depending on which speed/size you want.

The motor shield is the spendy part, at $80 (non-clone, half that for a clone) since it can control a large amount of current and has many features.    The clock add on is probably $25 or less.
4/5/2017 7:50:09 AM EDT
[#4]
Quote History
Quoted:
Guns...I'm far from a code guy, having only done the minimum required programming classes in engineering school.  I was very much a brute for coder and my programs were usually much simple, but much much longer than others in my class that were smarter and more talented.

So with that disclaimer, how does the controller know the doors are "closed" based on how Top Men has it set up today?   Is there some positive feedback from actuator position that is interpreted as full open and full closed?

Back to our discussion a while ago where I was concerned about the weight of the doors when inverted and having the actuators only on the side closest to the tail, I wonder if some of the door flex may be leading to the inconsistency in position when closed.   The magnets are supposed to help with that, but thinking that some of the binding you are talking about is coming from door and frame flex as the entire structure settles after being hung in its final state.

The limited experience I have with machines is that when you want to verify something is closed like this, that a limit or proximity switch is usually included to positively confirm closure, and also check with what other parts of the system are saying.  So not wanting to add further complexity, but wondering if as it stands, the program is relying 100% on the actuator position to determine the doors are "closed" and some of the variability and flex in the system is giving it periodic fits, to the point of gumming up the coding loop.

It may be that I'm a mile off on what is happening, but to my very simple mind it seems to be a plausible explanation.   It also might be Occam's Razor here too...
View Quote
The limiter switches tells the arduino if the doors are open or not, as far as I can get out of his explanation.  I'm probably missing much of what'd going on, but I'll share what I can remember.

The weight of the doors really is pretty minimal.  They are staying in shape when closed,  we don't need the magnets we talked about.  It was the friction that was causing the problems.  

Yesterday, the problem came from trying to incorporate the real time clock into the code.  This has been a whole new ball of wax.  Since it now uses real time to determine if the doors are supposed to be open or closed, it created a couple minor code problems.  He had to tell it to check for time once per minute, as that had caused the arduino to continue to try to close the doors after the switches had been hit, and the time had run out.
4/5/2017 7:55:03 AM EDT
[#5]
Quote History
Quoted:

And bi-polar.



This is probably something that you guys have already tried:  switch out the entire Arduin unit?  Maybe it's defective with  an intermittent fault and Top Men's code wasn't the major problem?
View Quote
This was my suggestion too, but they still think it's a laptop/software interface glitch.  The Mac app supposedly isn't as well done and causes the mac to shut down the USB port.  I'm not sure what their excuse is for why it won't interact with the pc.  
4/5/2017 7:57:59 AM EDT
[#6]
Quote History
Quoted:
How much does an Arduino run?
View Quote
We have a spare, just in case.


They think they have this all worked out.....again.


We will see this morning.  
4/5/2017 11:33:57 AM EDT
[#7]
Quote History
Quoted:
Update 4/4

Are we going in circles, cause it sure seems that way.
View Quote
Uh, orbits? Sounds about right for a space shuttle!

Thanks for all the great threads Guns.

I know you are putting a lot of time into keeping all the folks here updated
4/5/2017 11:45:23 AM EDT
[#8]
Update 4/5   First test successful.  
We have a successful test!  First closing happened on time.  Next test in 87min.  Next at around 10:55am MDT
Attached File
4/5/2017 1:27:15 PM EDT
[#9]
Quote History
Quoted:
Update 4/5   First test successful.  
We have a successful test!  First closing happened on time.  Next test in 87min.  Next at around 10:55am MDT
https://www.AR15.Com/media/mediaFiles/1292/20170405-092827-181402.JPG
View Quote
You didn't....
4/5/2017 2:23:36 PM EDT
[#10]
Quote History
Quoted:


You didn't....
View Quote
87 minute door cycles has been the intent for some time now. 
4/5/2017 2:23:47 PM EDT
[#11]
Quote History
Quoted:
Update 4/5   First test successful.  
We have a successful test!  First closing happened on time.  Next test in 87min.  Next at around 10:55am MDT
https://www.AR15.Com/media/mediaFiles/1292/20170405-092827-181402.JPG
View Quote
Honestly, if there weren't walls and other structural elements around it to denote scale, you'd have a tough time telling that wasn't an actual orbiter.
4/5/2017 2:43:56 PM EDT
[#12]
Quote History
Quoted:
87 minute door cycles has been the intent for some time now. 
View Quote
Must've missed that part.
4/5/2017 2:49:28 PM EDT
[#13]
Can we start a fire mission to name you teacher of the year?


That
Is
Awesome.

Congrats to your students and to you!!

4/5/2017 4:15:13 PM EDT
[#14]
Quote History
Quoted:
This was my suggestion too, but they still think it's a laptop/software interface glitch.  The Mac app supposedly isn't as well done and causes the mac to shut down the USB port.  I'm not sure what their excuse is for why it won't interact with the pc.  
View Quote View All Quotes
View All Quotes
Quote History
Quoted:
Quoted:

And bi-polar.

This is probably something that you guys have already tried:  switch out the entire Arduin unit?  Maybe it's defective with  an intermittent fault and Top Men's code wasn't the major problem?
This was my suggestion too, but they still think it's a laptop/software interface glitch.  The Mac app supposedly isn't as well done and causes the mac to shut down the USB port.  I'm not sure what their excuse is for why it won't interact with the pc.  
Probably won't speak to the pc because doesn't like the way the pc acted when introduced to the latest of the Arduino's many manbun sporting barista boyfriends.
4/5/2017 4:23:57 PM EDT
[#15]
"If you don't know why I'm not talking to you, I'm not going to tell you!" Arduino is definitely a female.  
4/5/2017 5:03:11 PM EDT
[#16]
All cycles have been on time.   No problems.   We may go for full throttle up and plug it into the new built in outlet tonight.  


We are hanging the display case tonight.  We hope to have all the memorabilia displayed tomorrow for pictures.
4/5/2017 5:57:50 PM EDT
[#17]
Soooooooo when are you going to have them do a Aircraft Carrier? Say maybe a Nimitz Class?
4/5/2017 6:33:50 PM EDT
[#18]
Shuttle Panther you are go for throttle up!  




We've switched to built in power.   We will check it again tonight at 8:45pm to see if the doors open again after the power switch.  


Pictures coming.   Ladders and lift have been removed from the area for tomorrow.
4/5/2017 7:26:31 PM EDT
[#19]
Quote History
Quoted:
Shuttle Panther you are go for throttle up!  




We've switched to built in power.   We will check it again tonight at 8:45pm to see if the doors open again after the power switch.  


Pictures coming.   Ladders and lift have been removed from the area for tomorrow.
View Quote
Keeping it real.
4/5/2017 7:52:38 PM EDT
[#20]
Update 4/5

We got the display case mounted on the wall, but the top will be installed tomorrow morning after we put in all the memorabilia.



Ladders and lift have been removed.  If all goes well, all try to get some video as it opens up tomorrow at 8am.














4/5/2017 8:13:08 PM EDT
[#21]
That is just so Dang Cool!
4/5/2017 8:23:48 PM EDT
[#22]
I'm about to turn arfcom loose on the mission patches.  I believe we have plenty for all.

I have a young man who has volunteered to collect orders via email.  I would post his email (his gmail address)here and those wishing to purchase a patch for $6 would send him the request with their mailing address.  

He would address the envelopes and keep an up to date list of all requests.   It would be an honor system.  We would send the patches out to arfcommers and when they received them, they can send the $6 back via snail mail.  

Anyone see any problems with this?  Exposing his gmail?
4/5/2017 8:30:45 PM EDT
[#23]
Looks amazing.

No bullsh!t.

4/5/2017 8:39:45 PM EDT
[#24]
Quote History
Quoted:
I'm about to turn arfcom loose on the mission patches.  I believe we have plenty for all.

I have a young man who has volunteered to collect orders via email.  I would post his email (his gmail address)here and those wishing to purchase a patch for $6 would send him the request with their mailing address.  

He would address the envelopes and keep an up to date list of all requests.   It would be an honor system.  We would send the patches out to arfcommers and when they received them, they can send the $6 back via snail mail.  

Anyone see any problems with this?  Exposing his gmail?  
View Quote
No , but why not make a new email address just for the patches, and then burn it afterwards?
Looks great guns!! As for your next project, how about a tall ship, something from the 1700's??
4/5/2017 9:18:37 PM EDT
[#25]
Quote History
Quoted:



No , but why not make a new email address just for the patches, and then burn it afterwards?
Looks great guns!! As for your next project, how about a tall ship, something from the 1700's??
View Quote
Great idea. But maybe generate a gmail account for the class so it can be reused in the future for other projects.
4/5/2017 9:56:40 PM EDT
[#27]
Here is the WY State duck stamp winner and article in the local paper.

Attached File


http://powelltribune.com/news/item/15866-phs-student-wins-best-of-show-in-statewide-duck-stamp-contest
4/5/2017 10:13:52 PM EDT
[#28]
guns, any email addy exposed in the clear on the interwebz will receive an unbelievable amount of spam.  Set up a PayPal account and folks can send their $6 in, & put their address in the memo field?
4/5/2017 10:19:00 PM EDT
[#29]
Quote History
Quoted:
guns, any email addy exposed in the clear on the interwebz will receive an unbelievable amount of spam.  Set up a PayPal account and folks can send their $6 in, & put their address in the memo field?
View Quote
I'll have him set up a new Gmail account for the class.
4/5/2017 10:44:12 PM EDT
[#30]
Quote History
Guns, congrats on that!    Not to thread jack in anyway, but seeing that was very timely.  We just found out tonight that our daughter won first place in grades 4-6 for Indiana.  It wasn't best in show so won't go to the federal competition, but we're really proud of her.  This was her first try at this!
Attached File
4/5/2017 10:46:05 PM EDT
[#31]
Quote History
Quoted:


Guns, congrats on that!    Not to thread jack in anyway, but seeing that was very timely.  We just found out tonight that our daughter won first place in grades 4-6 for Indiana.  It wasn't best in show so won't go to the federal competition, but we're really proud of her.  This was her first try at this!
https://www.AR15.Com/media/mediaFiles/181534/Ava-duck-stamp-181824.JPG
View Quote
Awesome!!  Congrats to her and you!  
4/5/2017 10:51:03 PM EDT
[#32]
Quote History
Quoted:


Awesome!!  Congrats to her and you!  
View Quote
Thanks!   Big time proud dad right now!  
4/5/2017 10:58:19 PM EDT
[#33]
Just got an update from TopMen.  Doors opened again on time tonight at 8:49.  This, even after unplugging and going throttle up with the installed power supply.  


He's pretty proud tonight.



Hopefully the closing at 2:10 will go smoothly, cause we won't be there to monitor it.
4/5/2017 11:05:34 PM EDT
[#34]
That entire display looks fantastic!  Looking forward to a couple mission patches.
4/5/2017 11:09:54 PM EDT
[#35]
Quote History
Quoted:
Just got an update from TopMen.  Doors opened again on time tonight at 8:49.  This, even after unplugging and going throttle up with the installed power supply.  


He's pretty proud tonight.



Hopefully the closing at 2:10 will go smoothly, cause we won't be there to monitor it.
View Quote
4/6/2017 9:20:54 AM EDT
[#36]
Slight problem this morning.....



It didn't close at 2:20, or it did, and it reopened before it should.   Anyway....probably a minor error in the code again that will need addressed.


Display contents are all in the box this morning, except the G.I.Joe Commemorative box; it's too deep, and there isn't enough room if we include the Wikipedia articles about Columbia.

I'll post photos hopefully before we put the top on it, so if changes need to be made we can do it before it's sealed down.
4/6/2017 10:58:16 AM EDT
[#37]
Pictures are done.   Many students forgot to wear their shirts.    Ugg.   Some forgot to even come down, even with an all call.   I probably did not pick the right angle.   I pretty much failed on that.  



TopMen thinks he has an idea of what happened with the code last night.   It could be as simple as not adding "00" after 2, or before "0" in front of it.  

Display case is finished and complete.  It looks very nice.  





TopMen, a very special picture for me.


People who managed to wear their shirts today....    Principal and Custodian could not be there.




4/6/2017 10:58:59 AM EDT
[#38]



does anyone there have a paypal account? that would expedite things a bit and keep people honest.
4/6/2017 11:37:44 AM EDT
[#39]
Awesome pictures of the finished product!
4/6/2017 12:30:31 PM EDT
[#40]
That really is spectacular.  I thought the u-boat would be hard to top. Perhaps it's the subject matter, a favorite of mine, but the entire package is the most impressive thing I've seen in a long, long time.

You and all the young artists involved are to be congratulated.

Bravo Zulu!
4/6/2017 12:36:03 PM EDT
[#41]
I would guess this would be in the top 10 projects completed by any high schools in the US for 2017.  Probably higher, but who knows, some class probably built a house for homeless people.  The way that this display contains the main focus, but also the murals and wall displays, is amazing, and you and your students deserve amazing praise.

I am disappointed that no one in ARFCOM was able to find a good NASA contact.  I tried... I sent out a lot of emails, facebook messages, and twitter.  No responses, that I am aware of.
Has anyone considered contacting your Congressional Reps or Senators, or your Governor, or State Sec of Education?  This might be a path to some NASA contacts?
4/6/2017 12:38:15 PM EDT
[#42]
Quote History
Quoted:
I would guess this would be in the top 10 projects completed by any high schools in the US for 2017.  Probably higher, but who knows, some class probably built a house for homeless people, or took in some Syrian rape-ugees or something.  The way that this display contains the main focus, but also the murals and wall displays, is amazing, and you and your students deserve amazing praise.
View Quote
I agree.

Who here knows people to help get this thing national?

Guns, do you have a link to the photobucket album for the shuttle that's parsed down a bit, and maybe a writeup?   I don't want to be sending the Fox affiliate a link to this thread.
4/6/2017 12:39:05 PM EDT
[#43]
Quote History
Quoted:
I agree.
Who here knows people to help get this thing national?
Guns, do you have a link to the photobucket album for the shuttle that's parsed down a bit, and maybe a writeup?   I don't want to be sending the Fox affiliate a link to this thread.
View Quote
I edited as you were posting
4/6/2017 1:07:08 PM EDT
[#44]
Perhaps drop a line to Keith Cowling @ NASAWatch?
4/6/2017 1:24:15 PM EDT
[#45]
Very impressive display, gun762 you are a GREAT teacher.
4/6/2017 2:33:08 PM EDT
[#46]
Quote History
Quoted:


I agree.

Who here knows people to help get this thing national?

Guns, do you have a link to the photobucket album for the shuttle that's parsed down a bit, and maybe a writeup?   I don't want to be sending the Fox affiliate a link to this thread.
View Quote

https://www.flickr.com/photos/104071127@N08/albums/72157672737398836/page9
4/6/2017 3:13:48 PM EDT
[#47]
Ok,

Here is the email for ordering Mission Patches

[email protected]

Send an email requesting a patch with your shipping address, and your arfcom name.     When we get yours shipped, we will send you an email.    We are going to do this on the honor system, and you can send funds back to the school using the return address.  Just add PHS Art Dept to the address.    We will take checks and cash.  $6.00 is the cost, and includes shipping.

They are gone when they are gone, and this will be first come first serve.   My student will keep track of who orders first.   I will update the thread with info as I get it from him.   I think we have a few over 50,  so there should be plenty.


4/6/2017 3:21:40 PM EDT
[#48]
TopMen was missing an "="  in one spot in the code.  It is now updated and again functioning properly, opening/closing on time, every 87min.
4/6/2017 4:25:59 PM EDT
[#49]
Quote History
Quoted:
Ok,

Here is the email for ordering Mission Patches

[email protected]

Send an email requesting a patch with your shipping address, and your arfcom name.     When we get yours shipped, we will send you an email.    We are going to do this on the honor system, and you can send funds back to the school using the return address.  Just add PHS Art Dept to the address.    We will take checks and cash.  $6.00 is the cost, and includes shipping.

They are gone when they are gone, and this will be first come first serve.   My student will keep track of who orders first.   I will update the thread with info as I get it from him.   I think we have a few over 100, so there should be plenty.


https://c1.staticflickr.com/3/2945/33838869606_b48f743170_h.jpg
View Quote
as an added fund raiser, you can sell email addresses, once this is complete. 
4/6/2017 4:27:00 PM EDT
[#50]
I emailed your Senators and Representative suggesting some recognition of the students and/or teacher

Sign up to continue the discussion

Create a free account to share your thoughts, follow topics, and connect with the AR15.COM community.

Already a member? Sign In

Previous Page
/ 52
Next Page