Show Posts
Pages: 1 ... 61 62 [63] 64 65 ... 116
931  Using Arduino / Microcontrollers / Re: Arduino Tiny on: November 16, 2012, 03:34:03 am
I found a reference to the arduino core in the platforms.txt file which should be 'tiny'. I have change that and attached it.

I'm not having any problems with 1.5.0, though it seems in 1.5.1 they changed how the menu's work so the diving of boards into submenus that I had done doesn't work anymore. Other than that though all is well (maybe its because I have a different core? though there shouldn't be an issue with that from the IDEs point of view).
932  Using Arduino / Microcontrollers / Re: core13: An Arduino core for the Attiny13 *testers wanted* on: November 13, 2012, 09:05:54 am
An attiny2313 is not an attiny13. Thus their unique device signatures don't match.
933  Using Arduino / Microcontrollers / Re: Arduino 1.0.2 & ATtiny 85 on: November 12, 2012, 06:27:15 pm
gcc only compiles what it is told to compile. The IDE is the one that tells gcc what to compile.
Post edited smiley
934  Using Arduino / Microcontrollers / Re: Arduino 1.0.2 & ATtiny 85 on: November 12, 2012, 04:17:45 pm
Thats because it is compiling the wrong core.

you should be seeing it compile filed at:
D:\Arduino\arduino-1.0.2\hardware\arduino\cores\tiny\

Have you downloaded the Tiny core? The Arduino core is not suitable for attiny's.


As for blink including the IPAddress files, when the IDE uses gcc to compile the program, it tells it to compile all files in the core. If you don't include the associated header files (or cpp files themselves) anywhere in your code, the files and code associated will be scrubbed by the linker.
935  Using Arduino / Displays / Re: SPI 0.96" Color OLED Display Wiring on: November 10, 2012, 01:35:17 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.
936  Using Arduino / LEDs and Multiplexing / Re: Why do LEDs explode? on: November 10, 2012, 01:31:03 pm
*Silicon smiley-wink

Actually more likely GaAs/InGaAs/InGaP/etc rather than Silicon - Silicon isn't good at producing light, but that is a whole different kettle of fish.
937  Using Arduino / LEDs and Multiplexing / Re: Why do LEDs explode? on: November 10, 2012, 11:54:32 am
As you try and force more and more electrons to flow through the diode (i.e. a higher current), more energy is dissipated in the semiconductor due to collisions between the electrons and the lattice structure of the semiconducter material. The heat causes the lattice to gain energy and expand.
The plastic doesn't expand as much and so pressure builds up inside the LED until the plastic fails and cracks at which point all the energy stored up pressing against the inside of the shell is rapidly dissipated in the form of pressure waves (sound) and kinetic energy (the bits of plastic launching across the room).

Granted that is a catestrophic failure. In many cases the failure will not be catestrophic, but rather simply the fragile metal wire interconnects will melt rather like a fuse does. Though either way the final outcome is the same... you have to buy a new LED  smiley.
938  Using Arduino / LEDs and Multiplexing / Re: RGB SMT LED Cube, resistors, drivers, and shift registers. on: November 10, 2012, 11:46:13 am
Interesting. That means that the diagram is wrong (the mark is the anode not the cathode).

The Zener diodes aren't LEDs. I am not sure why they are there, but I would guess for some sort of overvoltage protection?
939  Using Arduino / Microcontrollers / Re: Arduino Tiny on: November 10, 2012, 11:43:37 am
Thanks, Tom. But the problem isn't the entries that have to be put into boards.txt but the double entries that you said me they appear in the menus.
That was just duplicate programmers, not duplicate entries for boards. However if you delete the 'programmers.txt' file in the tiny/avr/ directory, it still works and the duplicate entries go away.
940  Products / Arduino Due / Re: Arduino DUE availability in DK? on: November 10, 2012, 07:10:47 am
I orderd mine on october 23 at arduino store but still processing   smiley-confuse
Hope they will ship very soon ...

If it helps, I ordered my from the arduino store within 20 minutes of it appearing on the store, and it took them until last Thursday (6th) to ship it out. I'm guessing there are just so many orders to get through they are overwhelmed at the moment.
I can't wait until Tuesday smiley-grin (Thats when mine will arrive)
941  Using Arduino / LEDs and Multiplexing / Re: RGB SMT LED Cube, resistors, drivers, and shift registers. on: November 10, 2012, 06:53:35 am
Look at the pin numbers on the bottom right diagram (you can ignore the zener diodes). The have drawn the image as if it were from looking at the back.
If you then look at the top left diagram, the cathode is marked with a triangular notch.

The good news is that if you have in fact wired everything as common anode, it is a lot easier to control as you can now use the TLC5940's or any other LED current sink to drive them.
942  Using Arduino / Microcontrollers / Re: Arduino Tiny on: November 10, 2012, 06:49:57 am
To make things easier, I have attached my boards.txt file.

This one also subdivides the entries into the new board/processor menus.
943  Using Arduino / Microcontrollers / Re: Arduino Tiny on: November 10, 2012, 06:20:19 am
Oh right yeah forgot that. You have to now specify the upload tool in the boards.txt file.

To do that you need to add these lines for each entry:

attiny84at1.bootloader.tool=avrdude
attiny84at1.upload.tool=avrdude


Also, if you haven't already got one, you may have to copy the programmers.txt file from the arduino folder as well. I am not sure that this is needed though as it results in duplicate programmers in the IDE programmer window.
944  Using Arduino / Microcontrollers / Re: ArduinoISP Fuses Only. on: November 09, 2012, 06:49:01 pm
avrdude in conjunction with Arduino Uno flashed with ArduinoISP should be able to change the fuses after a bootloader or some other hex file has been uploaded to the target Attiny.

Yup, thanks for that smiley I totally forgot about using avrdude as a standalone.

This worked:
avrdude -CE:\~Path~Removed~For~Security~\arduino-1.0\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny84
-cstk500v1 -P\\.\COM4 -b19200 -U hfuse:w:0x57:m


Rather pleasingly the blink sketch I uploaded to check with continued blinking away after avrdude finished smiley

Edit:
Just checked and the bootloader is still functioning properly. I have to remember to do a power cycle just before the program starts to download to get back into the bootloader, but that was to be expected. Bye bye autoreset smiley
945  Using Arduino / Microcontrollers / ArduinoISP Fuses Only. on: November 09, 2012, 06:26:57 pm


I need to program an ATTiny via ISP with a bootloader, and then rewrite the fuse settings to disable the reset pin functionality.
The problem is that it appears to erase the flash, then write the fuse settings, then write the bootloader code. This means that if I set the fuse such that it disables the reset pin, then it cannot write the bootloader as suddenly ISP becomes not possible.
 I thought then if I burn the bootloader with the fuses set to have the reset pin enabled (that gets the bootloader code successfully onto the chip), then run the burn bootloader process again only this time with a fuse setting which disables the reset pin, then all would be well. The bootloader would remain from the first pass and the fuse settings from the second. However it would appear that the bootloader written by the first pass is erased in the second meaning I am left with a tiny with no bootloader and no reset pin (= need a high voltage programmer to recover it).

Does anyone know if it is possible to get the ArduinoISP sketch to only change the Fuse settings without modifying the flash?
Or failing that is there a way to change the order of things and make it fuse-erase-write instead of erase-fuse-write.
Pages: 1 ... 61 62 [63] 64 65 ... 116