Recent Posts

Pages: [1] 2 3 ... 10
1
Is the leaderboard online or local? If it is local, just store the top 10 scores in the Arduino's EEPROM. Just Google what EEPROM is and there are many tutorials on how to do this. If the leaderboard is online, things will be much more complicated because you will need somewhere to store the scores.
2
Project Guidance / Re: Blynk vs power outages
Last post by Wawa - Today at 05:09 am
I tried using latching relay but apparently when the power comes back it's sends a little pulse that resets the latching relay just like a regular relay.
Well, that would depend on the code.
A relay shouldn't turn on by itself on power-up.
Leo..
3
Project Guidance / Not sure where to start search...
Last post by SueF - Today at 05:07 am
Hi, I'm brand new to Arduino, but not brand new to programming.  Could I please get some help on where I should even start looking for advice on what I want to do...

I have an Arduino programme written by a friend, displaying a reaction time, linked to a set of traffic lights.  When the light turns green, put your foot down on the accelerator and your reaction time is displayed on the read out.  That bit has already been done (Thanks Pete).  What I would like to do now is record everyone's time and display a leaderboard (in real time) of the fastest reaction times to the slowest.  Perhaps we could use a barcode / reader to associate a name with a time?

Thanks in advance, and sorry if this is not the correct place to ask this, but I've spent some time looking around, and I think this is feasible, but I really just don't know where to even start investigating.
4
Hey guys, I am extremely new to this and just needed some clarification. So I am planning on using an arduino to conduct a simple test, measure the load from two different motors via two load cells. Now to make it complicated. I was planning on having a barometric sensor start the motor and to start recording data from the load cell (to save space in the sd card).
5
At the worst, you get stuck waiting for a bit between questions until you have made 100 posts. This is a spam prevention feature of the forum.
6
Project Guidance / Re: Capacitive proximity
Last post by Ralph2694 - Today at 04:55 am
Can you please tell me how?... Because i tried using touch plate and 555 astable multivibrator circuit by detecting the frequency variation so can you give me a circuit!!
7
Thanks Robin2, I will use the correct photo format next time.

Also thanks WattsThat - I think the details of my wiring are lost in the photo.. it is definitely wired as in the diagram.

But the good news is.... I've solved it!!!!  I had to add a cap on my motor board to connect the 5V and EN pins!! Now it works perfectly.  I have no idea why this worked.. I also don't know how I killed 3 boards in the process, but it seems to be ok now. 

Thanks for your time!!
8
Oh thanks, i guess that answered that. What happens if i have more questions than i can post?
9
You might find the codes you need on the LIRC site.

FWIW I also have an LG TV and for my project used the codes found on that site.   I wrote a header file with the following:

Code: [Select]

const long  PRE_DATA = 0x20df0000;    // prefix for remote command

enum COMMAND {
            up,
            down,
            left,
            right,
            ok
};

int tv_codes[] = {
                    0x02FD,       // up
                    0x827D,       // down
                    0xE01F,       // left
                    0x609F,       // right
                    0x22DD        // ok

                   
};


Commands are sent to the TV with the function:

Code: [Select]

/*
  sendCmd
 
 Send passed commend to IR reciever.
 
 */
void sendCmd(COMMAND cmd)
{
  // combine pre data with specific code
  irsend.sendNEC(PRE_DATA | (long)(tv_codes[cmd] & 0xffff),32);

  // we must move deliberately to avoid missed clicks
  delay(300);

}


which is called, for example, like this:

Code: [Select]

sendCmd(up);

Thank you very much! That is exactly what I was looking for.
10
Audio / Re: Issues differentiating lef...
Last post by Thomasta3 - Today at 04:50 am
Sorry it doesn't. All that "schematic is two voltage dividers and a capacitor.
I have attached some arduino diagrams using a program I have not used before, so I wasn't sure how to make some of the connections exactly how they are in my circuit (pictures provided as well). There are two versions, one with easier to follow colouring, and one with the same colours as my real-circuit. The values of resistors and capacitors are as they are in my original diagram. Thank you for your patience.


The code is even more odd. Why use a float variable for an integer quantity?
I was experimenting with applying some maths to see how I could manipulate the waves I was detecting. I put it into a float out of habit for doing calculations, but you're right it wasn't needed. I forgot to put it back to an integer when I simplified my code again for the post.
Pages: [1] 2 3 ... 10