Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 14th September 2012, 04:19 AM   #161
AR2 is offline AR2  United States
Master Burner
 
AR2's Avatar
 
Join Date: Dec 2002
Location: San Francisco, California
Quote:
Originally Posted by bigpandahk View Post
Today, I replaced all heaksinks for the SSLVs with much larger one. Before finding a suitable case for all the components, I have to figure out the best layout. After several trial, finally I come up with this as shown in the picture. I never expected I need such big size case with so many heatsink for a DAC!
Haha, welcome to a club! I used two cases and still could use some more space,
In my situation two 15 V power supplies - Shunty x 2 took the most room. Great progress. That graphic display looks really cool. Congrats!
__________________
www.burningamp.com
  Reply With Quote
Old 14th September 2012, 06:54 AM   #162
diyAudio Member
 
Join Date: Jul 2009
Quote:
Originally Posted by AR2 View Post
Haha, welcome to a club! I used two cases and still could use some more space,
In my situation two 15 V power supplies - Shunty x 2 took the most room. Great progress. That graphic display looks really cool. Congrats!
Hi AR2

Thanks for your message, I hope I can build something as beautiful as yours
  Reply With Quote
Old 14th September 2012, 07:36 AM   #163
diyAudio Member
 
Join Date: Jul 2009
Spent couple of hours and finally have the "SDcardINFO" displays the card info on the GLCD.

I've checked several times to ensure all libraries have been included and the RAW files are in the root directory but still can't display the Bitmap image.

Below are extract from my Arduino code:

#include <Wire.h> // For I2C
#include <EEPROM.h> // We will use the eeprom to store values
#include <UTFT.h>
#include <tinyFAT.h>
#include <UTFT_tinyFAT.h>

#include <avr/pgmspace.h>
#include <Arial_bold_14.h>
.
.
.
.
.
.
myGLCD.InitLCD();
myGLCD.clrScr();
file.initFAT();
myGLCD.setColor(255,255,255);

myGLCD.loadBitmap(0, 48, 400, 144, "SQBX.raw");

delay(4000);
myGLCD.clrScr();

Can anyone spot any error in the above code?
Attached Images
File Type: jpg IMG_1471.jpg (553.3 KB, 371 views)
  Reply With Quote
Old 14th September 2012, 08:11 AM   #164
DQ828 is offline DQ828  Australia
diyAudio Member
 
DQ828's Avatar
 
Join Date: Mar 2010
Location: Lake Macquarie, East Coast Australia
Quote:
Originally Posted by bigpandahk View Post
Spent couple of hours and finally have the "SDcardINFO" displays the card info on the GLCD.

I've checked several times to ensure all libraries have been included and the RAW files are in the root directory but still can't display the Bitmap image.

Below are extract from my Arduino code:

#include <Wire.h> // For I2C
#include <EEPROM.h> // We will use the eeprom to store values
#include <UTFT.h>
#include <tinyFAT.h>
#include <UTFT_tinyFAT.h>

#include <avr/pgmspace.h>
#include <Arial_bold_14.h>
.
.
.
.
.
.
myGLCD.InitLCD();
myGLCD.clrScr();
file.initFAT();
myGLCD.setColor(255,255,255);

myGLCD.loadBitmap(0, 48, 400, 144, "SQBX.raw");

delay(4000);
myGLCD.clrScr();

Can anyone spot any error in the above code?
Are you using the following, I'm mainly referring to the "tf" after the UTFT

UTFTtf myGLCD(ITDB32WD,38,39,40,41);

The only differnce in mine is the "setColor" see below.

myGLCD.InitLCD();
myGLCD.clrScr();
file.initFAT();
myGLCD.setColor(255,255,255);
myGLCD.loadBitmap(0, 48, 400, 144, "L&T_YRB.RAW");
delay(4000);
myGLCD.clrScr();

Your SD card only appears to be 120 MB maybe that's an issue. I thought the software had been written around 1 & 2 GB cards & maybe 4 GB might work.
  Reply With Quote
Old 15th September 2012, 04:16 PM   #165
diyAudio Member
 
Join Date: Jul 2009
Today, I try again to repair the burnt BIII, I replaced the ES9018, checked all Tridents. Put the BIII onto the Legato and power up, NO SOUND

Check all voltage and found the Trident for XO overloaded. Take away the Crystek and voltage resumed to 3.3V. Then try to connect it with Ian's clock board and operate in Sync Mode, but still no "Lock"

No Dual Mono BIII at the moment, concentrate to finish the Arduino programme and the connection between WaveIO, OTTO II, Teleporter and FIFO.

I still can't display bitmap on the GLCD. I use the "file.exists" to check if Arduino can detect the file in the SD but was returned a "false" Does any one know how to use the "findFirstFile" and display the file name?

Below is the code I used to check the file in SD:

Code:
#include <SD.h>
#include <UTFT.h>
#include <tinyFAT.h>
#include <avr/pgmspace.h>
extern uint8_t BigFont[];
extern uint8_t SmallFont[];
// set up variables using the SD utility library functions:
Sd2Card card;
SdVolume volume;
SdFile root;

UTFT myGLCD(ITDB32WD,38,39,40,41);
// change this to match your SD shield or module;
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
const int chipSelect = 53;    

void setup()
{
   myGLCD.InitLCD();
  myGLCD.clrScr();
 // Open serial communications and wait for port to open:
//  Serial.begin(9600);
 //  while (!Serial) 
    ; // wait for serial port to connect. Needed for Leonardo only
 
  myGLCD.setColor(255, 255, 255);  
  myGLCD.setFont(SmallFont);

  myGLCD.print("Initializing SD card...",10,10);
 
 // On the Ethernet Shield, CS is pin 4. It's set as an output by default.
  // Note that even if it's not used as the CS pin, the hardware SS pin 
  // (10 on most Arduino boards, 53 on the Mega) must be left as an output 
  // or the SD library functions will not work. 
  pinMode(53, OUTPUT);     // change this to 53 on a mega

  delay(2000);
  
  // we'll use the initialization code from the utility libraries
  // since we're just testing if the card is working!
  if (!card.init(SPI_HALF_SPEED, chipSelect)) {
    myGLCD.print("initialization failed. Things to check:",10,30);
    myGLCD.print("* is a card is inserted?",10,50);
    myGLCD.print("* Is your wiring correct?",30,70);
    myGLCD.print("* did you change the chipSelect pin to match your shield or module?",10,90);
    return;
  } else {
   myGLCD.print("Wiring is correct and a card is present.",40,100); 
   delay(2000);
  }

  // print the type of card
  myGLCD.print("Card type: ",50,150);
  switch(card.type()) {
    case SD_CARD_TYPE_SD1:
      myGLCD.print("SD1",150,150);
      break;
    case SD_CARD_TYPE_SD2:
      myGLCD.print("SD2",150,150);
      break;
    case SD_CARD_TYPE_SDHC:
      myGLCD.print("SDHC",150,150);
      break;
    default:
      myGLCD.print("Unknown",150,150);
  }
  delay(3000);
  // Now we will try to open the 'volume'/'partition' - it should be FAT16 or FAT32
  if (!volume.init(card)) {
    myGLCD.print("Could not find FAT16/FAT32 partition.Make sure you've formatted the card",10,50);
    return;
  }
delay(3000);
 myGLCD.clrScr();
  // print the type and size of the first FAT-type volume
  uint32_t volumesize;
  myGLCD.print("Volume type is FAT",10,30);
  myGLCD.printNumI(volume.fatType(),220,30);
  myGLCD.print("",220,30);
  
  volumesize = volume.blocksPerCluster();    // clusters are collections of blocks
  volumesize *= volume.clusterCount();       // we'll have a lot of clusters
  volumesize *= 512;                            // SD card blocks are always 512 bytes
  myGLCD.print("Volume size (bytes): ",40,60);
  myGLCD.printNumI(volumesize,220,60);
  myGLCD.print("Volume size (Kbytes): ",40,80);
  volumesize /= 1024;
  myGLCD.printNumI(volumesize,220,80);
  myGLCD.print("Volume size (Mbytes): ",40,100);
  volumesize /= 1024;
  myGLCD.printNumI(volumesize,220,100);

  
  myGLCD.print("Files found on the card",00,150);
  myGLCD.print("(name, date and size in bytes): ",00,170);
  root.openRoot(volume);
  
   file.findFristFile(file.filename);
  
   if (file.exists("SQBX.RAW")==true) 
   {myGLCD.print("file found",10,200);}
  else 
   {myGLCD.print("Not found",10,200);}
  // list all files in the card with date and size
  root.ls(LS_R | LS_DATE | LS_SIZE);

}


void loop(void) {
  
}
  Reply With Quote
Old 16th September 2012, 02:26 AM   #166
diyAudio Member
 
Join Date: Jul 2009
Finally, I got the "File found" to confirm the Arduino can read file on SD but the "loadBitmap" command doesn't draw the bitmap
  Reply With Quote
Old 16th September 2012, 07:30 AM   #167
DQ828 is offline DQ828  Australia
diyAudio Member
 
DQ828's Avatar
 
Join Date: Mar 2010
Location: Lake Macquarie, East Coast Australia
You don't appear to be using the "tf" UTFTtf myGLCD(ITDB32WD,38,39,40,41);

What size is the SD card?
  Reply With Quote
Old 16th September 2012, 01:50 PM   #168
diyAudio Member
 
Join Date: Jul 2009
Quote:
Originally Posted by DQ828 View Post
You don't appear to be using the "tf" UTFTtf myGLCD(ITDB32WD,38,39,40,41);

What size is the SD card?
This is the code that I use to check the SD card content which doesn't require the UTFTtf library.

I use both 128MB and 2GB SD card with the same result
  Reply With Quote
Old 17th September 2012, 03:57 AM   #169
DQ828 is offline DQ828  Australia
diyAudio Member
 
DQ828's Avatar
 
Join Date: Mar 2010
Location: Lake Macquarie, East Coast Australia
Quote:
Originally Posted by bigpandahk View Post
This is the code that I use to check the SD card content which doesn't require the UTFTtf library.

I use both 128MB and 2GB SD card with the same result
I'm out of ideas.

If I send you some code that works with mine then you may be able to track down the problem.
  Reply With Quote
Old 17th September 2012, 02:18 PM   #170
diyAudio Member
 
Join Date: Jul 2009
Quote:
Originally Posted by DQ828 View Post
I'm out of ideas.

If I send you some code that works with mine then you may be able to track down the problem.
That's a great suggestion and thanks for your offer
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ian asynchronous I2S and S/PDIF FIFO KIT group buy iancanada Group Buys 1583 Today 01:49 AM
Asynchronous I2S FIFO project, an ultimate weapon to fight the jitter iancanada Digital Line Level 3234 3rd April 2014 08:11 PM
FS Quanghao SSLV Salas design merlin el mago Swap Meet 12 17th August 2012 02:06 AM
F.S quanghao salas sslv 1.0 for buffalo dac. back Swap Meet 1 31st July 2012 02:32 AM
Simple FIFO to I2S CPLD, for MCU players / reclocking KOON3876 Digital Line Level 21 19th September 2008 04:00 PM


New To Site? Need Help?

All times are GMT. The time now is 08:37 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2