|
303
|
Using Arduino / Project Guidance / Re: Adding a second USB port to a Mega 2560
|
on: June 04, 2012, 12:19:58 am
|
|
If I am understanding you correctly (and the specs from the XSENS website), the sensor sends its data over a serial connection, but it uses a serial to USB adapter to make it easier to connect to a computer. So wouldn't it be easier to modify the sensor so you can use the serial pins on the arduino to read it directly?
|
|
|
|
|
304
|
Using Arduino / Project Guidance / Re: custom board using arduino bootloader
|
on: April 26, 2012, 10:31:04 am
|
Thanks for the info. I'll look into doing that. it would be nice to be able to program it with everything attached if necessary. But as far as the basic idea of using the parts on on a larger board and programming it as an arduino, there's no problem with that correct? I guess I'm not super clear on the interface between the bootloader and the hardware. I thought the bootloader is only on the chip so as long as all the external parts (clock etc) that it needs to reference are there, it shouldn't care if there are other parts attached. As long as they don't interfere with the programming itself. I should have enough pins to leave the tx rx pins empty if I can use other pins for the serial lcd.
Thanks!
I am not familiar with the Arduino Pro mini, but it would appear that you would need a USB to serial adapter to program it using the Arduino IDE software. If I were you, I would base the board off of something easier, like the Arduino Uno. The Arduino Pro mini uses surface mount components, which are difficult to solder unless you are set up for it. You might want to take a look at the Arduino Standalone article in the playground: http://www.arduino.cc/en/Main/Standalone
|
|
|
|
|
305
|
Using Arduino / Project Guidance / Re: custom board using arduino bootloader
|
on: April 26, 2012, 08:33:50 am
|
So what I'm looking to do is create a custom board for my application. due to some of the components involved (serial lcd) and ease of programming I'd like to be able to interface/program it using the arduino environment. My thought is to essentially take all of the components of an arduino pro mini without changing them at all and include them with the other components I need all on one board. Is there any problem with doing that? The computer should still communicate with the board as if it were a mini and can be programmed accordingly correct?
I have heard it might be necessary to not have the serial lcd connected to the tx rx pins when uploading code to the board. Can anyone confirm that one way or the other?
You don't want the serial LCD attached to the arduino when uploading, because the serial pins are used during uploading. When you upload the code, it is possible that some of the bytes being sent over the serial lines could be recognized as commands by the LCD, which could damage it (setting the backlight to the highest value, and overtaxing the powersupply for example). You can use the Software serial library to get around this (by making a regular digital pin to a serial pin).
|
|
|
|
|
306
|
Using Arduino / Project Guidance / Re: Needing info on garage door IR beam and interrupt input
|
on: April 10, 2012, 09:16:07 pm
|
Hi everyone, I was wondering if anyone has messed with a IR beam on a garage door. Im building a project and it doesnt seem that the beam is a simple high/low when it is broken. Anyone know exactly how they work.I see a DC voltage on the 2 wires but it doesnt toggle high to low or visaversa. It does change but only a small amount. I would like to use a interrupt input to detect this too. Thansk for any help
I don't have any specifics, but I do know that garage door manufactures put quite a bit of effort into making it really difficult to disable/bypass them. I don't believe the IR sensors are simple photodiodes, they communicate with the door opener with some proprietary protocol.
|
|
|
|
|
308
|
Using Arduino / Project Guidance / Re: Capturing jpeg from camera to sd card
|
on: March 19, 2012, 10:27:22 am
|
|
Wouldn't you get better results if you used a cheap $50 still camera to take and store photos, and just used the Arduino to trigger it? You could use a wireless USB adapter to transmit to a "nearby computer". Although it would probably be cheaper to use a USB over ethernet adapter and 300' of cat5e.
|
|
|
|
|
309
|
Using Arduino / Project Guidance / Re: Home cockpit and Arduino: some questions about feasibility.
|
on: March 19, 2012, 08:35:41 am
|
The pros would be cost savings and space savings. You can use the Arduino to develop your project, then get an atemga 168 for $3.33, load your code on it, and only add in the parts you need for your project. For example, this is a board I made for my airsoft props: http://nightscapetech.com/images/stories/bombprop/thumb/Bomb_Prop_PCB_diagram.jpgIt has the same basic functionality of an arduino, but only has headers for the pins I need, and lacks a USB to serial adapter since I don't need one for my project. That board, including PCB printing costs (which you wouldn't necessarily need), connectors, and a relay, costs me about $20.
|
|
|
|
|
311
|
Using Arduino / Project Guidance / Re: Newb seeking advice.. PIR to wake PC?
|
on: February 19, 2012, 04:54:07 pm
|
|
Depends on the type of sleep. Some computers require you to press the power button again to wake it up. This could be achieved with a simple relay on the power switch. To wake up my desktop I usually just hit the spacebar. You could either make the arduino act like a keyboard, and have it "press" a key a few times to wake it up, or you could take a cheap keyboard and have the arduino short one of the keys a few times.
|
|
|
|
|
315
|
Using Arduino / Project Guidance / Re: RFID Response time
|
on: January 24, 2012, 11:54:40 am
|
Hi there.
I am developing an Arduino based control system for a glider launching system.
I'm about 99.9% complete and I only need to deal with the line recovery phase.
Basically, once the glider has done with the towing session, there is up to 3000ft of tow line to be reeled back onto the winch drum.
I'm looking for a way of detecting when the end of the line is near. (The line has a drogue on it to offer some resitance during the line recovery)
I was thinking of using an RFID capsule embedded in the line. As the RFID capsule passes the RFID reader I can detect it and shut the winch down.
Question is this: What is the response time for an RFID reader as a capsule is placed near it. It has to be quick and I suspect it will be ouside the 200ms range I need
Nigel
If response time is a problem, you could just mount the RFID reader farther away from the spool, on an arm or something. However, i don't think the RFID reader will have time to register that the tag is near it, if its moving that fast. We have a hose reel that uses a styrofoam ball about 16" from the end of the hose, and a limit switch to shut the thing down. You could have a spring mechanism in the styrofoam that gives a little when it hits the switch, or you could just let the styrofoam slide on the string, and have a sensitive limit switch. I assume weight is an issue here, so the styrofoam may be too heavy. What is the line made out of? An optical sensor may work if you paint the last foot of line bright red or something.
|
|
|
|
|