Show Posts
Pages: 1 [2] 3 4 ... 10
16  Using Arduino / Project Guidance / Re: USB extender on: April 24, 2013, 02:04:14 pm
i hadn't heard of monoprice.  it seems that they have some great products.  Are they just a retailer or do they actually design their own products?
17  Using Arduino / Project Guidance / USB extender on: April 23, 2013, 11:32:20 pm
Hello all!
This isn't really relevant to arduino but it is electrical so it's somewhat relevant.
I am wondering if it's possible to make a extremely cheap and long distance usb extender.  Basically I am trying to have my xbox and pc and such on one side of the room and the tv/kinect on the other side of the room (wall mounted tv).  So my cable has to be really long.  My thinking is that if I take a USB-male and solder just two wires onto it for data and then take a USB-female and solder those same two wires to the data lines as well as a decently well regulated 5V power supply.  I can have the data and necessary power at the end of the cable.  Is this going to work? What problems may arise?  Also, I need to do something similar with HDMI but for that I was wondering if anyone knew of a wireless drop in product for HDMI, i.e plugging one end in PC and other end in tv?
Thank you all!
18  Using Arduino / Programming Questions / Arduino Sleep with Wakeup of Incoming Character on: March 19, 2013, 10:14:04 pm
Hello,
For a project of mine I am trying to make an arduino sleep so that it can take up the least amount of power as possible.  But I would like to be able to wake it up with a character sent over an xbee wireless connection.  is this kind of thing possible?
19  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 07, 2013, 11:09:55 pm
thanks for the idea.  but it seems i might not have to do that, as the tlc seems to be working fine now with the ethernet shield receiving udp packets as commands.
but just for knowledge, could you elaborate a little more on how you would connect the transistor for the SS stuff?
20  Using Arduino / Motors, Mechanics, and Power / Re: Computer PSU and Arduino on: March 07, 2013, 05:38:27 pm
beyond the incorrectly setting up of the circuit, are there any technical reasons as to why i shouldn't use the psu?
the circuit will be completely set up and tested via a test bench power supply, then final implementation done using the computer psu
21  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 07, 2013, 02:56:26 pm
first off, I' d like to say thanks for helping me through this as this is my first time really dealing with SPI. so THANKS!

Quote
I explicitly told you that you must not connect pin 10 to XERR, I hope your "not this" means you haven't made that connection. Why is it still in the list?
i did not connect pin 10 to XERR for the reasons you mentioned before.

i have the tlc connected as such:
52: SCLK (25TLC)
51: SIN(26TLC)
12: BLANK(23TLC)
11: XLAT(24TLC)
9: GSCLK(18TLC)
per the BasicUse.pde with pinouts for Mega from library file

Quote
On which pin is SS located on your TLC?
yeah im not sure which actually.  i guess according to my list in my other post, i guess it should be 53 but im not sure if i actually have it connected, ill have to check when i get home.

Quote
Have you tried this configuration without the Ethernet shield? Does it work? What code are you using for your tests?
I have not tried it without the ethernet shield, as the mega gets commands over udp.  i can however send similar commands via serial so i will have to try that as well when i get home.
The code used is the code listed in like the third posting or so.  It's kind of long so I won't post it again.

Again, thank you very much!
22  Using Arduino / Motors, Mechanics, and Power / Re: Computer PSU and Arduino on: March 07, 2013, 02:47:25 pm
yes the goal of the project was for the computer and the project to be drawing power simultaneously from the psu.  i know that this is theoretically possible because the psu is only a transformer with high current power electronics and filtering to provide very smooth power to the computer.  I was only hoping that somebody would provide me with some technical details as to why this is a bad idea.

why do you think it would be a formula for disaster?
23  Using Arduino / Motors, Mechanics, and Power / Re: Computer PSU and Arduino on: March 06, 2013, 07:32:26 pm
still nobody??
24  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 07:31:47 pm
im not really sure what any of that is doing.
but i recently hooked up the tlc to the ethernet shield + mega like this:
50: tlc (VPRG) (actually went to gnd)
10: tlc(XERR) (not this)
51: tlc(SIN)
52: tlc(SCLK)
51: tlc(MOSI)
52: tlc(SCK)
53: tlc(SS)
11: tlc(XLAT)
12: tlc(BLANK)
9: tlc(GSCLK)
46: IRled
and nothing attached to the tlc was working.  so maybe it is necessary to add some form of register call stuff or whatever that is
25  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 04:51:05 pm
yeah i guess i do, i just double checked, its like that in the Arduino_Mega parameters in the tlc library
Quote
You may have to save the SPI registers between calls to the Ethernet library and the TLC library.
what do you mean by this?
26  Using Arduino / Motors, Mechanics, and Power / Re: Solenoid valve. on: March 06, 2013, 02:46:59 pm
or just something like the beefcake relay kit from sparkfun (https://www.sparkfun.com/products/10733) for 7.95 and optically isolate it if you wanted to with something like https://www.sparkfun.com/products/314 from sparkfun as well.
or, you could just go with a smaller solenoid valve such as https://www.sparkfun.com/products/10456.  i am using two of these currently in my garden
27  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 02:17:23 pm
okay i see that but now however i see that the tlc uses pin 10 for XERR but i guess that usually disconnected so this won't be a problem i assume?
So this is the summary of how things should be connected for Ethernet and TLC:
50: tlc (VPRG)
10: tlc(XERR),ethernet(SS)
51: tlc(SIN)
52: tlc(SCLK)
51: tlc(MOSI)
52: tlc(SCK)
53: tlc(SS)
11: tlc(XLAT)
12: tlc(BLANK)
9: tlc(GSCLK)
46: IRled

So everything should be working with this setup then?
28  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 02:07:18 pm
and i was looking more at the library pinout code for the tlc and for the mega it still wants to use pin 10 so wouldn't there still be a problem and conflict with the ethernet shield?
29  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 01:54:18 pm
Im actually going to be using the mega1280 which as i understand, has timers on 5,6,9,11,46.(and timer0 but im not using that)
But i am already using 46 to drive an infrared led as a universal remote (IRremote Library)
TLC and ethernet share pins, 13,11 and 10.  13 and 11 are ok but 10 needs to be changed for the ethernet, and this should be relatively easily done in the library?  And tlc absolutely needs 9 and 3 as timer outputs.

This summarizes what we have been discussing right?  Is everything correct I hope. I really should stop working on this and study for my microwave active circuits class, haha oh well
30  Using Arduino / Networking, Protocols, and Devices / Re: TLC5940 and Ethernet Shield using SPI on: March 06, 2013, 12:58:23 pm
never mind on changing the ethernet slave select as this seems to be somewhat hardwired through the shield and anything different would have to be connected through wires aka not connecting the shield directly to the top of the arduino.

so i guess i will have to figure out how to change the BLANK pin for use by the TLC5940.  According to the playground reference on arduino.cc:
 
Quote
BLANK: this marks the end of a PWM cycle in addition to blanking the output. We will reprogram TIMER1 to generate this signal. That will cost us the native PWMs on digital 9 and digital 10. (Tie a real, physical pull-up resistor on this line to keep things blanked while your Arduino boots. Depending on your hardware, it is possible that the TLC5940 would come up in a configuration that would dissipate too much power.)
So theoretically it should be as simple as finding another timer to use on the arduino
Pages: 1 [2] 3 4 ... 10