Show Posts
Pages: 1 2 [3] 4 5 ... 20
31  Using Arduino / General Electronics / Re: 3phase mains faliure circuit on: January 12, 2014, 04:41:06 pm
CT does not suit my application.
So are you saying picking up a phase putting it through a resistor into an opt out through a capacitor?
Could I not have two 100k .25w resistors in series?
 
32  Using Arduino / General Electronics / Re: 3phase mains faliure circuit on: January 11, 2014, 02:51:16 pm
ok thanks for that, I have had a bit of a look about
so correct me if I'm wrong, I can get away with just using a resister on the diode side?
calculating the resister size do I do the same theory as I would be calculating the resister for an LED?
33  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 09, 2014, 04:46:08 pm
yea! We are all up and working now. Thank you for your help.
34  Using Arduino / Microcontrollers / Re: ATTiny2313 bootloader on: January 08, 2014, 05:10:23 pm
Here is a screen shot of mine I would say it is the same as yours?


35  Using Arduino / General Electronics / Re: attiny84 freezing on: January 07, 2014, 05:43:38 pm
Quote
While you seem to be considering all the sources of hardware-based errors, what about a software error?
Can you post your code?

I know it cant be code issues as it was heavily tested before putting into service and I have 60 of these out there now working for approx 6-12 months all seem to be fine apart from these odd few

Quote
Hi, have you got the attiny and it circuitry shielded, or in a metal case?
Do you have a 0.1uF cap across the power supply pins of the attiny itself? (soldered right at the IC pins)
It sounds like you have not got enough bypassing, the optos are certainly a good idea.
A pic of your project and a circuit diagram would be great, even a pic of a hand drawn circuit.

Yes I do have a 0.1  UF very close to the attiny
I will get some pics up very soon
All cables into the board are screened and earthed

Quote
You don't mention the reset pin.
Put a 10kohm resistor from the reset pin to +5V. What you see is maybe autoresetting

no I don't have anything attached to reset pin this may be my problem I will give it a try

thanks for all your help
36  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?


 
37  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.
38  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
39  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

?
40  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
41  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
42  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?
43  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
 
44  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?
45  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  ?
Pages: 1 2 [3] 4 5 ... 20