Show Posts
Pages: [1] 2 3
1  Community / Website and Forum / Re: Explorer 9, tokens and arduino.cc on: December 25, 2013, 07:24:21 am
Hi All,

I have also been having this problem with various different computers. Once I click on Log In and enter my credentials, it shows me as logged in on for example arduino.cc but as soon as I go to the forum all I get is a white page. etc. etc.

in the last 4 months or so I have sent more than one email to the Webmaster email, and to-date not even a single reply. smiley-sad

I have it woking now but these settings are not for the weak of heart...

in the internet options of IE under Security, I have added the following sites to the Trusted list:

furthermore I added arduino.cc to the Always Allow list under Data Protection.

Surprisingly, none of these alone seemed to help, but I just changed the advanced settings under 'Data Protection' and put a check in both boxes ("Change the stadard Cookie policy" and "Accept session Cookies") as well as set both radio buttons to "Accept".

It seems to be working for the moment, BUT... this is not a fix for me, with these settings I am inviting every site on the internet to save its cookies without even giving me the chance to choose.

To those attempting to fix this problem, this is REALLY a pain in the proverbial behind. PLEASE do something to get this up and running.

As I now see that this is a problem that is affecting a large scope of members, I personally am suprised that this is not a sticky somewhere... to be honest think that this problem should be posted on the entry page, informing everyone of the problem and the status, that might reduce the amount of "I have a problem entering the forum" emails...  but that is just the service manager in me I guess.

Hope this helps the rest of you.

Opal
2  Using Arduino / LEDs and Multiplexing / Re: TLC5940 Fadescope - variation on: December 25, 2013, 06:56:47 am
Hi All,
I am also trying to adapt the FadeScope example to a project, but not having much luck getting it up and running with my modifications.

I would like to change "TLC_CHANNEL_TYPE channel;" in some way or form, instead of reading all pins, I would like to have an array to cycle through only chosen pins and not necessarily all pins.

Thanks for any advice and a merry Xmas

Opal
3  Using Arduino / Networking, Protocols, and Devices / Re: multiple wireless transmitters on: December 11, 2013, 08:05:34 am
You could also use the same channel for all bases, and use different addresses for each base instead, but the channel switching approach allows for less opportunity for interference between bases.

Thanks for the reply, I think I will have to go with the second approach. It has to be user-friendly, as the slave stations will be aquired seperatly and an end user will be the one doing the connecting, thus requireing the solution to be as dummy-proof as possible.
4  Using Arduino / Networking, Protocols, and Devices / Re: multiple wireless transmitters on: December 11, 2013, 07:13:40 am
Thank you for all the great tips, I am doing a similar project and this has already answered quite a few questions.

I will be reading up on all this, which may make my following question obsolete, but here it goes...

How would you go about setting up a system with multiple base stations (receivers) each with a 1:1 dynamic relationship to up to 6 slave stations (transmitters)

For example, I would like to have my slave stations connect to a base station dynamically... similar to a wireless mouse with the connect button to connect it to a base. To connect it to a second base you push connect again on the mouse and the connect button on the second base and the mouse is now paired with the second base and not the first anymore.

Are there any tips on how to go about setting something like that up?

Thanks,
Opal

5  Using Arduino / LEDs and Multiplexing / LED Fade with variables on: June 10, 2013, 03:20:52 pm
Hi,

I am using the following code snippet in which only the declarations are omitted to fade a LED:
Code:
  TIMER_Fade = millis();
  STATE_Fade = 128+127*cos(2*PI/FADE_Interval*TIMER_Fade);
  // sets the value (range from 0 to 255)
  analogWrite(LED_Fade, STATE_Fade);

As is, this works excellent to continually fade in/fade out an LED. I am trying to add some more variables to it eg. setting the beginning/ending brightness to something other than 0 to 255 or pausing between either the fade in/fade out steps or the fade out/fade in steps (avioding Delay() and using a Millis() timer or something).

I have tried 'playing' with the COS line, but to be honest I just do not understand how this is working without a good old fashioned loop and nothing I try produces anything that gets me going in the direction that I want to take this.

If someone could give me a tip to point me in the right direction, I would be very grateful. Thanks in advance.
6  Using Arduino / LEDs and Multiplexing / LED Blink & Fade Threads w/o Delay? on: May 27, 2012, 01:35:25 pm
Hi everyone,

I know the "no Delay()" topic has been opened again and again, and I have read though all of them. Sorry to say but it just did not make a click for me.

I am exporting my code to an ATtiny85 and would like to combine the following:
  • 1 LED that fades on for a second, fades off, stays off for a half a second and then over again
  • 1 LED (Double-blink) blinks on for about 50ms, about 50ms off, blinks back on, and then off for about half a second
  • 1 LED (Blinking) 1 second on, 1 second off
  • 1 LED (Blinking) half a second on, half a second off


Here is a code that does a blinking and fading combo, but not quite like I am looking for...

Code:
int ledPin = 2;     // LED connected to digital pin 13
int fadePin = 1;


int PWMunused = 0;                // PMW pin (Unused)
int PMWnav = 1;                   // PMW red/green NavLights
int LEDStrobe = 2;                // Blinking Strobe NaveLight
int LEDconstant = 3;              // Constant on Lights
int LEDdocking = 4;               // Docking Lights

unsigned long nextBlink, nextFade;
int fadeBrightness = 0;
char ledState = LOW, fadeDir = 10;

void setup()
{
    pinMode(ledPin, OUTPUT); // sets the digital pin as output
    pinMode(fadePin, OUTPUT);
    
    pinMode(PWMunused, OUTPUT);      // sets the digital pin as output
    pinMode(PMWnav, OUTPUT);
    pinMode(LEDStrobe, OUTPUT);
    pinMode(LEDconstant, OUTPUT);
    pinMode(LEDdocking, OUTPUT);
    
    ledState = LOW;
    nextBlink = millis();
    nextFade = millis();
    
    digitalWrite(LEDconstant, HIGH);   // turn the constant lighting on
}



void blink(void)
{
    unsigned long now;
    now = millis();
    if (now >= nextBlink) {
 nextBlink = now + 500;    // Next change in one second
 if (ledState == LOW) {
digitalWrite(ledPin, HIGH);
ledState = HIGH;
 }
 else {
digitalWrite(ledPin, LOW);
ledState = LOW;
 }
    }
}

void fade(void)
{
    unsigned long now;
    now = millis();
    if (now >= nextFade) {
 nextFade = now + 25;    // Next change in one second
 if (fadeDir > 0) {
if (fadeBrightness > (255 - fadeDir)) {
   fadeDir = - fadeDir;
}
 }
 else {
if (fadeBrightness < (-fadeDir)) {
   fadeDir = - fadeDir;
}
 }
 fadeBrightness += fadeDir;
 analogWrite(fadePin, fadeBrightness);
    }
}

void loop()
{
    blink();
    fade();
}


I know there are some lines in the code that have no effect, they are leftovers from cuting & pasting and trying this and that.

The main problem (as I see it at lease) is that I do not really understand how to create multiple delays using the Timer method described in the Playground (AvoidDelay).
Thank you for any help or advice
7  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 23, 2012, 09:44:00 am
Thanks BillO,
I will doublecheck the steps but I am assuming that you are right and it just is not meant to be. That being the case , I will have to find an ICSP programmer. I would like to get something that I know will work, you mentioned you sell them as well. Do you have a web site where I can order them? If it is not allowed to post that information in this forum feel free to PM me with the information.

Thanks for your troubleshooting assistance.

Jason
8  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 22, 2012, 04:02:28 pm
Ok I just tried to upload a sketch to a breadboard mounted 328P. Here are the steps that I took:

  • Removed power and removed the Arduino 328 from its cradle on the Arduino board
  • Hooked up the connections according to the instructions in my first post (have a connection pic up in the next post)
  • Choose "ATmega328 on a breadboard" from the board list (Arduino Software 22)
  • Attempted to upload the "basic use" sketch under "File>Examples>tlc5940"
  • Rx/Tx blink faintly once or twice and after about a minute I get the following error:

Problem uploading to board. See troubleshooting guide...

Avrdude: stk500_getsync() : not in sync: resp=0x00
avrdude: stk500_disable() : protocol error, expect=0x14, resp=0x51
9  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 22, 2012, 03:31:44 pm
Hi Billo,
I bought the chips (5) new without a bootloader on them, however, I got a bootloader on them as you mentioned with a 16MHz crystal. In the end I want to control a TLC5940 with it, I believe I hooked it up and tried to upload a sketch to it without a crystal and it did not work... I don't remember exactly where I encountered problems, I assumed it was because I burned the bootloader with an external clock that it would have to be burned without a crystal if I wanted to use it that way.
I will give it at try again and post the results.
10  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 22, 2012, 01:44:09 pm
as mentioned above and in the thread title this is a P version, ATMEGA328P-PU to be exact...  which means the signature should have worked.

these are the steps I have taken:

  • Uploaded Arduino ISP to the Arduino board
  • Connected the 328 chip to the Arduino as per instructions in my first post (Connection Layout)
  • attempting to burn bootloader to chip brings the error below after about 5 seconds
This is the error I get when the avrdude is with the original signature.

Error while buring bootloader.

avrdude: Yikes!  Invalid device signature
               Double check connections and try again, or use -F to override
               this check




11  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 22, 2012, 07:06:22 am
everything is original avrdude, aside from the comments I only changed the "0F" with "14" in the signature line.
12  Using Arduino / Microcontrollers / Re: Device Signature - ATmega328P-PU on: April 20, 2012, 11:51:26 am
Huh, weird, can you paste the whole avrdude command & error?

At the moment I am on the go so I will have to post the error message later, but here is the passage in the avrdude:
Code:
#------------------------------------------------------------
# ATmega328
#------------------------------------------------------------

part
    id              = "m328p";
    desc            = "ATMEGA328P";
     has_debugwire = yes;
     flash_instr   = 0xB6, 0x01, 0x11;
     eeprom_instr  = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00,
             0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF,
             0x99, 0xF9, 0xBB, 0xAF;
    stk500_devcode  = 0x86;
    # avr910_devcode = 0x;
    signature       = 0x1e 0x95 0x14;

# Signature for nonP series = 0x1e 0x95 0x14
# Signature for 328"P" series = 0x1e 0x95 0x0F
13  Using Arduino / Microcontrollers / Device Signature - ATmega328P-PU on: April 20, 2012, 06:50:04 am
Hi All,

I am trying to bootload an ATmega 328p-pu for a minimum configuration (without external clock) with an an Arduino Duemilanove according to the instructions under  "From Arduino to a Microcontroller on a Breadboard"

I am getting an Invalid device signature error message when I try to burn the bootloader. I read in the forum that "non-P" 328s need to change the signature in the avrdude file and that this will then work for both P and non-P series. Although my 328 is a P series and should work, I thought it was worth a try. However, this did not solve my problem and still gave me the same error.

Has anyone had this problem or know of a solution? any suggestions are much appreciated.

Thanks in advance.

14  Using Arduino / Microcontrollers / Re: controlling a TLC5940 with an ATTINY? on: April 16, 2012, 02:54:45 am
Thankyou very much for the Input and thankyou Coding Badly for the links, SPI was not a term for me which is probably why I did not find them. smiley

I think I may be biting off more than I can chew with this, so I will probably try to do Pancake's minimal Arduino suggestion first and see where my journey takes me.

Thanks
15  Using Arduino / Microcontrollers / controlling a TLC5940 with an ATTINY? on: April 15, 2012, 03:36:29 pm
Hi everyone,

I just successfully hooked up a TLC5940 to my Arduino Uno (rev3) and have the Knight Rider effect with 16 LEDs going on in front of me. As the chips are going to be installed in a very small space when I am done, I would like to avoid using an Arduino to control the TLC5940 and am looking for a way to use an ATTINY (best would be an Attiny85) to do this. Searching the forum and Googling did not really produce any results that helped me.. at least the ones that I understood.

In addition to power and GND, the tlc5940 is connected to the Pin13 (SCLK), Pin11 (SIN), Pin10 (BLANK), Pin9 (XLAT), and Pin3 (GSCLK). Am I correct in assuming that whatever microcontroller I take to do the job of Arduino it needs to have these types of pins? Meaning the ATtiny85 would NOT work as the attiny85 has a SCK pin but none of the others? correct?

Does anyone know if there are resources out there that are "newbie-friendly"? or failing that able to describe how to configure an ATtiny or other microcontroller so that it can control a tlc5940?

Thanks alot in advance,
Opal_1970
Pages: [1] 2 3