Show Posts
Pages: 1 2 [3] 4
31  Using Arduino / Installation & Troubleshooting / Re: I can't find a USB driver that works Arduino usb2serial ?!?! WinXP on: August 10, 2011, 04:12:48 pm
Try use compatibility mode or install as admin or older version... I have vista and drivers from arduino page works well.
32  Using Arduino / Project Guidance / Strange problem with DIY arduino on: August 10, 2011, 04:08:15 pm
I have two arduinos, one Uno and one made by myself using Atmega8 and http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard scheme.

I turn Uno to ISP programmer using proper sketch and disabling auto reset using a cap between reset and gnd pins.
And problems begins... I burn bootloader on second board without problems, next I used blink to see some effects smiley After that I use sketch that  give HIGH to all digital ports (to test solders and connections)... but all circuit is dead. I burn bootloader once more, use Blink and it works... till next upload.. It seems that cotroller wipe bootloader from memory.
Some advices ?
33  Using Arduino / Audio / Re: Arduino and LM386 on: July 23, 2011, 01:26:58 am
Ok I see two NPN/PNP transistors connected together and  connected to arduino pin using some potentiometer (10 kohm will be good ? ) Or one Darlington transistor
Abut second scheme , what capacitor I should use ?
Hmm this look way simple than using LM386.
34  Using Arduino / Audio / Re: Arduino and LM386 on: July 22, 2011, 04:40:16 pm
Distortion don't bother me too much because I need simple and moderately loud  "beep" smiley-razz 
I plan to build it on universal board, it could solve some connection problems.
I noticed now that I bought N1 version...
35  Using Arduino / Audio / Arduino and LM386 on: July 22, 2011, 11:19:11 am
I have  sketch witch generate some sound using tone() function.  I need louder sound so I plan to use LM386
http://www.national.com/ds/LM/LM386.pdf. I want to use first circuit from page 5
So questions are :
It will work with tone() function ?
Can I have separate voltage supply for arduino and amplifier (each powered from 9V battery ) ?
This circuit will handle 3W  4ohm speaker ?
36  Using Arduino / Networking, Protocols, and Devices / Re: Problems with DS1990R-F3 on: July 06, 2011, 06:26:41 am
Ok false alarm it work. Thanks for help
Please remove thread.
37  Using Arduino / Networking, Protocols, and Devices / Problems with DS1990R-F3 on: July 06, 2011, 06:05:00 am
I have some problems with this device.
I used code :

Code:
#include <OneWire.h>

OneWire  ds(12);

byte addr[8];
String keyStatus="";

void setup(void) {
  Serial.begin(9600);
}

void loop(void) {
  getKeyCode();
  if(keyStatus=="ok"){
      byte i;
      for( i = 5; i >0; i--) {
           Serial.print(":");
           Serial.print(addr[i], HEX);           
      }
  }
  else if (keyStatus!="") { Serial.print(keyStatus);}
 
  delay(1000);
}

void getKeyCode(){
  byte present = 0;
  byte data[12];
  keyStatus="";
 
  if ( !ds.search(addr)) {
      ds.reset_search();
      return;
  }

  if ( OneWire::crc8( addr, 7) != addr[7]) {
      keyStatus="CRC invalid";
      return;
  }
 
  if ( addr[0] != 0x01) {
      keyStatus="not DS1990A";
      return;
  }
  keyStatus="ok";
  ds.reset();
}
and some errors appears. I used 2.2 kohm resistor for pull up and connected all wires in good patter
38  Using Arduino / Networking, Protocols, and Devices / Re: Question about connecting bluetooth module to Arduino on: June 23, 2011, 10:04:16 am
Ok, next problem - I Connected this module using 4 wires (Tx/Rx and GND and 3.3 V) how to make it visible for Windows...
39  Using Arduino / Networking, Protocols, and Devices / Re: RN-41 Bluetooth Questions on: June 23, 2011, 06:28:30 am
TX from arduino  to RX  on board and you know rest smiley-wink To lower voltage on output from arduino you can use voltage divider or voltage regulator.  Probably you can adjust of data rate on bluetooth board using specific commandds (look for it in datasheet)

   
40  Using Arduino / Networking, Protocols, and Devices / Re: Question about connecting bluetooth module to Arduino on: June 21, 2011, 10:35:13 am
I bought this device too so I joint to this thread smiley-wink
I have some question about AT commands - in manual they say that all changes must be done when device is unpaired... So what I must do ? Write some code for arduino  and simply run this (Serial.write() and  setup loop) ?
Can I use voltage regulator for 5V to 3.3V conversion on Tx/Rx ?
41  Topics / Robotics / Re: Help with identification of stepper motors on: May 23, 2011, 10:52:11 am
Ok, thanks guys !
I accdently about this formula smiley
Problem is solved !

I plan to make board with external power(adjustable for both motors) and H-bridge.
Logic is wired thought NPN transistor
( http://www.arduino.cc/en/Reference/StepperBipolarCircuit)
42  Topics / Robotics / Help with identification of stepper motors on: May 23, 2011, 04:29:37 am
I have two steppers from OKI printer. What current I need to power them ?
500 mA will be sufficient value ?

First :
3.3V  number KFL49LLB 741A 5.5 ohm

Second :
5.6V KBL42LLB600R 7.9 ohm

The are four wires (two phase bipolar motors).
43  Using Arduino / Networking, Protocols, and Devices / Re: Interfacing with RF Link Transmitter/Receiver on: March 09, 2011, 03:03:22 pm
I tried but nothing smiley-wink I used sketches from library(1.5 Version) examples.
Tomorrow I check all digital outputs on hand-made arduino. Maybe 11 or 12 is damaged... who knows.

44  Using Arduino / Networking, Protocols, and Devices / Re: Interfacing with RF Link Transmitter/Receiver on: March 09, 2011, 01:42:32 am
I have some problem too..
I fuse transmitter and reciver programs in one - to test them


Code:
#include <VirtualWire.h>
#undef int
#undef abs
#undef double
#undef float
#undef round

void setup()
{
    Serial.begin(9600);   // Debugging only
    Serial.println("setup");


/* TX na 12 */
    // Initialise the IO and ISR
    vw_setup(2000); // Bits per sec
    Serial.println("VWSetup");

/* RX na 11 */
    vw_rx_start(); // Start the receiver PLL running
    Serial.println("RX Start");
}

void loop()
{
/** TX DATA **/
    const char *msg = "hello";
    digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    Serial.println("Send");
    vw_wait_tx(); // Wait until the whole message is gone
    Serial.println("TXdone");
    digitalWrite(13, false);



/** RX DATA **/
    uint8_t buf[VW_MAX_MESSAGE_LEN];
    uint8_t buflen = VW_MAX_MESSAGE_LEN;

    if (vw_get_message(buf, &buflen)) // Non-blocking
    {
int i;

  digitalWrite(10, true); // Flash a light to show received good message
// Message with a good checksum received, dump it.
Serial.print("RX: ");

for (i = 0; i < buflen; i++)
{
    Serial.print(buf[i], HEX);
    Serial.print(" ");
}
Serial.println("");
  digitalWrite(10, false);
    }


    delay(200);
}

TX work fine  but RX don't read any messages. I'm using RF link from seedstudio
Any suggestions ?
45  Using Arduino / Microcontrollers / Re: Some errors in burning bootloader on: March 08, 2011, 02:39:20 pm
No this is a part.
I run blink sketch...  and LED blinked smiley-wink
Pages: 1 2 [3] 4