4D SYSTEMS FORUM

Register New Posts
 
 
 


Reply
 
Author Comment
 
charismaztex

Registered: 25/04/12
Posts: 5
Reply with quote #1 
Hello all,

I am a total beginner trying to get some samples pictures from my computer to display on the LCD.

I am using an arduino as the master controller. My problem: after I try building the files which should be copied to a microSD card, it never writes anything to the drive. Also is there a step-by-step guide for getting it to work with an arduino? I am a little lost about the coding.

Thanks!

ESPsupport

Moderator
Registered: 27/01/09
Posts: 4,262
Reply with quote #2 

The graphics Composer User Guide, Section 4.2.4, SGC – uSD Raw should work for you.

 

If you are doing that I need some more information about what " it never writes anything to the drive" means and how you determined that's what happened.

charismaztex

Registered: 25/04/12
Posts: 5
Reply with quote #3 
Hello,

I am following instructions in section 4.2.4 of the Graphics Composer user
manual.

-I selected SGC - uSD Raw on a drive with RAW(3.69GB)
-Sector offset is 0

When I press OK, the drive becomes unusable and windows tells me the drive needs to be formatted. On checking the properties, it says used space is 0KB and free space is 0KB. 

I am attaching the output text file. I am using an Arduino Uno and I have the displayshield4d library by Oscar Gonzalez. I can write simple text and draw simple geometry with the library. What commands in the loop() section of the arduino code should I invoke to access the image? (I assume I have to use information from the output text file)

Thank you!

 
Attached Files:
txt mikey.txt (766 Bytes, 12 views)

ESPsupport

Moderator
Registered: 27/01/09
Posts: 4,262
Reply with quote #4 
Quote:
When I press OK, the drive becomes unusable and windows tells me the drive needs to be formatted. On checking the properties, it says used space is 0KB and free space is 0KB. 


That is correct, Goldelox requires a RAW drive, Windows will complain about this, just ignore Windows.

Sorry I cabn't help you with the Arduino side of things, maybe you can work it out yourself now that you know to ignore Windows
charismaztex

Registered: 25/04/12
Posts: 5
Reply with quote #5 
Thanks for the tip
charismaztex

Registered: 25/04/12
Posts: 5
Reply with quote #6 
Finally! Modified the library for displayshield4d to add in new sdDisplayImage function which takes in parameters specified by the documentation. At last nice, beautiful image appears!
ESPsupport

Moderator
Registered: 27/01/09
Posts: 4,262
Reply with quote #7 
Congrats
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.