Show Posts
Pages: [1]
1  Using Arduino / Displays / Re: SPI 0.96" Color OLED Display Wiring on: November 10, 2012, 01:54:31 pm
FETs = Transistors.

A lot of ebay auctions say "Arduino Compatible". In many cases that just means that an arduino and it can be hacked together in such a way that it works. In many cases that hacking is just a level shifter, or getting a 3.3v arduino.

You will need the (logic) level shifter otherwise you will most likely damage the display.

Thanks!  smiley
2  Using Arduino / Displays / Re: SPI 0.96" Color OLED Display Wiring on: November 10, 2012, 01:22:11 pm
FETs?

The ebay add said its Arduino compatable, but I still need a logic shifter then?

Thanks
3  Using Arduino / Displays / SPI 0.96" Color OLED Display Wiring on: November 10, 2012, 01:01:34 pm
Hi

First of all, im new at this stuff, so bare with me.
I bought one of these:
http://www.ebay.co.uk/itm/SPI-0-96-65k-Color-OLED-Module-For-PIC-AVR-Arduino-/130769001327?pt=LH_DefaultDomain_0&hash=item1e72709b6f

It comes with a test code and a data sheet witch is downloadable here: www.wide.hk/download/65kOLEDdemo.rar

Im in doubt regarding the wiring. I though it would be pretty straight forward, but when I googled it, I found this description:

http://learn.adafruit.com/096-mini-color-oled/wiring



It seems my display is similar (maybe a knockoff -they are both called SSD1331) in the adafruit tutorial they are using a 3.3 V logic shifter? What is that, I why cant I just use the 3.3V pin on my Arduino Uno (or can I?)?

Thanks
4  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 29, 2012, 02:36:05 pm
Got my Arduino Uno today! No problems running with that at all.

Thanks a lot for the effort guys - now im off to creating something spectacular! (.. or at least a 'Hello World!' sketch) hahahaha  smiley-lol
5  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 27, 2012, 11:38:57 am
Yes, that would have been a nice quick-fix.

Thanks for your input though  smiley
6  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 26, 2012, 12:01:15 pm
Sadly, yes. The grove is drawed in a white line on the board it self, and they allign.
But in ready to try everything by now - but if I turn the chip around the wrong way, wont it fry?
7  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 25, 2012, 11:43:53 am
And if I choose the Arduino Leonardo, this comes up:

Binary sketch size: 4.858 bytes (of a 28.672 byte maximum)
Forcing reset using 1200bps open/close on port COM3
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
Uploading using selected port: COM3
C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega32u4 -cavr109 -P\\.\COM3 -b57600 -D -Uflash:w:C:\Users\Asger\AppData\Local\Temp\build857580504558195651.tmp\sketch_jun24b.cpp.hex:i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM3
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       1024    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: Send: . [1b]
avrdude: Send: S [53]
avrdude: Recv:

avrdude: Recv:
avrdude: Send: V [56]
avrdude: Recv:
avrdude: Send: v [76]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: p [70]
avrdude: Recv:
Found programmer: Id = "sÿ("; type = ²
    Software Version = E.; Hardware Version = ð.
avrdude: Send: a [61]
avrdude: Recv:
avrdude: Send: b [62]
avrdude: Recv:
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?


Thanks..
8  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 25, 2012, 11:41:16 am
Hi westfa

When chosing Uno, diecimila, duemilanove or nano, it gives me the same message with only the "overriding baud rate" varying.

If I chose the Mega 2560 or Mega ADK the following comes up:

Binary sketch size: 1.632 bytes (of a 258.048 byte maximum)
C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\\.\COM3 -b115200 -D -Uflash:w:C:\Users\Asger\AppData\Local\Temp\build857580504558195651.tmp\Blink.cpp.hex:i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM3
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
         AVR Part                      : ATMEGA2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: Unknown
avrdude: Send: . [1b] . [01] . [00] . [02] . [0e] . [03] . [90] . [85]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:


And it seems to never finish..

Does it make any sense to you? (or anybody else reading this).. thanks
9  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 24, 2012, 03:48:06 pm
Ok, I have ordered a new Arduino Uno from ebay.co.uk. Hope I have better luck with that  -  but still odd that I can get it to work.
Thanks for the help anyway!
10  Development / Other Hardware Development / Re: Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 24, 2012, 10:17:12 am
Hi Louis

I bought it as a start kit including some sensors etc. from dealextreme.com ( http://www.dealextreme.com/p/duemilanove-2009-atmega-328p-basic-kits-for-arduino-starters-122866?item=59 )

(Ive been thinking if it is a fake?)

I have tried changing the setting to most of the boards, but with no success  smiley-confuse
11  Development / Other Hardware Development / Error message: avrdude: stk500_getsync(): not in sync: resp=0x00 on: June 24, 2012, 02:14:05 am
Hi guys

First of all, Im a noob, so bare with me.

I Just recieved my Arduino yesterday, and have spent all day trying to find a solution for the "avrdude: stk500_getsync(): not in sync: resp=0x00" error message.   smiley-confuse
I know there is a lot of subjects in the forum about this already, but none of the solutions have seemed to work for me.

I run a Windows 64-bit computer and the arduino is a Duemilanove ATmega328.

I followed the tutorial on this site on how to get started. When I plugged in my Arduino board, the drivers where successfully installed automatically.
When I check my devices. It says, that it is working proberly and is on COM3.

I made sure to choose the right board and com port in the software.
I also tried resetting the board manually, before/ and during upload (even though what I read suggests the duemilanove has an automatic re-set function yes?)

But when I press upload the following happens (been trying with the blink example sketch):

the RX blinks 3 times, then a pause for approx 10 sec. then the red L13 will be blinking continously.

The bar in the bottom writes:

Uploading...
Binary sketch size: 1.084 bytes (of a 30.720 byte maximum

and then (with verbose output enabled):

Done uploading
Binary sketch size: 1.084 bytes (of a 30.720 byte maximum)
C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM3 -b57600 -D -Uflash:w:C:\Users\Asger\AppData\Local\Temp\build857580504558195651.tmp\Blink.cpp.hex:i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\Asger\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.


I also did the loop back test. It worked.
Could it be something with the BAUD rate? (I already tried different options with no success).

And what should the "Tools -> programmer -> " be set to? It was set by default to AVRISP mkII (But what is it?)

Any help will be greatly appreciated! Thanks   smiley
Pages: [1]