Show Posts
Pages: 1 2 3 [4] 5 6 ... 21
46  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 07, 2014, 05:35:39 pm
I copy that one into my boards.txt and still not working, I do  close the arduino  before altering anything I do not open until everything else has been closed, by the looks of it it cant be that folder must be something else on the down load?

I have deleted and reinstalled to make sure I have not altered anything else, still no difference?


 
47  Using Arduino / General Electronics / attiny84 freezing on: January 05, 2014, 05:07:36 pm
hi there

I have a attiny84 on a PCB that I have had made but every now and then it seems to just freeze midway through the loop. This may only happen once every four ,five weeks. Any ideas which may be causing this?
The power feed comes in through a 1000UF cap into L7805ABV volt regulator out through 33UF cap then into 0.1 UF cap
All inputs are optically isolated.
All outputs go into a ULN2803A transistor which in turn powers coils of  relays .
This unit is inside a metre square panel which is full of 3 phase kit which in turn could be noisy.
On the other hand there's other printed circuits in there working fine.
48  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 05, 2014, 04:56:37 pm
any ideas what the problem could be?
could it be anything else?

thanks Joe
49  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 04, 2014, 12:35:57 pm
yes this is my one
c:\Users\Joe\Documents\Arduino\hardware\tiny\boards.txt

?
50  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 03, 2014, 04:53:17 pm
Quote
Is your boards.tx located in the right place:

C:\Projects\Arduino\hardware\tiny\boards.txt


yes as you have show above
and yes all in lowercase

 
Quote
Whisch Arduino IDE version are you using ?

1.0
51  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 03, 2014, 04:56:16 am
o I see so like this:
Code:

attiny2313at1.name=ATtiny2313 @ 1 MHz

# The following do NOT work...
# attiny2313at1.upload.using=avrispv2
# attiny2313at1.upload.using=Pololu USB AVR Programmer

# The following DO work (pick one)...
attiny2313at1.upload.using=arduino:arduinoisp
# attiny2313at1.upload.protocol=avrispv2
# attiny2313at1.upload.using=pololu

attiny2313at1.upload.maximum_size=2048

# Default clock (slowly rising power; long delay to clock; 8 MHz internal; divide clock by 8)
# Int. RC Osc. 8 MHz; Start-up time: 14 CK + 65 ms; [CKSEL=0100 SUT=10]; default value
# Divide clock by 8 internally; [CKDIV8=0]
# Brown-out detection disabled; [BODLEVEL=111]
# Serial program downloading (SPI) enabled; [SPIEN=0]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]

attiny2313at1.bootloader.low_fuses=0x64
attiny2313at1.bootloader.high_fuses=0x9F
attiny2313at1.bootloader.extended_fuses=0xFF
attiny2313at1.bootloader.path=empty
attiny2313at1.bootloader.file=empty2313at1.hex

attiny2313at1.build.mcu=attiny2313
attiny2313at1.build.f_cpu=1000000L
attiny2313at1.build.core=tiny

Quote
Which errors do you get ?
Please post them here

I don't have any, it does not show up in tools - board
52  Using Arduino / General Electronics / Re: 3phase mains faliure circuit on: January 02, 2014, 05:14:55 pm
 phase-to-neutral  would be good, what sort of thing should I be looking at?
53  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 02, 2014, 05:12:14 pm
does that look ok was it still not working?

Quote

attiny2313at1.name=ATtiny2313 @ 1 MHz

# The following do NOT work...
# attiny2313at1.upload.using=arduino:arduinoisp
# attiny2313at1.upload.using=arduino:arduinoisp

# The following DO work (pick one)...
#attiny2313at1.upload.using=arduino:arduinoisp
# attiny2313at1.upload.protocol=avrispv2
# attiny2313at1.upload.using=arduino:arduinoisp

attiny2313at1.upload.maximum_size=2048

# Default clock (slowly rising power; long delay to clock; 8 MHz internal; divide clock by smiley-cool
# Int. RC Osc. 8 MHz; Start-up time: 14 CK + 65 ms; [CKSEL=0100 SUT=10]; default value
# Divide clock by 8 internally; [CKDIV8=0]
# Brown-out detection disabled; [BODLEVEL=111]
# Serial program downloading (SPI) enabled; [SPIEN=0]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]

attiny2313at1.bootloader.low_fuses=0x64
attiny2313at1.bootloader.high_fuses=0x9F
attiny2313at1.bootloader.extended_fuses=0xFF
attiny2313at1.bootloader.path=empty
attiny2313at1.bootloader.file=empty2313at1.hex

attiny2313at1.build.mcu=attiny2313
attiny2313at1.build.f_cpu=1000000L
attiny2313at1.build.core=tiny
 
54  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 02, 2014, 04:09:05 pm
ok I will have a go with this one

where it says :
Open the "boards.txt" file and the "Prospective Boards.txt" file using your
favourite text editor

so am I ok opening it with notepad?

and where it says:
 In the "boards.txt" file, change the "upload.using" entries to the
 appropriate value for your setup


so what do I change it to?
55  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 02, 2014, 03:30:55 pm
so i'm just changing the file name not the file type  ?
56  Using Arduino / General Electronics / 3phase mains faliure circuit on: January 02, 2014, 03:13:36 pm
hi there
We have needed to monitor 3 phase supplies and have been using these or similar to

http://uk.rs-online.com/web/p/monitoring-relays/3611647/?searchTerm=361-1647&relevancy-data=636F3D3126696E3D4931384E525353746F636B4E756D6265724D504E266C753D656E266D6D3D6D61746368616C6C26706D3D5E5C647B337D5B5C732D2F255C2E2C5D5C647B332C347D2426706F3D313426736E3D592673743D52535F53544F434B5F4E554D424552267573743D3336312D313634372677633D4E4F4E4526

Now we are looking at doing something like this on own PCB. I know the obvious is to use 3 relays each supplied on a different phase and put one of the Arduino input pins through 3 contacts. I think there must be a better way of doing this,  any one have any suggestions?

57  Using Arduino / Microcontrollers / ATTiny2313 bootloader on: January 02, 2014, 03:05:36 pm
hi there

I am trying to programme ATTiny2313 I am using boot loader off this website   http://toasterbotics.blogspot.co.uk/2011/08/attiny2313-with-arduino.html
Following the instructions on the web site it states I need to change the file main.cxx to cpp how do I go about doing this please?
58  Using Arduino / Programming Questions / Re: Interrupt not working on Leo on: December 25, 2013, 05:15:17 am
I am using 1.0.1 so that might be where my problem is I will have a go with 1.0.5
59  Using Arduino / Programming Questions / Interrupt not working on Leo on: December 24, 2013, 10:15:09 am
hi there
I can not seem to get the Interrupt on pin 7 on the leo to work,I have this as a test code and it seems to work fine on pin 2 and 3, any ideas?

Quote
const byte LED = 13;
const byte BUTTON = 7;

// Interrupt Service Routine (ISR)
void pinChange ()
{
    if (digitalRead (BUTTON) == HIGH)
      digitalWrite (LED, HIGH);
    else
      digitalWrite (LED, LOW);
}  // end of pinChange

void setup ()
{
    pinMode (LED, OUTPUT);  // so we can update the LED
    pinMode (BUTTON, INPUT);
   digitalWrite(BUTTON, HIGH); // turns the pullup on
   attachInterrupt (4, pinChange, CHANGE);  // attach interrupt handler
}  // end of setup

void loop ()
{
    // loop doing nothing
}

60  Using Arduino / General Electronics / Re: AT mega 2560 question on: November 17, 2013, 05:11:52 pm
Ok thanks for that
Whilst I'm on here, the AREF pin what should I be doing with it? Should I be pooling it down thow a ceramic capacitor 0.1 uf?

Thanks Joe
Pages: 1 2 3 [4] 5 6 ... 21