Post by The Tinkerers Apprentice on Oct 18, 2015 22:48:47 GMT
It does feel great! I will definitely post pics and hopefully video, (my videos are wanting to turn sideways and I can't figure out how to keep them from doing that), soon. The innards are pretty rough looking, because it was my first attempt at any kind of metal fabrication, so it's definitely no PRO-fessional job , but it seems to be working, so that's what's important to me!
You've saved Halloween......again! I've been working on this thing for a few months and just didn't think I was gonna get the sound to happen. Now I'm just having a little trouble finding the exact type of raven sound I'm looking for, but I'll have no problem settling for what I've already found at this point! Thanks again SO much, you're truly the best!
Post by The Tinkerers Apprentice on Oct 23, 2015 21:52:02 GMT
Okay, new problem ;(. Everything is working great...I got 3 different transistors wired up for 3 different sounds, and they all work (woohoo!!). Now, I'm trying to hook up a pushbutton to activate the Maestro, which will then run my script on startup. I've followed the directions in the users guide, and even tested it out as they said to test it, and I'm getting the correct readings on the status page, but it appears that the pushbutton isn't doing anything at all. The script just automatically runs on startup, whether I push the button or not. And when I push it after it begins running, it doesn't stop it. I hate to ask for even more help, but I don't know what else to do....I don't want this bird to be running for 3 hours straight! I want to be able to push a button, have it run through a 10 second or so routine, and then quit till I push the button again.
I've connected a 100k resistor to the 5v, then wired that to the switch and the signal line of one of my channels, then run the ground from that channel to the switch. I changed the channel to input and saved it. Then I tested it by pushing the button...it read 0. When I let up on the button, it reads 255.75, which according to the guide, is exactly what's supposed to happen. I'm now using the Mini Maestro 18 channel, because the micro 6 channel didn't have enough channels for all my stuffs! Any help would be greatly appreciated. Also, I can't find anywhere to post pictures ;( I'm clearly technically challenged.....
Can I not just wire the switch through my power supply like I've done with every other switch I've ever installed? I'm afraid to try that because I don't want to fry the controller if that's not the proper way to do it.
Post by The Tinkerers Apprentice on Oct 23, 2015 22:53:48 GMT
I found how to add pictures (Ive been using the mobile version, so it wasn't visible), but now its telling me my pictures are too big. I'll keep working on it so I can actually show you what I've done....might make it easier than just me explaining my problem.
Post by The Tinkerers Apprentice on Oct 24, 2015 1:26:55 GMT
I have not (mostly because I didn't think about it, but also now that you've mentioned it I realize I don't know how to do it, I do have a good multimeter though), but I've used 2 different switches and the status indicator on the Maestro control center is showing the correct numbers (high/low) when I push and release the buttons. Would that happen if the switches were bad?
After reading the manual I don't think it's your switch and it appears that you have everything connected correctly. How are you powering the board? Are you powering everything from a single power source that is hooked up to the servo power input? If so, is it hooked up correctly as described on page 66 of the manual?
Post by The Tinkerers Apprentice on Oct 24, 2015 13:11:35 GMT
Thanks for taking the time! I really read and searched and reread and looked over all my connections before I posted earlier, in the hopes that I hadn't just done or overlooked something stupid. I'm sure that I probably have....but I can't find it, lol. In the manual it says "wire a pull up resistor (1-100 Kilo-ohms) between the signal line and 5v.....". 2 questions: does that mean 1,000-100,000 (I thought kilo means thousand in this situation), and secondly.....does that mean I can use any resistor between 1,000 and 100,000? I started with the 100,000 because I wanted to be safe, but when that didn't work, I changed it to a 47,000 because that was the closest I had to the middle of the range. Do I maybe have too much resistance between the 5v and the switch? (Sorry if this is a stupid question.....)
I have it hooked up just like it says in the section of powering the controller (the 18 channel, not the 6 channel) with a single power supply (I'm using a 4AA battery pack)...screwed into the servo power terminals in the lower right corner of the controller and then I have the dark blue shorting block connected between "vsrv=vin" in the left corner right next to the red wire going to the button switch.
My final plan is to power the controller through the 5.5v connections of a re-purposed pc power supply that I converted last year, and to power the adafruit soundboard through the 3.3v connections, but I wanted to make sure all my stuffs were working correctly before I introduced something else into the mix.
No your resistor is fine and you're getting the correct values. The resistor is there to keep it from being a floating input. After reading the manual I think the switch example is used for writing a script when you want to use a push button as a digital input to perform an action.
I don't see any reason why you can't get rid of that and use an on/off switch between your power source and the maestro. You turn the power on and it runs your script on startup. I've done this before with an Arduino to save power and it works just fine.
Post by The Tinkerers Apprentice on Oct 24, 2015 18:17:59 GMT
Woohoo! The switch works being hooked up directly to the battery packs! I've got the wrong type of switch though, it only stays on while it's pressed. I just need to get the kind that turns it on when you press it and then when you press it a second time, it turns it off. The types of switches confuse me so I don't know what it's called, but you've gotten me on the right track and I'm very thankful!
As soon as I've got it all permanently wired up, I'll post pics!
Post by The Tinkerers Apprentice on Oct 24, 2015 19:55:21 GMT
So, I'm just going to use a toggle switch. Wired it up to my battery pack and it did exactly what I wanted...ran through my 3 different sounds and moved the way I wanted, but when I wired it up to my pc power supply at 5.5 volts, it just wants to run the same sound over and over, the very first sound in the sequence. I'm not sure why that would be happening because I thought the board was actually set up to run at 5 volts instead of 6, but I clearly don't know anything about this stuff, lol. It's working perfectly fine now that I've hooked it back up to the battery packs. I'm going to just use the 4 AA battery pack for the Maestro and the 3 AAA pack for the soundboard...it all works with that set up and I've still got to get it put together on it's bookshelf, put the final sequence together and sculpt some legs for it....plus set up the whole rest of the "swamp" scene in my carport before next Saturday night!
The only reason I wanted to use the power supply instead of the battery packs is because I'm afraid the batteries will run out on me before the night is over, but that's probably just me being paranoid. I'm sure they'll be fine! As soon as I've got it all completed I'll post some pics, couldn't have done any of it without you!