Show Posts
Pages: 1 2 [3] 4 5 ... 9
31  Forum 2005-2010 (read only) / Interfacing / Interfacing with a fonera on: September 11, 2009, 10:05:30 pm
I've seen youtube videos of an arduino sending data to a fonera router.  What I would like to know is how one would setup a webserver on the fonera (with dd-wrt I am sure) and have it send data to the arduino over it's serial port.  For example, let's say I ahve an LED on the arduino that I want to turn on and off with the webserver built into the fonera.  How would I have a webpage/script send data over the serial port?
32  Forum 2005-2010 (read only) / Development / Re: Programming through wifi on: September 16, 2009, 10:57:15 pm
That still requires a wireless access point.  The WiShield, as far as I can tell, can not give out dhcp addresses and automatically have the web browser go to a page.

I am not sure I could achieve what I want with ad hoc.
33  Forum 2005-2010 (read only) / Development / Re: Programming through wifi on: September 13, 2009, 10:41:25 pm
True.  I'm just looking at my options.

If the bluetooth arduino wasn't so expensive I would go that route.
34  Forum 2005-2010 (read only) / Development / Re: Programming through wifi on: September 12, 2009, 10:27:11 pm
I just read how the auto-reset works.  That might be a possibility.  I wonder if the command line stuff supports that.

Thanks for giving me a place to start.  I will be looking into this.

I am making an LED controller for my motorcycle.  I plan on hooking up the arduino to a fonera router running dd-wrt.  I am going to set it up so anyone can connect to the AP and control the colors of the LEDs through a web server on the fonera.  

Because of this if I make a new program with different LED fades and such it would be nice to upload the program without taking the arduino out.  I plan on putting the arduino in the fairing so taking the fairing apart each time would be annoying.
35  Forum 2005-2010 (read only) / Development / Programming through wifi on: September 12, 2009, 01:23:45 pm
I have a thought on this.  Does the arduino software have a command line interface?  If not I suppose I could look into adding it.

I am looking at connecting an arduin to a fon router though the serial port.  In theory I could install the arduino software on a fon with dd-wrt.  If the arduino software has a command line interface I could could make a web page to up load a program and then program the arduino.

Doesn't the serial interfaced used to upload a program to the arduino the same as a couple of the pin available?  If so how does the arduino know the difference between uploading code and program communications?
36  Forum 2005-2010 (read only) / Troubleshooting / Timer1 on: October 04, 2010, 11:44:36 am
The playground page for Timer1 says "Note that this breaks analogWrite() for digital pins 9 and 10 on Arduino."  Digital write and read would still work for those pins though, correct?
37  Forum 2005-2010 (read only) / Troubleshooting / Re: Error with Lilypad & Bluetooth Mate on: February 13, 2010, 10:53:04 pm
I get that also.  But if I wait abit and try again I get the following errors.
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
38  Forum 2005-2010 (read only) / Development / Re: LED Project-- is it possible? on: September 02, 2009, 12:49:16 am
You don't need an arduino for that.  There are several VU meter ICs out there.  Most work with line out - which I am not sure what a car stereo would have.  Line out is not an amplified signal.  To do a spectrum analyzer you will have to look into different filters.  High pass, low pass, and band pass I believe.
39  Forum 2005-2010 (read only) / Interfacing / Re: Bliptronic LEDs with SPI on: October 03, 2010, 12:25:21 am
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285962975
40  Forum 2005-2010 (read only) / Interfacing / Re: fast spi library - add SPI CS on: October 01, 2010, 04:58:41 pm
I assume that fast spi library works and solves the issues you mentioned.  I haven't been around my project yet to try the library.  But it seems like it must work as the example code is bliptronic's code converted to using the library.

I get what you are saying.  It is the same reason you suggested to me to blank the TLC5947 before sending data - to reset the PWM cycle.

So, assuming the library is keeping track of where the beginning of the PWM cycle is - hardware wise does my idea work?  Because the idea could be applied to other hardware, not just LEDs.

I wish there was a datasheet on that IC that was in english.
41  Forum 2005-2010 (read only) / Interfacing / fast spi library - add SPI CS on: October 01, 2010, 02:56:15 pm
This is a software and hardware interfacing question, but I am going to start with the hardware first.

I am using the bliptronic (lpd6803) leds in my project.

Looking at bliptronic's example code the timer simulates a single clock cycle, correct?  That means the LEDs are getting updated rather slowly.  Then I found the fast spi library for them.  However, I am already using an SPI device with cable select in my project.  So that means I would have to add a CS - also modify the library to use it, but that is the next step.

To add CS to the LEDs would it be as simple as to hook up a transistor to the the CS pin and between the MOSI arduino pin and data pin on the LEDs?  Or does it need to be a relay?


http://code.google.com/p/fastspi/
42  Forum 2005-2010 (read only) / Interfacing / Re: Using an Ardiono and LED's for room lighting on: July 28, 2010, 12:57:04 pm
Related project to give you ideas.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1253904010

Reply 27 and 28 I have details on my current progress.

Instead of using RBG LEDS you can use bright whites.
43  Forum 2005-2010 (read only) / Interfacing / Re: Arduino code to drive Octobrite LEDs on: September 25, 2009, 01:11:00 pm
FYI, here's a video of the code.
44  Forum 2005-2010 (read only) / Interfacing / Re: Reduce flicker of TLC5947? on: February 11, 2010, 10:31:37 pm
I gave that modification to the code a shot.  Wow, that worked perfectly.  Well, there's a slight flicker but I only see it in my side vision.
45  Forum 2005-2010 (read only) / Interfacing / Re: Reduce flicker of TLC5947? on: February 11, 2010, 09:23:53 pm
So this?  I'm not a hardware guy, I'm a programmer.  Most of what you said didn't make sense.


void LEDDriver::SetLatch()
{
  digitalWrite(blank_pin, HIGH);
  digitalWrite(latch_pin, HIGH);
  delay(1);
  digitalWrite(blank_pin, LOW);
  digitalWrite(latch_pin, LOW);
}
Pages: 1 2 [3] 4 5 ... 9