I’m totaly new to this, both electronics and synthesis, and very keen to learn and explore electronic music. And i decided to build my own Zynthian box as i’m a student and on a budget.
So, i’ve finally recieved all my parts from china and just now started to put it all together, and of course already run in to some problems!
The screen is working as it should, haven’t tested the touch yet. But I cant seen to boot correctly.
I’m booting in to the Zynthian Error screen, with my local IP showing. And it seems to be in an infinite loop.
It showed the terminal, then the error screen for a few second, and repeat.
What could be the problem?
I’ve hooked up the 4 encoders with breadboard so far, cross referencing the allinoneboard schematics, MCP23017 datasheet and the picture that is attached in the guide, according to this hackaday guide: https://hackaday.io/project/166752-quick-and-dirty-zynthian
Except for the reset pin, everything is connected.
Thanks in advance!
Here’s my partlist:
Raspberry Pi 3B+
geeekpi 5" screen from ebay
4x EC11 rotary encoders connected with MCP23017 (http://tiny.cc/hceypz)
Generic PCM5122 DAC+ (http://tiny.cc/1aeypz)
USB Midi keyboard
Welcome to the community. You will need to access the web based configuration via a browser on a computer connected to the same network as your Zynthian then select Soundcard: HifiBerry DAC+ light from the hardware menu. Check out the wiki for information.
Beware, you will soon be receiving a cryptic message from @wyleu which basically means, when you have some audio coming out of your Zynthian, upload a sample to the forum.
You can search the forum for similar noob questions. It happens just about every time!!!
Alright, the encoders connect to the GPIOs, so I cant connect the soundcard and encoder at the some time right now. So i tried to configure it with a generic usb soundcard i got. But it doesn’t seem to work anyways. Can I attach debug logs or something?
haha, I suspected that! And will gladly upload some samples when it all works!
Yes, so now when I started the pi so test the command this happened:
The encoders were working, though in reverse but the buttons were not working. I guess I could either switch the pins, or change the configuration i the webui?
The i loaded up a synth, and again the encoders all worked, but in reverse but not the buttons.
Then a window opened on my mac (through XQuartz?) displaying a lot of settings for the specific synth, but then the encoders stopped working…
The next best thing is get a camera out and start photographing things. . .
IF your ssh terminal ( I dont know XQuartz) is allowed to pipe the XWindow output from a particular layer then it will do what you describe. IT’s nothing to worry about cos it’s a side effect of firing up the layer the zynth doesnt really realise it’s going on. IT does no harm and it wont happen if you turn off the X window forwarding in the terminal , There’s probably a switch for it somewhere in XQuartz setup. The terminal session will set the display to something like :12.0 which will be the Xwindow on your host machine; you go to run an engine the engine looks for the display to start it’s gui up on, find the :12.0 and runs it there so it pops up on your desktop. Some people run it like that to get at it, but we are pure zynthians aint we … ?
As to the encoders, Personally I would rewire the pins to match the ‘normal’ settinghs as when you refresh the zynth from a fresh image you will have to remember what you had them set to, and you probably wont do it on the first occasion ( guess who didnt) and you have to work it all out again several months later, with virtually no notes !!
Alright, I understand it now. And yes, i agree, thats nothing im looking for as I want a standalone zynth!
Ill look into fixing so it doesn’t open up XQuartz everytime later on.
But I still dont understand why the encoders is acting up, since they started working a little bit…
Though, the breadboard looks quite messy atm, so I might just rewire it and hope that its just some bad connection somewhere!
And does my pinout of the encoders look fine? 1 and (1) are going to ground. And the rest is wired according to the allinone-schematics.
Breadboard are great but they can be a bit rickety… I’d mount the encoders on bits of strip board (veroboard) and solder on to the veroboard . You will have to cut some tracks but it does make it easy to check things are working.