Show Posts
Pages: [1] 2 3
1  Using Arduino / General Electronics / Re: Can someone help me pick the right battery/voltage regulator combo? on: April 23, 2014, 05:13:32 pm
Hi Chagrin,

Thanks a lot for your very clear explanation and taking the time to write down the whole process. I'm going to have to bookmark your answer for future projects!

I guess I'm going to need a bigger battery for this project as 4h of autonomy won't be enough. I was hoping to find a way to get 5 days of autonomy, that was a bit naive of me. I'm not even sure that will be possible.

I've learned something today and I will be going to bed less stupid smiley

Cheers!
2  Using Arduino / General Electronics / [solved] Can someone help me pick the right battery/voltage regulator combo? on: April 23, 2014, 02:58:41 pm
Hello,

I'm working on a project using an arduino Yun and there no regulator on it. So I started looking for battery, regulators, step-down/step-up regulator, etc... and now I just don't know anymore.

Here's my two founds after excluding the L7805 from my choices because of the 2V step-down thing.
StepUp/Down 5V regulator: looks pretty cool
http://www.coolcomponents.co.uk/5v-step-up-step-down-voltage-regulator-s7v8f5-1135.html
Battery 3.7V at 2000mAh
http://www.coolcomponents.co.uk/lithium-polymer-battery-2000mah.html

What do you guys think of that combo?

Also, a technical question. I always though that the higher the mAh the longer the battery will last before charge (obviously depending on what's sucking on it) but that feels a bit naive. I think I read during my search that higher voltage regulated to lower voltage will last longer than low voltage regulated to higher voltage. Even if the latter has a higher mah.

So I'm confused....and the analogy of the water only took me so far in understanding electricity.

I hope someone can help me pick the right one.

Cheers

ps: The arduino Yun seems to need around 250mah, a photodiode and IR led, I might also have a 2 or 3 leds,  and maybe four IV-9 numitron, which need something like 3.5V at 20mah apparently. So a total around 350mah maybe, hope that helps.
3  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: April 19, 2014, 10:11:02 am
Hi Guys,

I'm currently looking into the same kind of things. I was wondering how it went in the end and if you could share some of your work or founds?

I first was attracted by Nixies but soon realised that managing 170V wasn't the best for me, and then found the Numitron! There're still cool and the IV-9 seems like the only one working on 3.5V to 4.5V.

Cheers.

ps: +1 Karma for Paul__B
4  Using Arduino / Networking, Protocols, and Devices / Re: new Twitter API - HTTPS always required on: June 22, 2013, 05:39:14 pm
Hi Christophe,

That's quite a good find. Thanks for sharing.
5  Using Arduino / Networking, Protocols, and Devices / new Twitter API - HTTPS always required on: June 15, 2013, 11:10:36 am
Hi,

On the 11th of this month, Twitter stopped some of their old API (like search.twitter.com) but most importantly, all of their API is HTTPS only.

This is a problem for arduino, as there's no ssl support as far as I'm aware (ram issue?). It's a shame, I tried to look everywhere for a arduino only solution but no luck.

The only solution is a proxy server (Arduino ask Server to make quiery Twitter's API). It's not as elegant, I was really enjoying having just an arduino board and no computer.

If anyone has a different solution or thoughts about it, that would be great.

Cheers

founds during my searches incase:
https://code.google.com/p/crypto-arduino-library/
https://polarssl.org/
http://www.yassl.com/yaSSL/Home.html

6  Using Arduino / Programming Questions / Re: CuHead/Uno R3 and Twitter on: June 14, 2013, 02:13:02 pm
@andersoncentral

If you are using "search.twitter", like me, than you might get into problems as Twitter spotted it on the 11th of June. You have now to use api.twitter.com/1.1/search, register your app, and do an auth. It's a bit more complicated as you need to submit two keys to get a token that you will include in your queries to the API.

I am starting to adapt my php test to arduino. Will post the results if I'm successful. 
7  Using Arduino / Networking, Protocols, and Devices / Re: [Resolved] Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 11:23:52 am
Cheers SurferTim,

I will check it out when I get to this part in my project. I will need some time to get my head around the code you putted on Playground.

Again, thank you very much for your help.
8  Using Arduino / Networking, Protocols, and Devices / Re: [Resolved] Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 08:09:15 am
I'm so happy about this I've got to thank you guys again. That was driving me insane! It's one of those things, it's right in front of you but you've been looking at it for long that you can't even see it.

Thank you!
9  Using Arduino / Programming Questions / Re: Ethernet and SD in the same sketch on: May 26, 2013, 07:55:34 am
Hi,

this worked for me:
http://forum.arduino.cc/index.php?topic=168374.msg1253159#msg1253159

Code:
void setup() {
  Serial.begin(9600);

  // disable SD SPI
  pinMode(4, OUTPUT);
  digitalWrite(4, HIGH);

  // now do the rest of your setup stuff.
}

thanks to SurferTim.
10  Using Arduino / Networking, Protocols, and Devices / Re: [Resolved] Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 07:52:34 am
SurferTim, you're the man!

I should have read the SD library doc in more details and realise that there's both using SPI communication.

So if I want to use the SD card to store information, I would need to switch on and off pin 4:

1/ switch off pin 4
2/ HTTP request
3/ store response in memory
4/  switch on pin 4
5/ write to card
(back to step 1)

Cool, I hope this will also help others. ( I can't believe how much time I wasted because of this).

Cheers!
11  Using Arduino / Programming Questions / Re: Ethernet and SD in the same sketch on: May 26, 2013, 07:40:26 am
Hi,

I've just came across the same issue. After wondering if the problem was with the ethernet library I found through Zoomkat reply that I needed to remove the SD card (left in from previous test).

Have you found a solution for this problem?
12  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 07:35:48 am
Ok, that's weird and I don't think I saw any mention of this on the documentation of the Ethernet Lib.

I saw in your comments that the SD card needed to be removed. Which I did, and now it works.

I don't really understand it. Any idea?
13  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 07:28:38 am
Hi ZoomKat,

I've you tested your code recently? This code doesn't work on my side.
I don't see any differences with the Webclient client example I posted (in terms of using the client.connect()).

Cheers


14  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Board, client.connect(URL, port) only works with IP? on: May 26, 2013, 07:20:54 am
Thanks Guys for the quick reply.


@ zoomkat: Trying it now and I will report back.

@ JohnHoward: I'm testing with google, bbc, etc... so that shouldn't be an issue.
15  Using Arduino / Networking, Protocols, and Devices / [Resolved] Ethernet Board, client.connect(URL, port) only works with IP? on: May 25, 2013, 01:13:21 pm
Hi,

I've looked everywhere but I can't find someone with the same issue. Some people had this problem but it was because they didn't specified a host in their header. Is it something that I'm missing?

Basically, the ethernet library with the ethernet board doesn't seem to accept a URL (char array) in the method connect(); It works fine with an IP.

Here's a piece of code (the webclient example):

Code:
#include <SPI.h>

#include <Dhcp.h>
#include <Dns.h>
#include <Ethernet.h>
#include <EthernetClient.h>
#include <EthernetServer.h>
#include <EthernetUdp.h>
#include <util.h>

/*
  Web client
 
 This sketch connects to a website (http://www.google.com)
 using an Arduino Wiznet Ethernet shield.
 
 Circuit:
 * Ethernet shield attached to pins 10, 11, 12, 13
 
 created 18 Dec 2009
 modified 9 Apr 2012
 by David A. Mellis
 
 */

// Enter a MAC address for your controller below.
// Newer Ethernet shields have a MAC address printed on a sticker on the shield
byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress server(173,194,41,184); // google.co.uk
IPAddress serverMM(69,89,31,106);
char serverName[] = "www.google.co.uk";  // google URL

// Initialize the Ethernet client library
// with the IP address and port of the server
// that you want to connect to (port 80 is default for HTTP):
EthernetClient client;

void setup() {
 // Open serial communications and wait for port to open:
  Serial.begin(9600);
   while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }
  
  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    // no point in carrying on, so do nothing forevermore:
    for(;;)
      ;
  }
  // give the Ethernet shield a second to initialize:
  delay(1000);
  Serial.println("connecting...");
 
  // if you get a connection, report back via serial:
  if (client.connect(serverName, 80)) {
    Serial.println("connected");
    // Make a HTTP request:
     client.println("GET /search?q=arduino HTTP/1.1");
  
    //client.println("GET /search?q=arduino HTTP/1.1");
    client.println("Host: www.google.com");
    //client.println("Connection: close");
    client.println();
  }
  else {
    // kf you didn't get a connection to the server:
    Serial.println("connection failed");
  }
}

void loop()
{
    
  // if there are incoming bytes available
  // from the server, read them and print them:
  if (client.available()) {
    char c = client.read();
    Serial.print(c);
  }

  // if the server's disconnected, stop the client:
  if (!client.connected()) {
    Serial.println();
    Serial.println("disconnecting.");
    client.stop();

    // do nothing forevermore:
    for(;;)
      ;
  }

  
}

When using a URL instead of an IP, the program just hang a the client.connect().

I've tried so many combination, even thought that maybe the example was missing libraries to enable URLs. If any one the answer that would be great, otherwise could that will be a bug I will report.

Cheers!
Pages: [1] 2 3