Show Posts
Pages: [1] 2 3
1  Using Arduino / General Electronics / Re: Solar Panel energy to DC on: August 11, 2012, 10:18:07 am
Thank you very much guys, till now i am trying to do what you are posted and finally did it smiley
First i have tried this with Capicator and it is not worked but then i have replaces capacitor with 3.7v lipo batterty:
http://www.ebay.com/itm/10x-3-7V-150mAH-RC-LiPo-Battery-Syma-S107-S108-S026-Venus-331-Avatar-Z008-/270935961879?pt=Radio_Control_Parts_Accessories&hash=item3f150ab117#ht_1221wt_976

So the scheme is the plus side of changeable voltage from solar panel comes to zener diod and from diod goes to 3.7 battery and minus side connected directly. Then for usage the another zener diod connected to batter by plus side (vice versa than other diod) and minus of battery side directly to whatever i will power up. So output from battery with diod is the voltage which i use and can increase voltage by the board which i have posted above.

So for now this works perfectly smiley but i don`t know what is happens inside battery. Can battery overcharged ? Because of this scheme can battery life reduced, then what i can do prevent this ?

Turkel.
2  Using Arduino / General Electronics / Solar Panel energy to DC on: August 06, 2012, 05:05:52 am
Hi,

I have DC to DC converter:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221030281255&ssPageName=ADME:X:RTQ:US:1123#ht_3903wt_1210

And 6v solar panel. I want to have stabile voltage from solar panel so bought this DC-DC module. This module converts 0.9v-5v to 5v. I have tested it with various voltage batteries and output is 5.22-5.75 and this is good. The problem is when i connect solar panel it is not outputs any little voltage and LED light is not lights. I know that solar panel have AC output and that is why i have connected 4 diods to create diod bridge for to get DC output but after this DC-DC module also not worked smiley-sad I want to know how i can make it work, what is the problem in Solar power. Also solar panel output is also 3-4v in low light places.
Let me know please how to conect solar panel and this DC-DC module.

Thanks,
Turkel.
3  Using Arduino / Networking, Protocols, and Devices / Arduino UNO + Bluetooh to My ASUS notebook blutooth on: July 28, 2012, 07:05:50 am
Hi,

So i have these items arduino, bluetooth and want to connect them to my PC. By connecting i need just turn on/off one led ex pin 13 and then this would be enough to know for me to start my car control project smiley-grin
So i have searched bluetooth while my arudino and bluetooth modules are powered up and on search ASUS bluetooth found one bluetooth which is "linvor" and this is arduino bluetooth module.
So the question is how to send commands to this bluetooth device from my PC ?
I have arduino bluetooth sketch from arduino tutorials.

Thanks,
Turkel.
4  Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 can`t communicate on: July 20, 2012, 12:16:33 pm
For to transfer i enter T to serial and then i am getting log of failed tries to get responds.
Is there are other tutorial similar to this to set and use. Would be better to have new one because this works with old version of arduino software smiley-sad
Can someone give me simple test script ???
5  Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 can`t communicate on: July 18, 2012, 01:19:16 pm
Couldn`t helped, i have connected RF24 radio(3,4); 3 to CE and 4 to CSN pins on NRF module as this comment says about this in RF24 code you showed above. I have checked all connected pins by multimiter if they are properly connected, soldered. I am getting timeout messages as it sends and waits then says timeout, i have also increased wait time to 500ms but still nothing differs smiley-sad  help me please what else i can do.
6  Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 can`t communicate on: July 16, 2012, 06:43:14 am
İ am not sure 100% but i think yes it correctly communicates with SPI, because with Serial i am getting report about can`t connect to other NRF module. But still confused here, not sure how to debug this smiley-sad
7  Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 can`t communicate on: July 16, 2012, 05:55:58 am
Quote
RF24 radio(9,10);
I don`t know what are these pins on arduino and NRF.

My code is:
Code:
/*
 Copyright (C) 2011 J. Coliz <maniacbug@ymail.com>

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 version 2 as published by the Free Software Foundation.
 */

/**
 * Example for Getting Started with nRF24L01+ radios.
 *
 * This is an example of how to use the RF24 class.  Write this sketch to two
 * different nodes.  Put one of the nodes into 'transmit' mode by connecting
 * with the serial monitor and sending a 'T'.  The ping node sends the current
 * time to the pong node, which responds by sending the value back.  The ping
 * node can then see how long the whole cycle took.
 */

#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#include "printf.h"

//
// Hardware configuration
//

// Set up nRF24L01 radio on SPI bus plus pins 9 & 10

RF24 radio(9,10);

//
// Topology
//

// Radio pipe addresses for the 2 nodes to communicate.
const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0D2LL };

//
// Role management
//
// Set up role.  This sketch uses the same software for all the nodes
// in this system.  Doing so greatly simplifies testing. 
//

// The various roles supported by this sketch
typedef enum { role_ping_out = 1, role_pong_back } role_e;

// The debug-friendly names of those roles
const char* role_friendly_name[] = { "invalid", "Ping out", "Pong back"};

// The role of the current running sketch
role_e role = role_pong_back;

void setup(void)
{
  //
  // Print preamble
  //

  Serial.begin(57600);
  printf_begin();
  printf("\n\rRF24/examples/GettingStarted/\n\r");
  printf("ROLE: %s\n\r",role_friendly_name[role]);
  printf("*** PRESS 'T' to begin transmitting to the other node\n\r");

  //
  // Setup and configure rf radio
  //

  radio.begin();

  // optionally, increase the delay between retries & # of retries
  radio.setRetries(15,15);

  // optionally, reduce the payload size.  seems to
  // improve reliability
  radio.setPayloadSize(8);

  //
  // Open pipes to other nodes for communication
  //

  // This simple sketch opens two pipes for these two nodes to communicate
  // back and forth.
  // Open 'our' pipe for writing
  // Open the 'other' pipe for reading, in position #1 (we can have up to 5 pipes open for reading)

  if ( role == role_ping_out )
  {
    radio.openWritingPipe(pipes[0]);
    radio.openReadingPipe(1,pipes[1]);
  }
  else
  {
    radio.openWritingPipe(pipes[1]);
    radio.openReadingPipe(1,pipes[0]);
  }

  //
  // Start listening
  //

  radio.startListening();

  //
  // Dump the configuration of the rf unit for debugging
  //

  radio.printDetails();
}

void loop(void)
{
  //
  // Ping out role.  Repeatedly send the current time
  //

  if (role == role_ping_out)
  {
    // First, stop listening so we can talk.
    radio.stopListening();

    // Take the time, and send it.  This will block until complete
    unsigned long time = millis();
    printf("Now sending %lu...",time);
    bool ok = radio.write( &time, sizeof(unsigned long) );
   
    if (ok)
      printf("ok...");
    else
      printf("failed.\n\r");

    // Now, continue listening
    radio.startListening();

    // Wait here until we get a response, or timeout (250ms)
    unsigned long started_waiting_at = millis();
    bool timeout = false;
    while ( ! radio.available() && ! timeout )
      if (millis() - started_waiting_at > 200 )
        timeout = true;

    // Describe the results
    if ( timeout )
    {
      printf("Failed, response timed out.\n\r");
    }
    else
    {
      // Grab the response, compare, and send to debugging spew
      unsigned long got_time;
      radio.read( &got_time, sizeof(unsigned long) );

      // Spew it
      printf("Got response %lu, round-trip delay: %lu\n\r",got_time,millis()-got_time);
    }

    // Try again 1s later
    delay(1000);
  }

  //
  // Pong back role.  Receive each packet, dump it out, and send it back
  //

  if ( role == role_pong_back )
  {
    // if there is data ready
    if ( radio.available() )
    {
      // Dump the payloads until we've gotten everything
      unsigned long got_time;
      bool done = false;
      while (!done)
      {
        // Fetch the payload, and see if this was the last one.
        done = radio.read( &got_time, sizeof(unsigned long) );

        // Spew it
        printf("Got payload %lu...",got_time);

// Delay just a little bit to let the other unit
// make the transition to receiver
delay(20);
      }

      // First, stop listening so we can talk
      radio.stopListening();

      // Send the final one back.
      radio.write( &got_time, sizeof(unsigned long) );
      printf("Sent response.\n\r");

      // Now, resume listening so we catch the next packets.
      radio.startListening();
    }
  }

  //
  // Change roles
  //

  if ( Serial.available() )
  {
    char c = toupper(Serial.read());
    if ( c == 'T' && role == role_pong_back )
    {
      printf("*** CHANGING TO TRANSMIT ROLE -- PRESS 'R' TO SWITCH BACK\n\r");

      // Become the primary transmitter (ping out)
      role = role_ping_out;
      radio.openWritingPipe(pipes[0]);
      radio.openReadingPipe(1,pipes[1]);
    }
    else if ( c == 'R' && role == role_ping_out )
    {
      printf("*** CHANGING TO RECEIVE ROLE -- PRESS 'T' TO SWITCH BACK\n\r");
     
      // Become the primary receiver (pong back)
      role = role_pong_back;
      radio.openWritingPipe(pipes[1]);
      radio.openReadingPipe(1,pipes[0]);
    }
  }
}
// vim:cin:ai:sts=2 sw=2 ft=cpp

I have connected as on this tutorial:
http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
8  Using Arduino / Networking, Protocols, and Devices / NRF24L01 can`t communicate on: July 14, 2012, 06:18:54 am
Hi,

I have connected pins of my Arduino UNO + NRF and pro mini + NRF regarding to this tutorial:
http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo

But it is not gets respond from other NRF smiley-sad Whole Serial output is about filed to get respond. I use "Getting started" library from "maniacbug".
I am worried about RF24 radio(9,10); is connected wrongly. Is this pin numbers there ? if yes then my pin 10 is not connected on arduino boards and probably pin 9 is in wrong direction.
Help me on this please.

Turkel.
9  Using Arduino / Microcontrollers / Re: Meduino Pro mini Enhancement on: July 08, 2012, 10:11:59 am
hmmstill couldn`t make it work with TTL, which one is reset pin on PL2303? do i need to connect it directly to pro mini GRN ?

Another question about pro mini, i have switched it to 3.3V. Now on product discription it says 3.3v is output and i see there are only VCC input  on board. So i want to know after switch how much voltage do i need to supply, 5 or3.3 ? is this switch for output as input power remains same and but power on pins are changed?

Let me know please, i don`t want to burn up my pro mini   smiley-zipper
10  Using Arduino / Microcontrollers / Re: Meduino Pro mini Enhancement on: July 08, 2012, 01:32:12 am
cyclegadget and Erni thank you every much programming with arduino UNO is very easy smiley
I couldn`t press reset button on time but i have tried 20 times with TTL module smiley-sad

Want to know is it possible to make auto reset with TTL to pro mini connection. On pro mini instruction (sales page) it says that i have auto reset:
http://www.ebay.com/itm/230795578198?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

I`d like to use TTL with pro mini because every time while i will do programmig i need to wire up5 cables and destroy UNO for it smiley-sad
11  Using Arduino / Microcontrollers / Re: Meduino Pro mini Enhancement on: July 07, 2012, 05:09:47 am
I have also bought and just today received item smiley after 20 days of shipping.
I see blink is working on it and it is pre-programmed but, i can`t upload my own sketch smiley-sad
I don`t know what is problem, i use PL-2303HX module to communicate with pro mini but always getting this error:
avrdude: stk500_getsync(): not in sync: resp=0x00

I think this error is because of TTL module, because even if i haven`t connected pro mini to TTL i am getting same error. So may be problem is on drivers, do you know how can i get drivers for this item:
http://www.ebay.com/itm/USB-RS232-TTL-PL2303HX-Auto-Converter-Module-Converter-Adapter-5V-3-3V-Output-/350568364250?_trksid=p5197.m1992

Let me know if you have solution for this plz.
12  Using Arduino / General Electronics / Re: confused on voltages of arduino on: June 30, 2012, 12:18:15 pm
My arduino is UNO (and have another mini pro) it has 3.22v output i have done short test with it  smiley-evil
So my motor is 3.22v and 16.1mA
I need 200ohm resistor exactly (0.01% tolerance smiley)

Now about transistor, i have read about it as it is stable output regulator regarding to middle pin input. Actually i don`t have any transistors now, but i will get some nearly, or i will grab into some old home electronics  smiley-money
Do we need transistor to prevent interchangeness of amperage by motor? because if i block motor rotation the amperage increases up to 140mA. I have read about transistors but there are were not any equation or any rule for it, just explanation. can ou forward me to right direction to understand transistors.
One more question, you said 2n2222 transistor which resistance is included, and it is 10k so do i need to subtract this resistance and get ohm for separate resistor regarding to transistor`s internal resistor? do all transistors has resistor inside or it is just resistance of transistor itself?

Thank you very much Sir, you helped me to understand this think very much smiley
13  Using Arduino / General Electronics / Re: confused on voltages of arduino on: June 30, 2012, 08:26:50 am
Thank you very much i have read these tutorials, they were really great smiley
My motor is: 13.10mA and i am not sure about ideal voltage for it and how much RPM is it. Actually i have tested it by myself with use of multimeter with 1.5 AA battery smiley
So if arduino output is 3V then i need to find mA for 3 volt or is it would be same mA for 3V too?

currently the equation is this:
13.10 = 1.5 * X so X is my ohm for resister smiley-grin i think i have got the thinks.

But the problem with transistor, how to find out required transistor ?
14  Using Arduino / General Electronics / Re: confused on voltages of arduino on: June 30, 2012, 04:08:12 am
Also very interested on how can i know that is i am loading arduino pins with incorrect voltage? I have tester with 7-8 functioni think it is enough for to know this, is it ?
15  Using Arduino / General Electronics / Re: confused on voltages of arduino on: June 30, 2012, 04:06:18 am
Quote
No, please stop damaging your arduino. You need a resistor in seriese with the LED, and you need more than a 0 ohm resistor with the motor.
To drive a motor you need a transistor. Getting more than 40mA from a pin will damage it.
OK i am going to see how much wat is my motor then will decide on resistor for motor.
Also how to learn about Led infinite resistance structure ? Why motor runs when Led is off?
Pages: [1] 2 3