fourfour Posted May 20, 2013 Report Share Posted May 20, 2013 I'm stuck again :/ I am new to hardware dev, I come form the software side of things. I appreciate everyones help getting me off the ground. I have a DIN connected to J8 and a single button. I am trying to get the 'first steps' one button test to work. There is voltage and the button works. Am I correct that the button gets wired to ground and D0? I get a voltage drop when the button is pressed, but nothing happens in MIOS. Thanks!! Quote Link to comment Share on other sites More sharing options...
Spirit Posted May 20, 2013 Report Share Posted May 20, 2013 Yes if the button is Unpressed it should be around the 5V and if you press a button it should go to 0V Did you add a EVENT to the button so it actualy does something? /Spirit Quote Link to comment Share on other sites More sharing options...
fourfour Posted May 20, 2013 Author Report Share Posted May 20, 2013 Hey Spirit. Ya I get the voltage drop to 0V when the button is pressed. I have this in HELLO.NGC RESET_HW EVENT_BUTTON id=1 type=NoteOn key=36 Quote Link to comment Share on other sites More sharing options...
novski Posted May 21, 2013 Report Share Posted May 21, 2013 There is a first steps tutorial on ucapps.de Klick on Midibox_NG Ther you can find all informations about signaling a button. Best regards Novski Quote Link to comment Share on other sites More sharing options...
fourfour Posted May 21, 2013 Author Report Share Posted May 21, 2013 @novski I am following that 'first steps' tutorial Quote Link to comment Share on other sites More sharing options...
Duggle Posted May 21, 2013 Report Share Posted May 21, 2013 It sounds like the button is wired o.k What about the core to DIN PCB connections? With the power off and the multimeter set to continuity, check each of the 3 lines: clock, data, RC between the pads of J8 and the pins of the first shift register. Quote Link to comment Share on other sites More sharing options...
fourfour Posted May 21, 2013 Author Report Share Posted May 21, 2013 @duggle Ok, I tested all the connections. The clk, data and RC all beep ok from the core to the first shift reg. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
novski Posted May 21, 2013 Report Share Posted May 21, 2013 I scanned my PCB before soldering, i will attach it, so you can see the names of the Pins you are connecting. Also check if you have bad connections. I can see pinheads with something on them like a D-Sub Female connection stuck in a Pinhed-female - why? Quote Link to comment Share on other sites More sharing options...
fourfour Posted May 21, 2013 Author Report Share Posted May 21, 2013 It all seems to be hooked up fine. I just had some jumper wires laying around that I crimped some dsub connectors to. All those are passing current fine. Do you have to #include a NGC file for it to load? Or does it load every file on the SD? Quote Link to comment Share on other sites More sharing options...
novski Posted May 21, 2013 Report Share Posted May 21, 2013 i can't follow you. there is a default .NGC witch will be loaded automatically. If you don't want to load automatically you can "set autoload off" (more in the help by tipping "help" in to the command line of MIOS32 application...)hmm, i just recognized that you connected the cables on J1 to the inner row. Try the outside row. Quote Link to comment Share on other sites More sharing options...
fourfour Posted May 21, 2013 Author Report Share Posted May 21, 2013 woot. @novski that was it! Again, thanks for the help everyone. Quote Link to comment Share on other sites More sharing options...
novski Posted May 21, 2013 Report Share Posted May 21, 2013 no problem. Just for information: the pins you used are for the DOUT modul connection. They are bypassed over that pcb to make it possible to chain DIN and DOUT over a single DIL (Dual In Line) Ribon Cable... cheers, novski Quote Link to comment Share on other sites More sharing options...
rubby Posted August 17, 2013 Report Share Posted August 17, 2013 does the autoload off mean, the only the custom-ngc's are loaded, instead of the default-files? greeeez rubby Quote Link to comment Share on other sites More sharing options...
John E. Finster Posted August 17, 2013 Report Share Posted August 17, 2013 Hi, "autoload off" means, a file is not loaded automatically anymore, when you upload it onto your box or edit and save it in the editor. If you disable this feature via Mios terminal, you can only load your scripts if you use the "load <script.ngc>" command in the terminal. The default script always gets loaded, when you power up your box. my regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.