New to the board, just droppin in to say hello. Just started with max at school, looking forward to hooking it up to microcontrollers and such.
excellent. I am just getting into the microcontrollers (using 16877A because my brother got them as free samples!) Using PicBasic for the programming. I’m planning to build a custom controller. My brother got a serial and a MIDI port working so now I just have to assemble the parts and write the controller program. Once you have the MIDI values, Max will be your best friend. The limits are…well, unlimited. This is a mixed blessing…… ;)
If you have any insights into the microcontrollers, I’d love to hear them. For example, I can’t seem to get more than one pin of analog input (in this case, reading potentiometers) to read. Any of the 8 alone read OK, but not separate individual values. The digital ones are all OK. Maybe I need to reset the pin after each reading?
Sounds like you’ve got more electronics background but are new to Max. If you’d like to swap expertise that would be great. I’m not a crazy advanced user of Max but I do know a fair amount and might be able to help get you going and avoid some pitfalls.
Interesting problem, I haven’t tried in Max but with my previous
experiences with pic + processing, I was able to connect two pots at
the same time with no problems, have you tried checking out the
values at Terminal? It is always a good way of debugging habit.
You can search analog input notes at Tom Igoe’s site
check this link above it might be helpful,
Thakns for the code–it looks like just what I need, I’ll try it out in a few. I think I must have just forgotten something in mine.
Once the values get read in OK (and I read them in HyperTerm), it’s a snap to get them into Max, once they’re formatted as MIDI controller changes. Almost too easy…!
Appreciate the reply and hope to hear what you’re up to with all your projects sometime. Beware (and embrace) the addictiveness that is Max!
Forums > MaxMSP