February 27, 2017 at 1:00 pm #2808
I have lot of fun with my tiny modular device.
For better understandig I will ask for additional pins.
1)-What for the the pins on the left side (arduino part)?
I use an Arduino Leonardo for Long time but it looks not similar here.
(here M-> or 2SDA or 3SCL…???)
2)-Other is SB1 SB1 and SB2 on the right????
A table as part of the nanual would be nice.
Probably anybody knows abaut it????March 7, 2017 at 11:08 am #2829
I can give you some quick info here!
DAC0 and DAC1 are the output of the on board MCP4922 dac
…regarding the ‘M’ pins, those are the ones connected to the MOZZI compatibility (those are audio libraries).
M–> is connected, as you can see in the second row, to the PWM pins (digital 9 and 10) to implement the high-resolution MOZZI output circuit. You can use 9 and 10 individually without problems with oyur own software if you don’t want to use MOZZI libs
M<-- is the MOZZI library analog input and is connected (with a CAP and a voltage divider, followint the MOZZI app circuit) to the analog A0. On the bottom part of the first row you have all the ANALOG pins (A0 to A5) numbered as standard Arduino pins. On the second row you have the DIGITAL Arduino Leonardo pins, starting from the 0 and 1 (connected to LEDS to show USB traffic), then the two I2C pins 2 and 3 (the I2C interface is used to connect with the digital pot MCP42100) the 4(D) that is also the SPI chip select of the MCP4922 and all the remaining pins. The third row is the interface to the QUAD digital potentiometers and you can see the small symbol of FOUR pots. The pots pins are floating and you can use them to attenuate, slewing the signal (with the help of a capacitor) or even generate voltages by connecting the upper part to 5V and the lower to 0V ! SB1 and SB2 are simple 'sensor blocks' where we arranged the pins in a way that you connect directly some kind of sensors (LDR, POTENTIOMETERS, LIGHT TO FREQ converters... IR receivers, etc..) with the additional convenience of power supply pins nearby. HAVE A LOOK at the links that are on the NS1 manual. We have a GITHUB repository with two different firmwares and you can check from there the setup!March 22, 2017 at 4:24 pm #2921
If yoy want to use the M-> and m-> port to something else that MOZZI.
Witch address those this port has?
Is there something to think about when reading and writting to them?
Do they have limitation?
Appreciate your answers on this forum you are very clear! 🙂March 29, 2017 at 7:57 am #2986
“that is inserted just as an example, generating a saw wave related to the MIDI note on the M–> pin)and the i2c (wire.h) lib.”
So what I need to do is look in the header file ‘wire.h’ and mozzi lib to see how it writes to the pin. Simple as that!May 23, 2017 at 8:22 am #3414
Gahh! I must have been drunk when I wrote those questions. I answer myself in case anyone else gets confused by what I have been written (Because I have trouble delete it).
Answer: Read Mozzi documentation “Output circuit for HIFI mode”. Combine this information with what Davide Mancini has written. ‘m->’ output is a combination of 9 and 10 PWM outputs with some capacitors and resistors.
‘wire.h’ is for the digipots and NOT for Mozzi.
You must be logged in to reply to this topic.