Show Posts
Pages: [1] 2 3
1  Using Arduino / Project Guidance / Re: Word search online on: March 21, 2014, 09:34:14 am
Hey, thanks for your quick and insightful reply.
Looks like this is something I should do with a small pc then, something like a mac mini would probably work.
Uhmm… also looks like the scope will probably be too big, I should use some api from google or similar, I have noticed there are some services one can pay for, where they let you search by brand, but still no one does it by terms and still the web analytics I should derive would be far too complex to be requiring arduino.
Thanks anyway!
Best
F
2  Using Arduino / Project Guidance / Word search online on: March 21, 2014, 09:15:06 am
Hi there,
I would like to start a new project where Arduino checks for the most used words that can be found on online advertising.
While I pretty much know how to do this (code wise) I was wondering if any of you could suggest where I should be looking to find the words. In other terms, do you know if there is any special place where advertisements are screened, or placed, perhaps just transformed into text, so that I can grab the words and then filter them?
It wouldn't need to be working in real time, it could be updated every few minutes or so.
At the moment I am thinking about connecting to a google search and use some commands to look for the ads that are normally placed on top of the results; or there could be some piece of code I could use to search on facebook's ads etc
Many thanks in advance for any idea you feel like sharing.

Best

faeve
3  Using Arduino / Project Guidance / Re: Building a resistance wire to produce heat 50-60C on: July 10, 2013, 05:52:31 pm
Thanks everyone for the quick help.
It already gives some good hints regarding factors I should keep into account.
>Chagrin: I wasn't taking into account Watts, I will have to consider that, thanks for advice regarding parts and where to find them.
>Mike: very good hint, I was actually thinking about using PWM to control the level of heat generated by the wire.
And love the comparison between fireworks and boiling water, despite having experienced both it didn't cross my mind.
>tjmck: thanks for tip, I wouldn't have thought about the telescope dew controllers.
Going for a dive in the net after all these vvv good tips, will post an update soon while I proceed.
All the best
F
4  Using Arduino / Project Guidance / Building a resistance wire to produce heat 50-60C on: July 10, 2013, 03:39:03 am
Hello,
I would like to build a resistance wire that can heat up to 50-60C to connect to an Arduino so that it can be turned on and off.
At present I am experimenting with materials but It will most likely be hidden behind a surface of ceramic and it will heat it by conduction.
Can anybody point point me towards a good resource? I had a look at websites or posts on the forum where Arduino controls heaters etc, but I wouldn't know how to limit the resistance wire so that it only heats up to a specific (low) heat. Should I start from hacking a small heater?

Many thanks in advance for your help

Best

Faeve
5  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: September 09, 2012, 10:46:48 am
Sure!
I will do it, that's a very good idea indeed.

F
6  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: September 04, 2012, 12:36:08 pm
Hey everyone,
I managed to connect the Arduino mega to the 4 mech relays from YourDuino to 4 panels of smart glass and they work like a charm!
I love the sound of the relays.
Thanks for your help!!!!
Best
Faeve
7  Using Arduino / Programming Questions / Re: For loops?? on: September 03, 2012, 05:52:28 pm
Hi Marco,

thanks for sharing your code.
I have tried your first version of your Multiblink, I have created a doc.h called Multi_Blink.h and saved it in the same folder as Multi_Blink.ino, I have also created a folder and placed it in the Arduino Library folder.
It was giving me this type of error 'leadTable does not name a type'.
Then I have created a Multi_Blink2.h file, placed it in the same folder, closed everything, and it now works like a charm.
Many thanks for sharing!

Best

F
8  Using Arduino / Programming Questions / Re: UDP Parsing text in Arduino (with Ethernet shield) from Processing on: September 03, 2012, 04:35:55 pm
Thanks!
I've found it by accident indeed, looks like a very good tool!
Have you tried it already?
9  Using Arduino / Programming Questions / Re: UDP Parsing text in Arduino (with Ethernet shield) from Processing on: September 03, 2012, 02:53:25 pm
Okay, I thin I've figured that out thanks to this posting:
http://forums.adafruit.com/viewtopic.php?f=25&t=25264

I used the second example.

Basically I added this on top of what I already had (I stopped using that char buff I had created):
Code:
#define numBufSize 3
char numStr[numBufSize] = { '0','1', '2' }; // just as an example

Then is setup I changed the baudrate to:
Code:
Serial.begin(115200);
this won't hopefully make a mess, I usually use 9600...

And finally
Code:
// Convert decimal string in numStr to an unsigned integer in num.
  // The string is in a fixed size buffer.
  // There is no checking for invalid digit characters or number too large.
  unsigned long num = 0;
  for (int i = 0; i < numBufSize; i++) {
    num = num * 10 + (packetBuffer[i] - '0');
  }
 
//  Serial.println(num);
 
      if (packetBuffer[0]=='P') {
      r1val=num - 3200;
    }
    if (packetBuffer[0]=='Q') {
      r2val=num - 3300;
    }
    if (packetBuffer[0]=='R') {
      r3val=num - 3400; // reads the value coming from Processing related to category 3
    }

     if (packetBuffer[0]=='S') {
      r4val=num - 3500;
     
    }

Now, I know this isn't the cleanest code of all, but for now it does the job.
Just in case it might be helpful for someone else.
So, everything works, except for those values which only have one unit (1, 2, 3, 4 etc to 9), they become (19, 29, 39.... 99)
Does anyone know what is happening in the UDP translation of the values from Processing.
10  Using Arduino / Programming Questions / Re: UDP Parsing text in Arduino (with Ethernet shield) from Processing on: September 03, 2012, 12:14:50 pm
Thanks for the suggestion, I am checking the atoi() function, it makes lot of sense.
the reason I am trying to use the array with the char is because I was able to make it to work through serial communication and I thought that doing it through Ethernet would have been just as easy.
But it isn't apparently smiley
I will dig into the atoi() function and will send an update as soon as I will have some success...
hopefully!
11  Using Arduino / Programming Questions / UDP Parsing text in Arduino (with Ethernet shield) from Processing on: September 03, 2012, 11:35:45 am
Hello there,
I have looked for this issue over the Forum and Google, but I couldn't find anything suitable to my needs.
It is something pretty simple, I know, only problem is that I don't know how to make it to work>

I have Processing sending strings to Arduino via Ethernet with the Udp library.
So Processing at the moment is sending 4 groups of numbers (ints) as strings.
Each values looks pretty much like P10, Q36, R53, S8 (having one single number reads well in Processing but comes with an added '9' in Arduino).

Code:
if (n <= 0) {
    fetchData();
    lastTime = millis();
    String ip = "192.168.1.72"; // the remote IP address
    int port = 8888;        // the destination port
    String cone="P"+categ1;
    println(cone);
    udp.send(cone, ip, port );   // the message to send
    myDelay(250);

    String ctwo="Q"+c2;
    println(ctwo);
    udp.send(ctwo, ip, port );   // the message to send
    myDelay(250);
   
    String cthree="R"+c3;
    println(cthree);
    udp.send(cthree, ip, port );   // the message to send
    myDelay(250);
   
    String cfour="S"+categ4;
    println(cfour);
    udp.send(cfour, ip, port );   // the message to send
    myDelay(250);
    }

this way every group of values starts with an identifier, which I sould be able to read back in Arduino to identify it.

Then in Arduino I receive the package with the following code
Code:
Udp.read(packetBuffer,UDP_TX_PACKET_MAX_SIZE);
    Serial.println("Contents:");
    Serial.println(packetBuffer);

Now that I have the packetBuffer I would like to extract the values so that I can use them in Arduino.
I thought I could do that by building an array:



Code:
char buff = 000;
for (int i=0; i<3; i++) {
      buff[i]=buff[i+1];
    }
    buff[3]=Serial.read();
    if (buff[0]=='P') {
      r1val=int(buff[3]);
    }
    if (buff[0]=='Q') {
      r2val=int(buff[3]);
    }
    if (buff[0]=='R') {
      r3val=int(buff[3]); // reads the value coming from Processing related to category 3
    }

     if (buff[0]=='S') {
      r4val=int(buff[3]);

And then I will covert the string into an int.
But for now it is not working.
Can anybody spare some little help?

Many thanks

Best

F

Thanks
12  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: September 02, 2012, 12:55:19 pm
Thanks Grumpy Mike,
I didn't know that, uhmmm..... that makes it slightly more complicated as I will be hosting the SSR in small plinth. I have also purchased this mechanic model: http://arduino-direct.com/sunshop/index.php?l=product_detail&p=155
It will arrive in 2 dd from Hong Kong, I might have to wait and use that instead then.
Quick question, will I be able to use more than one relay at time?

Many thanks

F
13  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: September 01, 2012, 01:02:30 pm
Great! Thanks!
Just learning about Electricity and Physical Computing smiley-lol
Yes, I called the shop and they suggested I don't use the Gadgeteer.

So, at the end I happened to purchase a solid state relay (I am attaching the picture) and a mechanical one (from YourDuino http://arduino-direct.com/sunshop/index.php?l=product_detail&p=155) which I will use in conjunction with a Sensor Shield. The 4 channel mechanical Relay Board will arrive in 2 days I hope.
But for now I was thinking about using the Solid State Relay.
I have noticed that instead of having (NO, COM, NC), for each one of the Solid State Relays there are only two inputs (called A1, B1; A2, B2; A3, B3; A4, B4) and then one unique block on top where it reads: IN1, IN2, IN3, IN4, GND, GND, VCC.  
I will have a look online about how to connect the board to the Solid State relays and will send an update very soon!
14  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: August 28, 2012, 10:42:24 am
Thanks Chagrin
The cables coming from the transformer are:
Input (black cable) blue 0, brown 230v.
Output (white cable) blue 0, brown 110v.
I have contacted the manufacturer about the transformer, they confirmed that it outputs 110va current steeping down from the original 230va.
There is a fuse in the mains here in the uk, it is an equivalent of 13A.
They suggest that I run the power from the mains to the transformer and that then I connect this to an electrical junction box. This box would be connecting the transformer to each positive and negative poles of the panel.
Translating this into my project I would assume I would be following your advice by splitting the hot wire in the output cable (brown 110va) into 4 cables and have them inserted in the com of each relay.
Then the 4 negative wires as you suggested from the NO of each relay to the negative pad of each panel.
Where is the negative wire coming out of the white output cable (blue wire) supposed to go to?
I will sketch out a circuit diagram later on in the day, it would be very useful if you could review it for me.
Thanks for the suggestion related to the relay board.
Can I buy it and use it in the UK? I have seen that it is for the US market I wonder if it had the same specs.
I have found this Relay Board they sell in London, reading the specs sheet looks like it could be suitable for this type of project:
http://www.coolcomponents.co.uk/catalog/relay-module-p-926.html
Many thanks again for your help, I will use all necessary caution to avoid making a mess.

Best

Faeve
15  Using Arduino / General Electronics / Re: Smart Glass and Arduino on: August 28, 2012, 10:27:36 am
Sure, I will post a log of all this adventure. So that it can hopefully be used by other ppl wanting to work with the smart glass. Once finished I will put a link on this thread in the forum!
Pages: [1] 2 3