-I've seen 33 ohm resistors between the the USB D+ & D- going to the micro on other designs. -Pin7 (VBUS) goes to GND which is bad. -with my design I've seen a 0.1uf or 1uF cap from Reset (pin 13) to GND is sometimes needed.
I was wondering if anyone has a code snippet of displaying a csv log data on the SD card to the display? Right now I can use the example from the SD library:Serial.println(dataString); to view the data on the computer screen but I need some way of breaking up the dataString for the display, then moving down a line and displaying the next log. Right now I can log data, stop logging, verify the log exists by viewing it on a pc, then clearing the log file. I wont post my code since I just need a basic idea of what to do.
I have modified an existing project by adding an SD card but the standard SD library is so large that i'm out of code space. Can someone recommend a smaller SD library that I can use for cards under 500 megs or smaller in size? I did some digging this weekend and found one that some created 3-4 years ago but have not given it a try yet.
I've had difficulty burning the leonardo bootloader into the 32u4 since day one for some reason. The designs are all different and eventually works after a few repeated tries. The hardware used is: -windows 7 -adafruits thru hole USBtinyISP -sparkfuns SMT version of the USBtinyISP -32u4 @ 3.3V and also 5.0V -16Mhz crystal -Arduino IDE where I select Leonardo and burn bootloader
Occasionally the bootloader will successfully burn on the first try but usually it requires another attempt, power cycle, trying on another PC, power cycle and then it works.
I'm wondering if I might have better luck with the AVR ISP MkII abd the Arduino IDE? Possibly more complicated route of installing the Atmel software, setting the fuses manually and then burning the bootloader hex file. So far i've been cheating by just using the IDE.
I've only installed bootloaders in avrs and then uploaded the sketch over USB. For my next project I would like to program the sketch into the avr using the USBtinyISP. The project will only be powered by USB and the sketch has been tested and works fine. Is this possible and how would I do this using only the IDE?
No worries. If you're having as many difficulties as I did and still interested, the board I can send will come fully populated with all the parts and glass soldered. All you need are two 10K pullups and an arduino.
I've had nothing but bad luck with with the Crius displays so I made my own 3.3V - 5.0V one. It uses a proper i2c level converter and a small LDO. I created test code that allows for 180 degree screen rotation and when changing the i2c address it will work with the adafruit graphics library. The schematic and gerber files are all availible if you want to make your own. It's all at https://sites.google.com/site/0miker0/oled-displays Email me your mailing address to firstname.lastname@example.org and I'll send you one for free.
I started making 0.96" mono i2c oleds as well a little while ago. At first I purchased them off ebay but the price kept climbing up so i decided to make my own. Schematics and gerber files are all up for grabs if you are interested in making your own. The test code allows to 180 degree rotation and brightness control.
An ICSP header on the board edge is an excellent idea! I've done something similar by soldering a DB9 connector onto a board edge. The spacing between pins 1-5 and 6-9 feels like around 50 mil so once pushed onto the board edge and soldered into place was very rugged.
The ICSP pads did originally plate though but as the board got more and more parts I realized that it took up way too much space on the opposite side of the board. I'm trying out pogo pins soon but for now I solder on a 6X2 header, program the bootloader and then de-solder it. It's a pain but frees up the entire backside of the board for tracks and components. This link: https://sites.google.com/site/0miker0/ shows two boards i'm working on that are fairly similar. One is a GPS board and the other is packed full of sensors. I'm no good at programming so the sensor board gives me lots of things to work with. My previous setup was an uno connected to a breadboard with a ton of jumper wires. This packs everything into something that fits in the palm of your hand.
It's been about a year since this first post and i'm still working on the project! Since then pretty much everything has changed except the size of the display. I like the 32u4 microcontroller with built in USB, liPo battery charger and navigation button i'm using now. Check out the latest version at: https://sites.google.com/site/0miker0/arduino-sensor-board
Thanks again for your excellent pong clock project. I liked it so much that I modified the code for an 0.96" oled i2c display: My code still has a few bugs like missing the ball every minute and hour but it's getting there.
On OS X and Linux, a Leonardo clone will work out of the box, and can be identified as “Arduino Leonardo” in the Boards menu in the Arduino IDE. It is of course better practice to add an entry specifically for the clone device in boards.txt.
On Windows, a unique INF file for the clone device must be installed. Also, it will not work without editing the boards.txt file to add a unique section for the clone device.
I've made a few Leonardo clones programming the bootloader into a new 32U4 micro using the IDE and a USBtinyISP by selecting a Leonardo as a board and burning the bootloader. So far i've only tested it on one PC and a mac. Does this mean it will not work on another windows machine?