Show Posts
Pages: 1 2 3 [4] 5 6 ... 21
46  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.
47  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?


48  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
49  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?


 
50  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.
51  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
52  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

?
53  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
54  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
55  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?
56  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
 
57  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?
58  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  ?
59  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?

60  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?
Pages: 1 2 3 [4] 5 6 ... 21