Show Posts
|
|
Pages: [1] 2 3
|
|
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_1210And 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  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  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  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  help me please what else i can do.
|
|
|
|
|
7
|
Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 can`t communicate
|
on: July 16, 2012, 05:55:58 am
|
RF24 radio(9,10); I don`t know what are these pins on arduino and NRF. My code is: /* 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
|
|
|
|
|
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 
|
|
|
|
|
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 ]  So my motor is 3.22v and 16.1mA I need 200ohm resistor exactly (0.01% tolerance  ) 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  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 
|
|
|
|
|
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  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 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  i think i have got the thinks. But the problem with transistor, how to find out required transistor ?
|
|
|
|
|
15
|
Using Arduino / General Electronics / Re: confused on voltages of arduino
|
on: June 30, 2012, 04:06:18 am
|
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?
|
|
|
|
|