Show Posts
Pages: 1 [2]
16  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 29, 2012, 02:46:10 pm
Thanks - I went for ebay in the end. 20 x 22pf capacitors for a quid was pretty good!

Mouser were cheap, granted, but for 5 ATMega chips they wanted £12.00 postage - they won't be getting that sort of money from me!!

Sam
17  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 28, 2012, 07:21:23 am
Yes, it ha ping sinc beenestablished that my problem was down to my misunderstanding. I had originally thought that the 'Arduino bootloader' that I had heard mentioned was universal, and then you just had to choose the correct board when uploading the sketch.

I am now shopping around for the best price for components. Can someone please take a look at the kit that Oomlout do , something like the ABCC kit or something it is called, that provides all the components necessary to make a BB arduino, and tell me if they think it is a good deal? I am leaning towards it just because I can get all the stuff from the same site etc. Note I am looking to buy a few, so if it becomes less of a good deal when buying two or three then please make your thoughts known.

Thanks

Sam
18  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 26, 2012, 03:06:30 pm
Ah, I'm in the UK. Anyone with any experience from stores over here? Which are the best?

I wasn't planning on modifications, just wondering, as I stated a couple of times.
19  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 26, 2012, 01:50:55 am
I think I will buy a few ATmega328Ps micros, and use arduino ISP. While at it , I am also going to buy a FEW crystals and capacitors, so I can mix and match between 8Mhz and 16.

I will buy 328 Ps, but just out of curiosity, do you mean like soldering and stuff when you say "modifications"? Only, I am quite a competant solder-er ( is that a word? smiley-razz ), I just need to get a clamp to act as a third arm. Again, I will buy 328Ps, (as why buy something that will take more effort?) I am just curious.

Many thanks to all,

Sam
20  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 25, 2012, 03:46:44 pm
I thought the bootloader was just a standard for arduino? There is only one option for Burn Bootloader in the Arduino software. So is it possible to burn this new bootloader with only my Arduino Uno?

Apologies Qtechknow if I snapped, I'm just a litle frustrated with this, a lot of threads I read seem to have all the same problems, and yet none have had a solution that works for me!! Haha

Thanks

Sam
21  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 25, 2012, 11:13:26 am
It already has the bootloader, it's come straight from my Uno. Plus, I can't burn anything to the chip because the Uno will no longer have it's chip in. Please read before posting on a topic.   
22  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 24, 2012, 02:57:10 pm
Yes, but i really wanted to use the minimal setup, and I know this can be done, I just don't understaqnd where the problem is coming from?

You say the easiest method is to add the crystal and capacitors. What are the other methods?
23  Using Arduino / Microcontrollers / Creating a standalone Arduino on: March 24, 2012, 05:39:11 am
Ok, so I basically wanted to experiment with pulling the ATMega 328 from my Uno and using it as standalone on a breadboard, using the minimal setup. This means I have to use the internal clock, so I have appended the following to my boards.txt in my arduino1.0 installation folder:

Code:
##############################################################

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=arduino
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino
atmega328bb.build.variant=standard

However, when I try to upload, I get the following error:
avrdude: stk500_recv(): programmer is not responding

What do I need to do? The chip works fine on my Uno, so it is not broken. I do not need to upload ArduinoISP, do I? This must be surely just for the bootloader burning, as I will be uploading it to the chip and then immediately overwriting it again?

Can anyone help?

Thanks,

Sam
24  General Category / General Discussion / Re: Fritzing question on: March 13, 2012, 02:49:35 am
Ok thanks, so as long as I be careful with spacings, I should be ok?

Can this also work if I were to use the generic IC? Eg if I had an 8 pin ic, a ln 8pin socket would fit? Does the rule apply for all chips, or only ATMegas? (This is all one q, I just want to be clear) I get that impression from your answer, just making sure.

Thanks

Sam
25  General Category / General Discussion / Fritzing question on: March 12, 2012, 06:06:37 pm
First of all, I'd just like to say that I have posted this on the Fritzing forum, but that didn't seem terribly active.

Feel free to move this to a more appropriate section.

Anywho, my question is this: (cut and pasted)

If I wanted to create a PCB [in Fritzing] with an IC socket on
it, can I use an IC of the same size and simply
solder on an IC socket when the time comes?

E.g. if I wanted to use an IC socket for an
ATmega (such as on an Arduino), could I
symbolise this in fritzing by simply using an
ATmega [graphic]?

is this possible? Or are the spacings different?

Thanks,

Sam
26  General Category / General Discussion / Re: Is Arduino for me.. ? on: June 24, 2011, 08:30:21 am
Arduino is for everyone!! I wasn't sure at first, but I don't regret getting a starter kit. Sure, it wasn't that cheap (£70, approx $100), but it is well worth every penny!!

Give it a go, you WILL love it!
27  Using Arduino / Interfacing w/ Software on the Computer / Re: Problems communicating with processing on: June 16, 2011, 09:36:38 am
Many thanks - I was not seeing this due to a java version mismatch. All is well now.
28  Using Arduino / Interfacing w/ Software on the Computer / Problems communicating with processing on: June 15, 2011, 11:28:40 am
Hi guys,

My problem is as follows -

I am following an Arduino tutorial with processing and TouchOSC on my iPhone to control an RGB LED. So far, I have the TouchOSC interface created and it can control the Processing sketch (3 simple sliders). However, I run into the following problem when trying to add the Arduino to the equation.

Here is the code for the Procsessing sketch:

Code:
import cc.arduino.*;
import processing.serial.*;
import oscP5.*;
import netP5.*;

Arduino arduino;

OscP5 oscP5;

float redAmount = 0.0f;
float greenAmount = 0.0f;

float blueAmount = 0.0f;

void setup(){
  size(320, 480);
  background(0);
  oscP5 = new OscP5(this, 8000);
  [color=red]arduino = new Arduino(this, Arduino.list()[0],57600);[/color]
 
 
}


void draw(){
  background(redAmount, greenAmount, blueAmount);
 
  fill(0);
  //red rect
  stroke(255,0,0);
  rect(34,39,67,255);
  fill(50,40,40);
  rect(34,39+255,67,-redAmount);
 
  //green rect
  fill(0);
  stroke(0,255,0);
  rect(124,39,67,255);
 fill(40,50,40);
  rect(124,39+255,67,-greenAmount);
 
  //blue rect
  fill(0);
  stroke(0,0,255);
  rect(216,39,67,255);
  fill(40,40,50);
  rect(216,39+255,67,-blueAmount);
 
  //write to arduino
  arduino.analogWrite(11, int(redAmount));
  arduino.analogWrite(10, int(greenAmount));
  arduino.analogWrite(9, int(blueAmount));
 
 
 
}

void oscEvent(OscMessage theOscMessage){
  String addr = theOscMessage.addrPattern();
  float val = theOscMessage.get(0).floatValue();
 
  if(addr.equals("/1/red")){ redAmount = val;}
  if(addr.equals("/1/green")){ greenAmount = val;}
  if(addr.equals("/1/blue")){ blueAmount = val;}

 
 
 
}

The issue occurs at the red line.

The error is as follows:

Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 0
    at Colour_Mixer.setup(Colour_Mixer.java:45)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)



I have read that I should perform a println(Arduino.list()), but where can I read the output of this command?

I am running Ubuntu Linux 10.10 Maverick Meerkat 64 bit, Processing 1.5.1, and I have tried uploading both the Standard Firmata and the Standard Firmata For Uno sketches to the Arduino.

Thanks in advance,

Sam
29  Using Arduino / Installation & Troubleshooting / Re: Dead Link! on: June 10, 2011, 05:45:24 am
On my UNO, on the bottom it says what revision it is.
Pages: 1 [2]