SSD1306

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit


Re: SSD1306

Postby songlight » Tue May 03, 2011 1:19 pm

Thanks, I supposedly got the library loaded in the IDE but now is says cannot be used because it must start with only letter not numbers. And it does, so I don't understand what the problem is. Anyway it won't go into the library and load.
songlight
 

Re: SSD1306

Postby Stephanie » Tue May 03, 2011 2:11 pm

I've found Arduino is sometimes a bit picky about naming conventions.

Assuming you are using the latest version of the IDE (022) then in the folder where you keep your Arduino sketches, you've created a subdirectory called "libraries" and you have put the SSD1306 library folder in there.

Go into the Arduino/libraries folder and just change the name of the SSD1306 folder to something else. I know the download name is a long one, I changed mine to "SSD1306" and left it at that. You don't need to change anything inside that folder, just the name of the folder itself. So you have "Arduino/libraries/SSD1306".

Once you have done that, restart the Arduino IDE and you should be able to access the new library and the example functions. If you look under Examples you'll see there is a new section for the SSD1306 and under that will be an example sketch. You can just load it straight from there, and it should compile and load without any errors.

Cheers!
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: SSD1306

Postby songlight » Tue May 03, 2011 7:44 pm

Stephanie wrote:I've found Arduino is sometimes a bit picky about naming conventions.

Assuming you are using the latest version of the IDE (022) then in the folder where you keep your Arduino sketches, you've created a subdirectory called "libraries" and you have put the SSD1306 library folder in there.

Go into the Arduino/libraries folder and just change the name of the SSD1306 folder to something else. I know the download name is a long one, I changed mine to "SSD1306" and left it at that. You don't need to change anything inside that folder, just the name of the folder itself. So you have "Arduino/libraries/SSD1306".

Once you have done that, restart the Arduino IDE and you should be able to access the new library and the example functions. If you look under Examples you'll see there is a new section for the SSD1306 and under that will be an example sketch. You can just load it straight from there, and it should compile and load without any errors.

Cheers!

It did just as you said! However, after it uploaded to the Arduino successfully, there was nothing on the oled so I still have a problem. I have wired it twice so I think I got it right. Anxiously awaiting your reply.
songlight
 

Re: SSD1306

Postby Stephanie » Tue May 03, 2011 9:50 pm

Super - even if there's nothing on the OLED it's still progress, as we can now rule out errors or problems in the sketch / library.

So looking back at your wiring now, the second photo you attached was very neatly laid out, but the photo itself is tiny. The first photo was large but unfortunately it was both blurry, and the wiring was a bit hard to follow.

Can you upload another photo of how you have it wired up? Ideally, something similar to that 2nd shot, but a larger image - say about 4x larger than that, would be great.
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: SSD1306

Postby songlight » Tue May 03, 2011 10:20 pm

Ok, will try to get you a better pic.
I feel like I have made a friend Stephanie.

I do appreciate your help so much.
songlight
 

Re: SSD1306

Postby songlight » Wed May 04, 2011 10:08 am

Here I hope is a better pic. My Blackberry camera is not very good. I hope you can see the wiring.
Attachments
ssd1306_3.jpg
ssd1306_3.jpg (7.01 KiB) Viewed 2060 times
songlight
 

Re: SSD1306

Postby songlight » Thu May 05, 2011 1:31 pm

songlight wrote:Here I hope is a better pic. My Blackberry camera is not very good. I hope you can see the wiring.

Can anyone help me make this ssd1306 work? I have loaded the sketch successfully but I get nothing from the oled.
songlight
 

Re: SSD1306

Postby adafruit_support_bill » Thu May 05, 2011 7:07 pm

A clear photo would be helpful. We cannot see what the connections to the Arduino are.
User avatar
adafruit_support_bill
 
Posts: 15995
Joined: Sat Feb 07, 2009 9:11 am

Re: SSD1306

Postby Stephanie » Thu May 05, 2011 9:06 pm

Songlight, the way you have your wiring laid out in that last photo looks nice and neat but the pic is still too small to clearly see what is connected to where.

Is there any chance you can upload a larger version of that image?
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: SSD1306

Postby songlight » Thu May 05, 2011 9:32 pm

Ok, I have an update. I will try a pic with my digital camera. Also, I wanted to let you know that I saw some lighted pixels on the oled. I just happened to notice them. I tried to load the sketch again but the oled went blank and I have not seen any more lighted pixels. I have checked for good wiring contact but still nothing on the oled. I also tried to reset the oled and that did nothing. The lighted pixcels were evenly spaced on the oled but there were no intelligable letters or numbers.
songlight
 
Posts: 11
Joined: Thu May 05, 2011 9:22 pm

Re: SSD1306

Postby songlight » Fri May 06, 2011 11:29 am

This is a small pic I know. You can run it thru Picasa to blow it up. I either get the pic to big or too small. Please let me know if you can blow it up.
Attachments
ssd1306.jpg
ssd1306.jpg (7.47 KiB) Viewed 2018 times
songlight
 
Posts: 11
Joined: Thu May 05, 2011 9:22 pm

Re: SSD1306

Postby adafruit_support_bill » Fri May 06, 2011 11:43 am

Songlight,

The photo is too small to see what we need to see. We can enlarge it, but it just gets fuzzier. We need to be able to see what connections you have made to the Arduino.

From what I can see, you have your Arduino mounted to some sort of carrier/prototyping board. Can you provide a link to a specification for this product so that we can understand how the pins are mapped?
User avatar
adafruit_support_bill
 
Posts: 15995
Joined: Sat Feb 07, 2009 9:11 am

Re: SSD1306

Postby songlight » Fri May 06, 2011 1:37 pm

Pleas go to http://www.wickeddevice.com and put in the search box: nano proto board. There you will see my proto board for the nano.
songlight
 
Posts: 11
Joined: Thu May 05, 2011 9:22 pm

Re: SSD1306

Postby adafruit » Fri May 06, 2011 2:09 pm

since the oled is tested twice before shipment and you had to assemble the protokit its not unlikely that something is not soldered right with the kit

please try to test the oled with a known working Arduino Uno or Duemilanove so you know it isnt the oled (which is very likely)
User avatar
adafruit
 
Posts: 10489
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

PreviousNext

Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 10 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]