Jump to content

rasteri

Members
  • Posts

    100
  • Joined

  • Last visited

Everything posted by rasteri

  1. Yeah they work great - so much better than optical encoders, and it makes positioning far more simple.
  2. I think Mspinky can do that. Otherwise, you could hook a turntable up to the ADC pins of a PIC and use that to look for zero crossings. Then convert that to midi with a small program.
  3. You guys seen these? http://www.austriamicrosystems.com/eng/Products/Magnetic-Encoders Looks like you basically dangle a magnet above them and they give you the absolute angle over a serial interface. I got some samples, I'll let you know how they turn out.
  4. Sorry I haven't been around much, but I'm not really using midibox anymore. Just a quick update though, I figure ya'll might be interested. The standalone scratch code has been ported to the dsPIC, largely because I was attracted to its DSP instructions and builtin audio DAC. I'm now beginning to regret this decision, partly due to the proprietary toolchain, but mostly because none of the models with a DAC have USB support :/ I guess I'm either gunna port the code to MIOS32, or move to another PIC (24f series perhaps?) and use an external DAC (the TI PCM1770 looks rather tasty, for example). Are presoldered STM32 boards available yet? I guess that might sway my decision...
  5. If you're still having problems I can post a hex file for you.
  6. Mine's got 3 leads. Remember, each diode should have two leads, and there's two diodes in the package - but to make things easier the anodes are wired together. Here's a pic for ya (pinout may vary) : package.PNG package.PNG
  7. I'm just drawing them in Inkscape. There are probably a million more elegant ways to make one, but the method I've been using is - 1) Draw a line the diameter of your encoder wheel. 2) SELECT ALL, then copy and paste in place. 3) Rotate the copy 90 degrees (forming a cross). Repeat steps 2-3 over and over again, halving the rotation angle each time (so 45deg next, then 22.5, then 11.25, etc) until you have no space left between the lines to paste. Remember - it's a quadrature encoder, so each line actually adds 4 steps per revolution. If you have 360 lines, that's 1440 steps. I really wouldn't go any less than 1048 steps per revolution TBH - that's about the minimum I could get away with without it starting to feel weird. I really gotta start putting all this on a website somewhere.
  8. 1) PIC18F4620 2) No idea. 3) Don't think so.
  9. Not had a chance to add hi-res encoders yet (I only have intermittent internet access), but I will soon. Promise. Loving the design ademir :)
  10. I've attached a schematic showing how to hook it up to the midibox core module. Youll also need to make the change mentioned in this post - http://www.midibox.org/forum/index.php/topic,11167.msg102850.html#msg102850 (that potentiometer is the crossfader, by the way.) scheme.PNG scheme.PNG
  11. Sweeeet. Well the cost of each scratch wheel is probably a bit more like £50 by the time you add buttons and shit. But you can't scratch with the numark total control. Yup. Faders don't need to be very good for mixing.
  12. That's an unbelievably cool idea, I especially like the second picture. I was going to say that the x-session's crossfader sucks for scratching, but as long as you keep the crossfaders builtin to the scratch devices, that won't matter at all. I think I'll build myself one now :)
  13. You don't NEED an external soundcard - I use my laptop's internal soundcard all the time. Get hold of a program called ASIO4ALL, and set traktor to use it for output instead of directsound or whatever. External soundcards are a good idea in general though. I wouldn't get a surround card, they're mostly for home cinemas and stuff and might not come with ASIO drivers. I suggest you get one with four discreet outputs that you're sure will come with ASIO drivers. M-audio make some pretty good ones. The infinium looks like a GREAT option, I encourage you to try it out - I haven't had a chance yet. The only problem is it wants a 3.3v power supply, so you'll need to add a 3.3v regulator. Also the code will need to be modified slightly, but that's an easy job (I'll do it for you if you give me some ADC readings). In the long term I'll look at interfacing with the infinium's SPI port. Also infinium make a retrofit version of the product, which costs slightly more but should just drop straight in without a new regulator or code modification. http://www.infiniumtechnologies.com/downloads/20070330_3/download - maybe give that a go?
  14. And ademir, that's very cool. Those things would make amazing jog wheels.
  15. Yup. They're not too expensive, I got my USB->MIDI adapter on ebay for under £10. You won't need to do any programming. All you need is a midibox core module kit (buy from smashtv, get one with a preprogrammed PIC18F4620) and a soldering iron. It's connected to a PC running Traktor. I have built a prototype version that is completely standalone and is powered by batteries, but I'm in the middle of porting it to a dsPIC (for lower power consumption and cost) and that will take another month at least. Rest assured I will make details available (including source code) when I'm done.
  16. Yeah I saw that story. There are a few problems involved in using an HDD motor for this project - 1) They have a much lower resolution than we need - something like 400 steps per resolution, which isn't really enough IMHO. 2) The signal they produce is different - it uses 3 lines instead of 2. Coding around this would be pretty easy, but *I'm* not going to do it because of reason 1. Feel free to have a go yourself. 3) Related to point 2, the PIC only has 2 comparators. They can be multiplexed, or you could just use external comparators like that guy you linked to did. In all honestly, you're better off with an optical encoder. Those HD motors make great bearings though - you could attach an encoder wheel to it perhaps?
  17. Is there source code available for traktorizer? I'd be happy to hack hi-res encoders into it.
  18. rasteri

    dspics

    well I figured since it's only like £25 I didn't have much to lose. Except perhaps my soul to microchip (It feels really strange using the official PIC dev tools, I've only ever used homemade programmers for ~8 years) Microchip supply schematics for it, and people have designed PCBs so you can make your own pickit. I believe there is linux support for it, too. (but not for dsPICs...) And I'll be sure to post details of the project when it's semi-working.
  19. rasteri

    dspics

    What, is it taboo to use the official dev tools or something? Well screw all of yas - I bought one anyway, and it works really well. Nyah :P
  20. rasteri

    dspics

    I wanna experiment with the dspic33f series, but I can't find any good DIY programmer schematics (let alone software). Does anyone know about any I might have missed? I was thinking, since I'll be going with the official Microchip toolchain (C30) and MPLAB IDE, I might just get a PICKIT2. Does anyone have any experience with these programmers? They seem very handy, especially as I have no serial or parallel ports on my new comp...
  21. The computer I had when growing up was an Amstrad CPC, so this project thrills me no end ;D Great work.
  22. Very cool - what's the latency like on it? I've been thinking about getting mspinky...
  23. I'm hoping for tighter integration between timecode vinyl and ableton than is currently possible with mspinky. Being able to scratch clips and switch between them with a foot pedal or something would be frickin awesome.
  24. Line 108, change : capsense+=PORTDbits.RD1; to: capsense+=PORTDbits.RD0; Then wire the touch sensor into pin RD0 instead of RD1. That enables you to keep R9.
  25. I'm working on something very similar to what you just described. It uses an x86 single board computer for now, but a dsPIC (or something) would be the eventual plan...
×
×
  • Create New...