Show Posts
Pages: 1 ... 125 126 [127] 128 129 ... 279
1891  Using Arduino / Installation & Troubleshooting / Re: Windows 8 incompatibility ? on: February 15, 2013, 05:56:42 pm
There's a hoop that needs to be jumped through to install unsigned drivers:
http://windows.microsoft.com/en-US/windows-8/windows-startup-settings-including-safe-mode

Wouldn't it be better to install the signed drivers than to modify your OS to accept unsigned drivers?

Perhaps so. But it's not an OS mod per se, it's a one-time setting that gets reset with the next boot. OTOH the signed drivers are in test status. In this case I wouldn't lose sleep either way though. You pays your money and you takes your chances.
1892  Using Arduino / Networking, Protocols, and Devices / Re: mesh network between xbee pro s2b on: February 15, 2013, 04:37:01 pm
The XBees automatically create the mesh network, you don't need to do anything special to have it happen. Be sure to get a copy of the Digi Product Manual and become familiar with it. This is one of the best sources of information.

Here is the simplest way that I have found to get them talking in AT (transparent) mode.
1893  Using Arduino / Installation & Troubleshooting / Re: Windows 8 incompatibility ? on: February 15, 2013, 12:11:50 pm
There's a hoop that needs to be jumped through to install unsigned drivers:
http://windows.microsoft.com/en-US/windows-8/windows-startup-settings-including-safe-mode

It's working like a champ here. Actually, I'd modify those steps slightly:

1.   Swipe in from the right edge of the screen, tap Settings, and then tap Change PC settings. (If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, click Settings, and then click Change PC settings.)

2.   Under PC settings, tap or click General.

3.   Under Advanced startup, tap or click Restart now.

4.   On the Choose an option screen, tap or click Troubleshoot.

4a.   On the Troubleshoot screen, tap or click Advanced options.

5.   On the Advanced options screen, Tap or click Startup Settings.

6.   Tap or click Restart.

7.   On the Startup Settings screen, choose Disable driver signature enforcement.

8.   Sign in to your PC with a user account that has administrator rights.

1894  Using Arduino / Programming Questions / Re: help with getting CTC Timer1 clock out of chip on: February 14, 2013, 11:52:26 pm
Here's an example. A couple of good intros to AVR timers:
http://fourwalledcubicle.com/AVRArticles.php
http://www.gammon.com.au/forum/?id=11504

Code:
//Output a 1250Hz signal on Arduino pin 9
//Toggles the pin based on dividing the 16MHz system clock
//frequency by 6400. Toggling the pin effectively adds another
//factor of two, so the resultant frequency is 16MHz / 100 / 64 / 2 = 1250Hz

void setup(void)
{
    pinMode(9, OUTPUT);
    TCCR1B = 0;                                     //stop the timer
    TCCR1A = _BV(COM1A0);                           //toggle OC1A on compare match
    OCR1A = 99;                                     //divide by 100 (timer counts from 0 to 99)
    TCCR1B = _BV(WGM12) | _BV(CS11) | _BV(CS10);    //start timer, CTC mode, prescale factor 64
}

void loop(void)
{
}
1895  Using Arduino / Programming Questions / Re: help with getting CTC Timer1 clock out of chip on: February 14, 2013, 11:33:26 pm
Or tell us what you're trying to do.

But I'll make a guess: Are you trying to divide the system clock frequency by 6400 and output the result on a pin so it is observable with a scope? Not sure why the interrupt would need to be enabled.

If so, try using compare match by setting TCCR1A appropriately. The resulting signal will then be output on the OC1A pin (Arduino pin 9) or IC1B (Arduino pin 10).

Don't assume register values are the initial values as documented in the datasheet, as the Arduino core does some initialization for PWM, etc. So if I want to use the timer for my own purposes I usually start with

Code:
TCCR1B = 0;    //stop the timer
TCCR1A = 0;
1896  Community / Bar Sport / Cross-posting on: February 14, 2013, 07:34:05 pm
Boy, it always comes as a shock when it happens to someone you know. smiley-grin

http://arduino.cc/forum/index.php/topic,149051.0/topicseen.html
http://arduino.cc/forum/index.php/topic,149050.0/topicseen.html
http://arduino.cc/forum/index.php/topic,149049.0/topicseen.html
etc.

1897  Using Arduino / Networking, Protocols, and Devices / Re: Can I determine which of my two XBee modules is bad? on: February 14, 2013, 03:10:08 pm
Yea - nothing like being clueless AND doing some off-the-wall task that few have done.

Try searching the forum a bit, I'd be surprised if there weren't some hits.

Quote
I'm pretty sure it's one of the XBees. I reset both of them to factory defaults as you suggested and I could light up the RSSI on the receiver with the PC side transmitter when I did a X-CTU loop back test. That suggested to me the receiver was getting the ping. But when I swapped them and I could not get the receiver RSSI light. I still don't know if it's a receive or transmit problem and maybe there is no way to tell.

Sounds like things work, partially -- one direction and not the other. But nothing coming back from the loop back test?

Quote
Anyhow, I ordered two additional XBees this morning from Adafruit. I live in NY State so hope to get them tomorrow. Right.

I started with two as well. Found out real quickly that wasn't enough smiley-lol

Quote
You mentioned abuse and it's possible I did damage one of them. I have my project bot inside a 13" hamster ball (more like a ferret ball) and it does crash into things. It's possible I broke it before I even got it powered up. I'm thinking of shock mounting the new one. Because it's relatively inaccessible I want to be able to program it and watch sensor data as it runs. Probably not entirely necessary, but certainly more fun.

I was thinking more about electrical abuse. I'd think a few bumps inside the ball wouldn't be a problem. As long as it's not going 60mph or something, LOL! Still, some rubber bushings or something couldn't hurt.

I'd be interested to hear what happens when you get the additional XBees, good luck!
1898  Using Arduino / Networking, Protocols, and Devices / Re: Can I determine which of my two XBee modules is bad? on: February 14, 2013, 08:10:27 am
Didn't realize you were doing the wireless programming thing. Have not done that myself. Have these XBees worked in any other configurations? If it were me, to eliminate the variables and complexity associated with the wireless programming setup, I'd try configuring the XBees to just do straight transparent (AT mode) transmission, after first resetting them to factory defaults. If that works, then I'd know the XBees themselves were OK.
1899  Community / Website and Forum / Re: Proposed "sticky" : How to use this forum on: February 13, 2013, 09:17:22 pm
Got it bookmarked. Thanks again Nick, for a super job!
1900  Using Arduino / Networking, Protocols, and Devices / Re: Can I determine which of my two XBee modules is bad? on: February 13, 2013, 08:53:01 pm
Quote
Getting carried away is usually a recipe for trouble

I'm not sure what you mean if this is directed at me. I don't think I turned any knobs that I shouldn't have turned; I was very careful when I set this up. Do you think Limor's instructions are incorrect?

I haven't looked at Limor's instructions, but she usually does a pretty good job so I would certainly give her benefit of the doubt. I've just seen too many instances where XBees get all balled up because a couple dozen parameters have been changed in an uninformed shotgun approach. Often the product manual is not consulted; indeed, there may not even be awareness that such a thing exists.

No offense intended whatsoever. If my statement does not apply, please feel free to disregard it smiley-grin
1901  Using Arduino / Networking, Protocols, and Devices / Re: Can I determine which of my two XBee modules is bad? on: February 13, 2013, 07:59:14 pm
XBees have a lot of knobs to turn. My experience is that usually only a very few (a handful or less) actually need turning. Getting carried away is usually a recipe for trouble and confusion.
1902  Using Arduino / Programming Questions / Re: Timing issues on: February 13, 2013, 07:41:05 pm
Cross-posted ... please delete one or the other.
http://arduino.cc/forum/index.php/topic,148838.0.html
1903  Using Arduino / Programming Questions / Re: Timing Issues on: February 13, 2013, 07:40:08 pm
Cross-posted ... please delete one or the other.
http://arduino.cc/forum/index.php/topic,148841.0/topicseen.html
1904  Using Arduino / Networking, Protocols, and Devices / Re: Can I determine which of my two XBee modules is bad? on: February 13, 2013, 07:35:21 pm
For the Series 2 (ZB) modules there is a setting that can alter or turn off the RSSI signal/light. Not sure about the S1 modules, so I'd check the product manual.

The other thing to try is restoring the factory settings via X-CTU.

If these are new modules and haven't been abused, chances of a bad one would be remote.
1905  Community / Website and Forum / Re: Proposed "sticky" : How to use this forum on: February 13, 2013, 06:01:19 pm
Just a bit of word-smithing, and some rationale for discouraging cross-posting:

Don't cross-post!

We know you are anxious to get an answer to your problem, but reposting the same question to multiple parts of the forum causes duplicate effort, and divides the focus on your problem. You'll get a better answer if everyone can discuss it in one place. Cross-posting is very annoying; the moderators will delete your extra posts, and you will get a warning. Save all the hassle, and just post the question once. It will be noticed.

If you aren't sure what section to post in (Programming Questions, Electronics, etc.) make a guess. Don't cross post "just in case".
Pages: 1 ... 125 126 [127] 128 129 ... 279