Show Posts
Pages: [1] 2 3 ... 177
1  Products / Arduino Yún / Re: SSH over ssh on: September 12, 2014, 05:55:54 am
I'm not quite quite sure why/if you're trying to make some kind of issue out of my initial description re colour?
It is a well recognized term..
"Vehicle" is a well-recognized term also. But you don't go to your mechanic with the expectation that he doesn't care what kind of vehicle you have, do you? Do you get obstinate when he asks for more detail and start providing Wikipedia links or try to placate him with a statement like "Well, it's an old truck"?

</rant>

And, as I've said in other  posts, I'm a linux newbie, so while I'll happily type in  "ifconfig -a" or  "netstat -rn" into my yun, could you tell me what I'm doing, or trying to do ?

The ethernet interface needs to have an IP configured on it manually as, by default, it attempts to get an IP from the device it's attached to using DHCP. "ifconfig -a" shows the current state of the WiFi and ethernet port. "netstat -rn" shows the current network routing. Not only do you need to set an IP on your ethernet port you also need to ensure that connections to the media device will be routed through that ethernet port.

I think your problem can be solved by executing:
Code:
ifconfig eth1 192.254.1.251 netmask 255.255.255.254
This command should also automatically add a route for 192.254.1.250/31 for that ethernet port.

Perform a "ping 192.254.1.250" to test to see if the connection works. Using SSH to test an ethernet connection can be unreliable -- notably a lack of DNS availability by the destination host can cause a long lag in the connection time. If the ping works then exercise patience when testing the SSH connection.

If nothing works, then again, provide the netstat and ifconfig output. Also, you may need a crossover ethernet cable between the Yun and media device. If the media device has a "link" light on the ethernet port then pay attention to see if it lights up when the cable is plugged in.

As an aside, 192.254.1.0/24 is a publicly addressable address range. 192.168.0.0/16 is typically used for a private network. You might already be aware of that, but just pointing it out.
2  Using Arduino / Project Guidance / Re: Autogravure Project on: September 11, 2014, 10:50:54 am
So it sounds like you're planning on sending bit strings ~32 bits in length from the computer to the Arduino, then on the Arduino just use a simple sketch to push those bits onto the Arduino pins.

You'll want to look at Port Manipulation; I guess it would be akin to directly accessing the I/O buffers in Windows; with very little overhead you can push a byte onto an AVR register to set the output state of 8 pins. See also http://forum.arduino.cc/index.php/topic,25799.0.html for a couple links to references for the port-to-pin groupings for the Arduino Mega.

Be sure to avoid PORTD as that port contains the TX/RX pins (pins 0 and 1) that the USB-to-serial translator on the Arduino uses. PORTA, C, and L appear to be the conveniently grouped pins on the Arduino Mega.
3  Community / Bar Sport / Re: Lead free solder on: September 11, 2014, 10:29:16 am
The last primary lead smelting operation in the US closed its doors at the end of 2013 (Doe Run, in Missouri) because, in part, the EPA was going to force them to store their ore in enclosed buildings. So, yeah, lead sheltering would have made it look like a freshly bathed puppy smiley-wink

Smelting lead ore isn't inherently dangerous; it's the airborne dust from handling the ore that's a problem. Lead melts around 600F and you have to get it around 1600F for vapor to become a problem.
4  Community / Bar Sport / Re: Lead free solder on: September 10, 2014, 10:16:02 pm
Lead is more abundant than tin and much easier to mine, but then I suppose the fact that tin is worth ~ten times what lead is worth is enough evidence of that. Pound for pound I would expect a lead mine to be much less destructive to the environment.

What's "lead sheltering"?
5  Using Arduino / Motors, Mechanics, and Power / Re: Mechanism, Linkage, Gear Design on: September 10, 2014, 01:00:29 am
You might find it interesting to poke around KMODDL
6  Products / Arduino Yún / Re: SSH over ssh on: September 09, 2014, 09:11:09 pm
You'd need to provide complete network details: the IP of the PC, Yun, and "box". "ifconfig -a" and "netstat -rn" output from the Yun would be helpful. And stop defining this mystery "box" by color and state what the device actually is.
7  Topics / Science and Measurement / Re: Making an Arduino multimeter on: September 09, 2014, 03:33:19 pm
Google "Ardutester".
8  Topics / Science and Measurement / Re: INA125P on load cell on: September 09, 2014, 03:30:51 pm
You need to adjust the gain for more swing. In your diagram, the 1K resistor equates to approximately a 60x gain. A 500 ohm resistor would give you 120x gain, a 250 ohm resistor 240x gain, ad nauseum.
9  Using Arduino / Project Guidance / Re: which IR Beam trip wire method with <3ms output response on: September 09, 2014, 12:38:08 pm
Search the forum for "TSSP4038". That's 1/38000ths of a second (.000026) accuracy.
10  Community / Exhibition / Gallery / Re: Using an Arduino for high speed photography on: September 08, 2014, 01:44:34 am
Spark air gap gives very little illumination though.

You might like to consider shock tube which can get bright light at a few millionths of a second exposure.

I've heard of an air gap flash but not a "shock tube". And unfortunately the googles - they do nothing.
11  Topics / Robotics / Re: Help in the components of the quad copter on: September 08, 2014, 01:25:44 am
ArduCopter is a fully featured controller, performing not only the balancing/stabilization of the quadcopter but also capable of being programmed with flight paths, programmed with takeoff/landing routines, and it can add telemetry. Look up "Ardupilot GCS" for details. Basically, with a controller like Arducopter, you can properly label your copter as a "UAV".

Cheaper controllers with "KK multicopter" or "MultiWii" firmware frequently don't even have a capability of adding GPS. They'll work fine for a copter that only needs manual control, but GPS functionality is extremely helpful when you just want the copter to hold position (like for photography).
12  Products / Arduino Yún / Re: SSH over ssh on: September 08, 2014, 01:12:57 am
Your Yun, by default, is configured to set IP addresses on its Wifi and ethernet interfaces using DHCP. Your Wifi router assuredly has a DHCP server on it so the IP gets set. Your "black box" (note: telling us the color of the box isn't helpful) either doesn't have a DHCP server or it's trying to serve addresses in the same range as the wireless router's DHCP server. If it's the former then you'll need to configure an IP on the ethernet port manually and then add a route so that the Yun knows to use the ethernet port to make connections to your black box., and if it's the latter then you'll just need to add the route.
13  Using Arduino / Project Guidance / Re: RC plane project. on: September 06, 2014, 01:10:08 am
If you want an off-the-shelf transmitter/receiver try the Turnigy 9X (not 9XR). This uses the 2.4GHz range -- as most all RC radios use these days. See http://rcarduino.blogspot.com/ to understand how to interface with standard RC radios.

If you want to DIY your transmitter or you want two-way communication, look for "telemetry" radios based on the HM-TRP by HopeRF. These are 3.3V TTL serial available in 433MHz or 915MHz (unlicensed bands depending on what country you are in -- which you won't get an answer to since you haven't stated where you live in your profile). These are rated at ~1km range.

http://www.hoperf.com/rf/data_link_module/HM-TRP.htm
https://store.3drobotics.com/products/3dr-radio
http://www.hobbyking.com/hobbyking/store/__42847__FPV_433Mhz_Radio_Telemetry_Kit_100mW_V1_1.html

If you want to make the data transfer braindead easy try the EasyTransfer library.
14  Community / Bar Sport / Re: Reality check - when to stop adding features on: September 04, 2014, 06:10:29 pm
When I was writing my previous response I also tried finding a way to use a MySQL facility to do that type of quoting. I have plenty of experience with MySQL so I'm quite familiar with the documentation, but I can't find anything that would help you with your problem. I'm kinda surprised that there's nothing in the MySQL drivers/libraries for that.

I personally don't use those tickmarks at all. You definitely gave me some food for thought tho smiley

"Though a program be but three lines long, someday it will have to be maintained.''
15  Using Arduino / Motors, Mechanics, and Power / Re: Linear motion design on: September 04, 2014, 06:03:50 pm
In my experience it's difficult to get good speed with a leadscrew and stepper motors. When you go with a plan like that you typically find yourself using inexpensive threaded rod from the hardware store, and then the problem there is that the thread pitch of typical, coarse thread, metric or standard rod is still too fine to get the speed you'll want.

As an example, using 1/4", 20 TPI threaded rod and a stepper motor spinning at a well-performing 1500(*) RPM puts you at (1500RPM / 60seconds / 20TPI) 1.25" per second. That's over 12 seconds to move across a small, 16x16" chess board. If you don't want to start ordering stuff through the mail, and you're lucky, the most coarse, standard threaded rod you'll find is 1/2" ACME threaded rod which is 10 TPI, but that's still 6 seconds to traverse the board. If you do choose to mail order special rod like TR8x8 with 2 starts you're still at around 6 TPI and 4 seconds to cross the board. 4 seconds isn't too bad, but certainly tedious if you try to reset all 32 pieces at that speed.

(*) Probably not a practical expectation to reach 1500 RPM with an Arduino in a complex project like the one described.
Pages: [1] 2 3 ... 177