Show Posts
Pages: [1] 2
1  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 28, 2013, 12:02:54 pm
Thanks Riva... but im almost ready to give up on this... think i will pull wires instead.

smiley-sad

FTL
2  Using Arduino / Audio / Re: two mp3 players on: February 28, 2013, 11:55:17 am
Alternatively, if all the audio comes out of the same speakers, you could just overlay the audio in Audacity or so and export it as one stereo track.  Perfectly synced with only one MP3 shield needed. 

By the way, my code above loops the playing of the track endlessly.

FTL
3  Using Arduino / Audio / Re: two mp3 players on: February 28, 2013, 11:50:26 am
I believe its not possible with the sparkfun shields. But i have done exactly what you are asking with the Rogue MP3 shield - http://www.roguerobotics.com/products/electronics/rmp3 they are a little bit pricey but VERY good quality. I was more than happy with my setup.

Just stack two shields on top of one arduino. You'll need to name the tracks on each SD exactly the same and then edit your code to include that track name, but it works like a charm...

Here is my code -

Code:
#include <SoftwareSerial.h>
#include <RogueMP3.h>
 
SoftwareSerial rmp3_serial(6, 7);
RogueMP3 rmp3(rmp3_serial);
 
void setup()
{
 // Serial.begin(9600); //
  rmp3_serial.begin(9600);
  rmp3.setloop(0);
  rmp3.sync();
  rmp3.playfile("/track016.mp3");
 
}
 
void loop()
{
}

I seem to remember that the Rogue MP3 library has not been updated for 1.0 but i have an edited, working version, just PM me your email and i'll send it.

FTL.
4  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 24, 2013, 03:13:53 pm
Image 2.
5  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 24, 2013, 03:13:15 pm
First image is when each module is powered by its designated Arduino. The 2nd image is when the transmitter is powered via the reciever arduino.

1st image setup does nothing.

2nd image (2ns post) works as is to be expected... i.e. The transmitter transmits and the receiver receives exactly what i programmed the transmitter to send.

Both powered via usb.

I don't think its random RF noise considering the receiver's serial  monitor shows exactly what i programmed the reciver to transmit and with the delay i programmed too.

Very odd.

FTL

6  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 20, 2013, 03:26:53 pm
Ok... here is what i know.

I can only get the transmitter to transmit when it is powered by the 'receive' arduino and only when BOTH are powered via USB.

:/

FTL
7  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 20, 2013, 03:15:41 pm
Ah yes, but i now know (from the manufacturer) that i have it wired right. And earlier today i got it to transmit.

I can't seem to replicate that now. Perhaps a dodgy transmitter??

FTL

8  Topics / Home Automation and Networked Objects / Re: make code smaller on: February 20, 2013, 01:49:12 pm
I had a similar problem... it was easily solved by getting rid of a few 'serial print' commands. Don't keep them unless SUPER necessary. 

FTL
9  Topics / Home Automation and Networked Objects / Re: 433mhz & RC Switch Woes.... on: February 20, 2013, 01:30:33 pm
In your image your powering both the TX and RX modules from the RX arduino. Probably the only reason it works at all is the grounds are connected via the USB sockets in the PC. Power them separately from each Arduino, DO NOT common the 5V between the arduino's though.

Hello again Riva. I have tried this. As soon as i power the transmiter, directly from the transmitter assigned arduino it stops working. This is the problem. 

FTL
10  Topics / Home Automation and Networked Objects / 433mhz & RC Switch Woes.... on: February 20, 2013, 12:27:11 pm
Hi Folks

I've been trying for days now to get a 433mhz set-up working with my RF outlet switches (as many have before). I just keep hitting wall after wall.

I'm currently using RCswitch library and am running a test with one arduino as a reciever and one as a transmitter. Both the 433mhz reciever and 433mhz transmitter are powered via the 'receiver' arduino (See image attached) this is important to know later.  

Having decoded the on and off signals from my remote i have put it into the 'send' program. When i run the two arduinos at the same time the 'receive' arduino picks up the send transmission, which seems good, however the outlet does not switch on and off ?!?

The weird thing is i wanted to do a distance test so i took the transmitter out of the breadboard and installed it on a different one attached solely to the 'send' arduino. As soon as i did this it no longer seamed to be transmitting as the serial monitor no longer showed anything. However as soon as i put it back onto the power from the 'recieve' arduino all worked again ?!?

So my two questions are this -

1. Why does the transmitter seem to only work when powered by the 'receive' arduino.
2. Why does my outlet not switch off when apparently the correct code is being transmitted?

Images attached of the arduino set up. Also a screen shot of the two sketches and serial monitor. I can post the code directly too if it helps.

Any help will be greatly appreciated.

FTL

11  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 16, 2013, 04:34:45 am
Thanks alot for the help everyone. Esp Riva, I'll have a go at you suggestion, if it doesn't work i guess a new one WITH the silkscreen is whats needed.

FTL
12  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 15, 2013, 10:09:44 am
Two flatbed scans. Hope this helps.

FTL
13  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 15, 2013, 10:01:14 am
It Looks like this one

http://detail.china.alibaba.com/offer/1126300215.html

But as you say there are so many different.


Close bit no cigar...

FTL
14  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 15, 2013, 09:35:07 am
This is better.

FTL
15  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 15, 2013, 09:05:21 am
Its difficult to tell what is what. Even with a magnifyng glass... the back is really cluttered.

FTL
Pages: [1] 2