Show Posts
Pages: 1 2 [3] 4 5 ... 492
31  Development / Other Software Development / Board name with COM number in windows on: April 20, 2014, 01:13:13 am
In the windows version of the IDE, arduinos are listed as COM port numbers such as COM10. If the device manager and X-CTU can see the name, such as "arduino mega 2560 R3", besides the COM number, why would arduino IDE not include this name next to port number? If I have an UNO and a MEGA 2560 and an xbee explorer all connected to my win PC, I will be able to tell which one is which on the port list.

I often have multiple arduino boards and FTDI etc. boards connected to my PC. I find it very confusing. I have to go to device manager to make sure I'm not going to reset a unit that I've been testing for several consecutive days by mistakenly selecting its COM port to upload sketch intended for another arduino.

Isn't the naming of the port as MEGA 2560 R3 for this purpose?

A somewhat related question: if I handle more than a few dozen arduinos, say for builds, I will quickly use a few dozen COM port numbers. Is there a way to not create unique COM port numbers for each connected arduino, which I only need for testing after build? Before I upgraded to a new machine, the COM number ran up to a very large value on my older machine! I know Linux always starts from like USB0 regardless what you plug in. I want this optional feature for win system, any software or settings to tweak to get it?
32  Using Arduino / Project Guidance / Re: wifi web server that doesn't slow down a robot? on: April 19, 2014, 10:17:15 pm
I suggest you put the web server code in the main loop, and put the bot control code in conditional functions. Any significant delays need to check current time vs past time to avoid delays in program execution.


I don't think so. If the web browser misbehaves etc. then the connection will stay alive over a period of time too long for the robot to roam without sensing its environment. As I suggested already, OP should use state machine to take in each client byte at a time and NOT to run the server code like nothing else matters!
33  Using Arduino / Project Guidance / Re: wifi web server that doesn't slow down a robot? on: April 19, 2014, 09:05:05 pm
Then the following line must be taking a lot of milliseconds:

sonar[currentSensor].ping_timer(echoCheck);

Put Serial.println(millis()); before and after it to see how much time it costs. Are you using any interrupt to catch the ping?
34  Using Arduino / Networking, Protocols, and Devices / Simple XBee question. Can I sense XBee analog pins via AT command? on: April 19, 2014, 08:16:17 pm
I am confused. An XBee has analog pins. I know how to set a pin up as analog pin with say ATD0 2. But from what I read, here, I can only sense analog pins on another XBee but not my own via AT comman?

http://www.digi.com/support/kbase/kbaseresultdetl?id=3522

What am I missing? Say if I have an xbee connected to an xbee explorer to a PC, how do I read this xbee's analog channel?

Thank you!
35  Using Arduino / Project Guidance / Re: wifi web server that doesn't slow down a robot? on: April 19, 2014, 08:10:58 pm
OP is sensing all the time, is it correct? You should run timers to only sense when timer expires and use the rest of the time for server.
36  Using Arduino / Project Guidance / Re: Is this realistic? on: April 19, 2014, 08:07:17 pm
I don't know all xbee knowledge, just enough for my projects. Here is what I found:

http://www.digi.com/support/kbase/kbaseresultdetl?id=3522
37  Using Arduino / Project Guidance / Re: Is this realistic? on: April 18, 2014, 08:22:32 pm
If your altimeter and accelerometer output analog signals, you can strap it on an xbee radio module and use a ground xbee radio unit to receive live data. No arduino needed.
38  Using Arduino / Project Guidance / Re: wifi web server that doesn't slow down a robot? on: April 18, 2014, 08:09:58 pm
This wasn't your first post. Where is the code tag?

To not lock up your robot while doing server stuff, you must rewrite the current code with state machine. I used wifi shield as server a year ago with then latest firmware. The firmware was not stable so I gave up after a lot of tries.
39  Using Arduino / Project Guidance / Re: Senior Project Multi-Processor Arduino Board on: April 18, 2014, 08:00:55 pm
OP, take a look at programming graphical processors, which usually have hundreds to thousands units doing parallel computing.
40  Using Arduino / Project Guidance / Re: Driving an automotive fuel gauge on: April 18, 2014, 06:51:06 pm
Have a try with a digital potentiometer

http://www.mouser.com/Semiconductors/Digital-Potentiometer-ICs/_/N-4c498?P=1z0wjiv&gclid=CPTZnouf670CFclDMgodRj8AiA

0-275 seems standard.
41  Using Arduino / Project Guidance / Re: Which Arduino should I buy for my design idea ? on: April 16, 2014, 09:46:08 am
This is a pretty big project. Yes, get an arduino MEGA 2560 R3 for this job. For water level sensing, you can also mount a sonic ranger on the lid of your tank cover to let the sonic ranger face down. Water will reflect is sonic pulse and you get distance from water surface to the tank lid. If someone removes the lid then the reading will be like 6 meters. If distance is an issue (15 m), do it wirelessly then. I don't know your budget, if you have enough money, have a tank unit with arduino and xbee radio for wireless communication with an apartment unit with another arduino and xbee radio. This way the wires are gone. You do need a solar charger and battery for the tank unit, if there is no power outlet there.

I use a lot of xbee products to build data loggers. They are nice.
42  Using Arduino / Project Guidance / Re: Video-out to a 640x480 LCD display on: April 16, 2014, 09:38:33 am
Your project is pivoted upon the assumption that the screen works and takes some RGB or analog video signals. Can you confirm this first?
43  Community / Website and Forum / Re: IE token problem forum not loading on: April 16, 2014, 09:34:37 am
I always do the chopping to only forum address. It doesn't work. At least I know it's not my win 8 computer or IE.
44  Community / Bar Sport / Re: The next big thing in battery technology on: April 15, 2014, 03:05:57 pm
I heard that this works as a capacitor charging up in 30 seconds and then the capacitor charges the actual battery. What's more interesting was one of the videos that showed up after I played this one, a guy replaced his car battery with super caps. "Boostcap".
45  Community / Bar Sport / Re: Adafruit's new website on: April 15, 2014, 02:48:36 pm
They have really good stock pictures. On a phone the mobile site is loaded, which is not too slow. The navigation improved somewhat from my viewpoint. With the navigation column removed, more space is dedicated to content. It looks boxy, like win 8. That's a neutral comment. I took about a couple hours to go through all their categories and picked the things I need for a grant-funded project and saved all to wish list. It's good. Just wish it loads faster, especially the wish list, when I have a few dozen parts in it.
Pages: 1 2 [3] 4 5 ... 492