Show Posts
Pages: 1 ... 15 16 [17] 18 19 ... 22
241  Using Arduino / General Electronics / Pinout of 328 chip on: May 01, 2012, 10:55:58 am
hi
im learning to lay out a pcb and want to put the atmega328 chip into it, i really just want to be double sure on the pin out of the chip, as ive got it layed out on my board

pin8 +5
pin 9 crystal + cap
pin 10 crystal +cap
pin 20 +5
pin 22 Gnd

pin 21 is this pin i wasnt too sure about is it +5?, i see from some guides connect +5 to it - AREF, what does this pin do?

ok i see its the analog ref pin for max input range 5v.
thank you
242  Using Arduino / General Electronics / Re: cant communitcate with the arduino on: April 30, 2012, 02:23:37 pm
thanks for the replys and info, i did try the guide here, http://arduino.cc/en/Tutorial/ArduinoISP but couldnt get that to work either


then i contacted the person who sold me the atmega 328 and USB -TTL board, and found out the bootloader was already installed, and managed to download data, simply by letting go of the reset button at the correct time.  if i am able to download data using his method will i be able to burn the bootloader?

hi Techone, my setup is the same as you explain expect for the crystal, pins 9, 10 with the 22nf c's, the circuit diagram definatly says pins 9,10
243  Using Arduino / General Electronics / How to protect input, pins on: April 29, 2012, 12:24:29 pm
hi
just wondering if there is anyway to protect input pins from external cabling, im using low's for my inputs and a cable run of 15 metres,  ive tested the run it works ok,  but a bit worried about static, noise ect that might damage the pins
thanks
244  Using Arduino / LEDs and Multiplexing / Re: Can you use txd and rxd as digital input/outputs on: April 29, 2012, 12:00:05 pm
ok thanks for the info just wanted to be sure.
245  Using Arduino / LEDs and Multiplexing / Can you use txd and rxd as digital input/outputs on: April 29, 2012, 11:01:11 am
just wondering if you can use pins, 2,3 (txd, and rxd) as input/outputs or are they simply used for transmitting/recieving data? im sure thay are just want to be sure, they are marked up as IO1 and Io2 on the circuit diagram.

thank you
246  Using Arduino / General Electronics / cant communitcate with the arduino on: April 29, 2012, 03:13:59 am
hi
im learning to design a pcb for my first project and put a arduino chip in instead of using the board, but im havint trouble communicating to the chip, i have my USB to TTL Converter installed with the correct driver but i cant seem to communicate or download anything to the chip. i am connedted on a serial port but just the usb to ttl converter.

im using the ATMEGA328 ARDUINO chip i have it all set up as it should be ive read a couple of guides,  but on the com port all i can see id the usb to ttl converter, not the arduino chip, i have the +5, gnd, txd, rxd, from the port connected to the chip but no urduino?  

i have a complete uno board also, but when i place the ic into the board it also doesnt recognise the chip as well?

any help greatly appreciated

ok found out i need to burn the bootloader on the ic, ive found the guide here and tryed several times using an uno board connected to breadboard followed the instructions, but cant seem to burn the bootloader, keep on getting an error does this guide actualy work, are there another guides out there that may work?

thank you

does
247  Using Arduino / General Electronics / Re: mosfet question on: April 28, 2012, 08:32:36 am
i thought as much, thanks very much for your help
248  Using Arduino / General Electronics / Re: is this crystal suitable? on: April 28, 2012, 07:56:38 am
ok thanks very much
249  Using Arduino / General Electronics / Re: mosfet question on: April 28, 2012, 07:29:23 am
thanks very much for the the help, do i need to use 10k rs for outputs that light led's?
(i already have a diode across the coil)
250  Using Arduino / General Electronics / mosfet question on: April 28, 2012, 06:00:52 am
hi
for my first project im switching a relay, ive been researching about mosfets, am i right in thinking i can use the output (high) straight onto the gate of the mosfet without a resistor? below is the one i want to use.

thank you


http://www.rapidonline.com/Electronic-Components/Fdn359an-Mosfet-N-30v-2-7a-Sot-23-47-0208/?sid=9e663417-1e1c-4c70-b322-60a27b647168
251  Using Arduino / General Electronics / Re: is this crystal suitable? on: April 27, 2012, 05:48:37 pm
hi mark
thanks for the help i thought they were 22pf? hasnt got a value on the circuit diagram
cheers
252  Using Arduino / General Electronics / is this crystal suitable? on: April 27, 2012, 05:20:11 pm
hi
for my first project, im learning to pcb design, and im laying my own board out, using surface mount components not knowing anything about crytals just wondering if this crystal is suitable to use with a ATMEGA328-20PU chip.

http://www.rapidonline.com/Electronic-Components/Act753smx-4-Smd-16-00mhz-90-2014

thank you
253  Using Arduino / Programming Questions / Re: help with boolean on: April 24, 2012, 05:59:10 am
hi paul, how do you set the value of the flag in appropriate places?
254  Using Arduino / Programming Questions / Re: help with boolean on: April 24, 2012, 05:34:56 am
hi paul

the mute needs to mute (Buz, HIGH); alarm,  and finish when, if ((Fan1val == LOW) && (Fan2val == LOW) && (Esval == LOW)) 
255  Using Arduino / Programming Questions / Re: help with boolean on: April 24, 2012, 05:22:39 am
hi

my alarm is here, is a high output that switches on a buzzer circuit.

digitalWrite(Buz, HIGH);                  // Alarm on


my mute switch is here, a low in to mute the alarm.

int Mute = A2;               // mute switch input

to be honest i really dont know how to act upon the input (mute)    


(pinMode(Mute, OUTPUT);                // Set the switch pin as 1p.) sorry corrected should be INPUT
Pages: 1 ... 15 16 [17] 18 19 ... 22