Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Source-/filter selection modified sketch / relay (ES9038Q2M)
#1
original post is here->http://essabre-90xx-rpi.sfb2.com/2018/02...m-arduino/

[Image: 20180225_104725-br-1024x576.jpg]
[Image: 20180225_105005-br-1024x576.jpg]

code for the relay-control:

//relais
#define RELAY1  8
#define RELAY2  12
#define RELAY3  6
#define RELAY4  7


void setup()  
{
  // PINMODE
  pinMode(RELAY1, OUTPUT);       
  pinMode(RELAY2, OUTPUT);
  pinMode(RELAY3, OUTPUT);
  pinMode(RELAY4, OUTPUT);
  // TURN OFF (all in case of active-low)
  digitalWrite(RELAY1,HIGH);
  digitalWrite(RELAY2,HIGH);
  digitalWrite(RELAY3,HIGH);
  digitalWrite(RELAY4,HIGH);



void loop ()
{
if (a=='c')
    {
      digitalWrite(13, LOW);
      BT.println("Source: coaxial");
      //irsend.sendRC5(0x0000000000000402,12);
      digitalWrite(RELAY2,HIGH);     //R2 OFF
      delay(50);
      digitalWrite(RELAY1,LOW);      //R1 ON 
      
      //digitalWrite(RELAY1,HIGH); //R1 OFF
      delay(50);
      lcd.setCursor(0, 1);  
      lcd.print("                           ");
      lcd.setCursor(0, 1);
      lcd.print("Source: coaxial");
--------------------------------------
(modified-list/info->

BT.println("c -> Source: coaxial");
      BT.println("o -> Source: optical");
      BT.println("i -> Source: I2S");

---------------------------------------

full sketch here->
.rar   bluetooth-w1-works-list-final-re4-works.rar (Size: 1.64 KB / Downloads: 0)
Reply
#2
Dont use relay module.
I am use fo it logic level converter.
And arduino digi low or high.
8 chanel converter for filter and sorce.
Arduino 2560 pro and small spi tft.
To control encoder and ir sensor.


Attached Files Thumbnail(s)
       
Reply
#3
(02-25-2018, 19:01 PM)profd Wrote: Dont use relay module.
I am use fo it logic level converter.
And arduino digi low or high.
8 chanel converter for filter and sorce.
Arduino 2560 pro and small spi tft.
To control encoder and ir sensor.

yes, thanx !!, that i want to know Smile ..
i was thinking about it too; to simply use high or low via some pins; should be possible ;-)..

but, what are these phenomenal-pictures from ? a "selfmade"-9038 ?

can u please tell us more about that project if u don´t mind ?
more pictures, specifications, circuit layout ? (or is this just a "bought" and which one ?)

i would make a new subforum for these !!!

but thx again, now i´m a little bit closer to this "digi high or low" + logic level converter  Smile
Reply
#4
This is green 9038q2m v 1.4
Case from dtb tuner.
3 Transformators:
15v x2 for muse
9v x2 for analog an digital dac
9v for arduino + tft and usb amanero.
1.8 " spi tft
Mcp41010 control volume.
Potentiomtetr and ir sensor control volume, source, filter.
Arduino scetch in work progress and not coment.....
I want add menu to display sample rate format frequency to display, from pin amanero to analog in on arduino.
My mod the pcb dac is 3 low noise voltage regulator TPS7A4700.
1 analog dac
2 digital dac
3 amanero.
And remive all stok voltage regulator from dac pcb.
Change capacitor ... nichikon muse and panasonic FC.
Reply
#5
(02-25-2018, 23:13 PM)profd Wrote: This is green 9038q2m v 1.4
Case from dtb tuner.
3 Transformators:
15v x2 for muse
9v x2 for analog an digital dac
9v for arduino + tft and usb amanero.
1.8 " spi tft
Mcp41010 control volume.
Potentiomtetr and ir sensor control volume, source, filter.
Arduino scetch in work progress and not coment.....
I want add menu to display sample rate format frequency to display, from pin amanero to analog in on arduino.
My mod the pcb dac is 3 low noise voltage regulator TPS7A4700.
1 analog dac
2 digital dac
3 amanero.
And remive all stok voltage regulator from dac pcb.
Change capacitor ... nichikon muse and panasonic FC.

unbelievable !!  Smile makes me speechless..
i make here some "mumbo-jumbo" with this site and so on and u have almost finally build the "Dream"-9038.. Smile 

as said i would like to know more about your DIY-DAC; u must know if u have fun in it (and time) to write here some more info (also for the other user/visitor here)
really,really high interest !! 

greets for now  ;-) 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)