Jump to content

nzmsim

Members
  • Posts

    7
  • Joined

  • Last visited

nzmsim's Achievements

MIDIbox Newbie

MIDIbox Newbie (1/4)

0

Reputation

  1. Thanks nILS and SLP for your answers! Think I'll just go with battery/wall-adaptor solution.
  2. Ok! I know I have one of those cables laying around somewhere, so maybe I'll give it a try. One question thou, the specified input for the core is 7-10V, so if i wanna try the USB-mod must I bypass the voltage regulator? If so would this be possible without desoldering any components? maybe by connecting thp 5V from the USB to J2?
  3. I'm glad your PC survived relatively unharmed! :) Thanks for the pointers! I've measured my core and I read 114mA, so I guess it wont work, bummer. I,ll stick with the adaptor and use a battery pack for when I'm on the go, It would have been nice with a usb powered all-in-one box thou :(
  4. Ok, thanks! What happens if the current goes beyond 100mA? I've seen usb-devices such as lamps, fans and even coffee-heaters, are these passive or do they communicate with the HUB to request current? I'll check the consumption of my MIDI-cable. When i measure current, do I just measure it over +5V and ground on the board or do I have to break the circiut in order to get a proper reading? (I dont want to short out my computer :)) About the blacklist, I saw it after I bought the midi-cable and was a bit bummed my ( ebay no-name cable) was blacklisted. At first it didn't work but I later discovered it was due to a loose midi IN connector. Fix it and now it works perfectly. As for the IR-leds, I'm making a scratch controller as the one rasteri made, they are for the quadrature encoder. I just finished my first shoe box enclosed prototype last week and it works like a charm.
  5. Hello! I have a core module running with two IR-leds. To minimize the amount of cables for my box I'm thinking of integrating my usb midi cable and core into one enclosure and feed the the core directly from the 5V on the midi cable board. Would this be possible? /Jonas
  6. Ok, solved problem nr one, IR sensors now working. But problem with the touch sensor remains. I wired everything according to the scheme and tried different size resistors but still no output. Any Ideas? Im guessing the problem lies in the wiring but heres the code in case it helps figuring it out: /* Strobe + check touch sensor. Nasty hack. */ PORTDbits.RD4=1; for (average=0; average<TOUCHSENSOR_DELAY; average++){} // delay loop capsense+=PORTDbits.RD0; PORTDbits.RD4=0; /* Check last 5 touch sensor readings */ delaycount++; if (delaycount==5){ if (capsense>=4) touchval=0; else touchval=1; if (touchval != oldtouchval){ MIOS_MIDI_TxBufferPut(0x90); MIOS_MIDI_TxBufferPut(60); MIOS_MIDI_TxBufferPut((touchval)*127); oldtouchval=touchval; } delaycount=0;capsense=0; }
  7. Hi! I came across Rasteris scratch controller on youtube and i'm now in the works of making one myself. My first prototype is almost done but I'm having some problems getting the sensors to work. The core module is up and working and the x-fader works properly. I have wired everything up according to the schematics (attached) but the touch sensor Isn't working at all, no I/O in Mios studio when touched. The second concern i have is with the IR-photo diode setup. I took my IR sensor out of a ball-type mouse and from what I understand its a two phototransistor setup with shared pin for the collector. Where can I get a photo diode that will work or how can I adapt the scheme and code to work with the photo transistors. I'm new to the whole midibox thing, I would greatly appreceate any help. /Jonas
×
×
  • Create New...