Show Posts
Pages: 1 2 [3] 4 5 ... 20
31  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
32  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
33  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?
34  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
 
35  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?
36  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  ?
37  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?

38  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?
39  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
40  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
}

41  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
42  Using Arduino / General Electronics / Re: AT mega 2560 question on: November 17, 2013, 03:31:47 pm
O ok could you recommend anything that is through hole that is compatible with the ATmega2560?
43  Using Arduino / General Electronics / AT mega 2560 question on: November 17, 2013, 09:20:58 am
Hi there
I'm using a ATmega2560 in one of my project and I was wondering if this crystal would work? It also has the to capacitance built in
uk.rs-online.com/web/p/ceramic-resonators/7214887/
44  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 05:08:23 pm
No that's that is what the load is going to be on the out put lines as shown on pick I put up, so this is not charging load
45  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 04:54:40 pm
Ok cool thanks for that will Baer that in mind
Still still have not decided how we are going to connect this as I can not connect me load through lm717 as it's max load is like 1a and I'm going to be puting 3-6 amps through  it?
Pages: 1 2 [3] 4 5 ... 20