miércoles, 9 de enero de 2013

Arduino by Davis: “Re: digitalwrite(3, HIGH) 1.5Vdc instead of 5Vdc” plus 19 more

Arduino by Davis: “Re: digitalwrite(3, HIGH) 1.5Vdc instead of 5Vdc” plus 19 more

Link to Arduino by Davis

Re: digitalwrite(3, HIGH) 1.5Vdc instead of 5Vdc

Posted: 09 Jan 2013 01:54 AM PST

BAD Arduino, why is digitalWrite(led3, HIGH) not the same as analogWrite(led3, 255). This fixed the problem.

Pause for loop without delay

Posted: 09 Jan 2013 01:53 AM PST

Hi everybody,
the code below resets a floppy drive.
I want to reset individual drives without slowing down all the other routines going on at the same time.
Any suggestions how I could pause this for loop without the use of a delay?

Quote
[co...

Re: Identifying a character from serial.read()

Posted: 09 Jan 2013 01:52 AM PST

Not enough information.  Posting your code would help.

Re: Arduino CW Keyer e Arduino Mega 2560

Posted: 09 Jan 2013 01:52 AM PST

Il tuo schema mi sembra coerente.

Ho dato un'occhiata al programma (ultima versione di Dicembre) e deve essere modificato per la MEGA.

Per esempio, SDA e SCL devono corrispondere ai pin 20 e 21 e non ad A4 ed A5:

[code]
#define i2c_sda_data A4
#define ...

Re: Quality of RF transmitters

Posted: 09 Jan 2013 01:49 AM PST

But I threw in the towel and got a pair of JeeNodes from Modern Devices. They are RFM12-B based and and I'm...

Button Counter with Reset Timer

Posted: 09 Jan 2013 01:22 AM PST

Hey guys, im trying to make a button counter with a timer in the background. I have the button counter all set and working, but i cant seem to get the timer figured out.

Basically, once the button is pressed once, it lights up a red LED. The second ti...

Re: switch case question

Posted: 09 Jan 2013 01:19 AM PST

Quote
let me know what you think!
Code:
byte Display[23][8]
I think you're using eight times as much RAM as you need to.

Re: 20 Arduino projects of 2012

Posted: 09 Jan 2013 01:13 AM PST


Nice collection!

Makes me wish for a "vote for" or "submit candidate" feature. I am sure there are lots of cool things being done that deserve more attention and that can act as inspiration to us all.


Anders

Re: Will an LED blink if noone is looking?

Posted: 09 Jan 2013 01:12 AM PST

so theres nothing from keeping the led from sucking current, possiblally (doubtfull though) resetting your IC

Nothing ... apart from the 1K resistors.

Re: Schema triac e optotriac

Posted: 09 Jan 2013 01:11 AM PST

Eh eh eh .. no qsecofr... non sono dentro ad un microonde.. ma non manca poi molto...  smiley-lol  smiley-lol
Non è un problema di fluorescenza... vedi che blinka. E non è nemmeno un problema di pin degli opto.. perchè quelli non utilizzati non li ho nemmeno stagnati ...

Re: Quality of RF transmitters

Posted: 09 Jan 2013 12:44 AM PST

I got some cheap 433MHz radios like that. They were ASK radios. RX/TX pair. I found the automatic gain control (AGC) on the RX would respond rather quickly--so if the signal from the TX stayed in one place for long, the AGC would saturate and I'd get a...

Re: digitalwrite(3, HIGH) 1.5Vdc instead of 5Vdc

Posted: 09 Jan 2013 12:43 AM PST

Code:
  pinMode( 3, OUTPUT );

...add to setup.

Re: possible bootloader/uploader mods for XBee programming

Posted: 09 Jan 2013 12:40 AM PST

The max message size is currently around 64 bytes; isn't that short enough?
A shorted message would require a different protocol; right now the message size matches the flash page size.

Re: Pulse/Heartbeat Sensor Problems.

Posted: 09 Jan 2013 12:40 AM PST

Fixed -- for the most part -- the code for the Pulse Sensor (on my computer setup).
Don't know if there is any extraneous dialogue in the coding.
There is still some noise filtering which blinks chaotically.
Enjoy.

[code]
int pulsePin = 0;         
in...

Re: Will an LED blink if noone is looking?

Posted: 09 Jan 2013 12:39 AM PST

Quote
sometimes just touching (only) the black probe to Gnd would cause the uC to reset.  Not always, just sometimes.
That suggest it is a mechanical problem rather than an electrical one.

Whilest I hate bread board that one is quite neat, wel...

Re: Quality of RF transmitters

Posted: 09 Jan 2013 12:11 AM PST

Actually it seems that the X-10 protocol might be a good option.  They seem to have what I need too.

http://www.x10europe.com/pdf/AM12E.pdf

This posting includes an audio/video/photo media file: Download Now

Re: translating shifts from Java (Processing) to C++ (arduino)

Posted: 09 Jan 2013 12:11 AM PST

[CODE]
struct rgb_t
{
    union
    {
        struct {
            unsigned r:5;
            unsigned g:6;
            unsigned b:5;
        }
        uint16_t    rgb;
    }
};


rgb_t   rgb = { 1, 2, 3 };
int     r   = rgb.r;
int     g   = rgb.g;
int   ...

Re: digitalwrite(3, HIGH) 1.5Vdc instead of 5Vdc

Posted: 09 Jan 2013 12:11 AM PST

A schematic diagram would be useful.
A picture of you project would be nice too.
And your code.

Re: adding serial commands to code for remote control

Posted: 09 Jan 2013 12:09 AM PST

Quote
...is the sheild im using with an adduino nano and xbees
With that device, and properly configured XBees, it is a direct replacement for a wire. You'd program the Arduinos just as if they had a wire connecting them.

Re: LED fade will not listen to IR input for interupt.

Posted: 09 Jan 2013 12:07 AM PST

This function doesn't seem to do anything useful:

Code:
void getIR() {
  IRrecv irrecv(RECV_PIN);
  decode_results nresults;
}

You also have near the top of your sketch:

Code:
IRrecv irrecv(RECV_PIN);
decode_results results;

No hay comentarios:

Publicar un comentario