Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Save strings in EEPROM on: June 26, 2009, 06:28:27 pm
if I try to save strings in EEPROM I get an error message... smiley-sad
How would I go about saving them as an array?

2  Forum 2005-2010 (read only) / Troubleshooting / Save strings in EEPROM on: June 26, 2009, 12:18:57 pm
I want to save some strings in EEPROM, which have an uncertain length and am not sure how to do this. Does anyone know a way of doing this?

Thankyou in advance...
Conor smiley
3  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Program... gone? on: April 12, 2010, 11:31:01 am
ah rite smiley-sad
OK, well thanks for the replies.

I guess that now the code is gone, i can have a second attempt at it, but this time make it better than the first time.

4  Forum 2005-2010 (read only) / Bugs & Suggestions / Program... gone? on: April 12, 2010, 05:16:33 am
Hey guys,
I saved a program yesterday, i distinctly remember pressing Ctrl + S, but now when i just loaded the program, the latest code isnt there...
I dont know where it has gone, because i saved it, and when i closed down the Arduino environment, a box appeared i think, and I pressed save.

Any ideas on why this might have occurred?
Would it be possible to get the code back from the Arduino itself?

I was using Version 0017.

5  Forum 2005-2010 (read only) / Troubleshooting / ARDUINO MINI WITH XBEE on: December 25, 2009, 01:39:14 pm
Hi Everyone,

Im trying to get an xbee module to work with an arduino mini.
Im guessing that i'll need:

  • a regulated power supply
  • to connect the RX/TX wires from the xbee to the arduino

But before i blow up my new xmass present, can someone confirm this is correct, and warn me of any problems i could come accross?

Thank you,
6  Forum 2005-2010 (read only) / Bugs & Suggestions / an idea.. on: April 13, 2010, 04:40:32 pm
To make a serial enabled clock is a good idea, but whenever you close the serial connection, the board seems to 'reset'  thus loosing data, unless it is stored in EEPROM.
Could the Arduino have some sort or time keeping function, or a shield for this?

Or is this an invalid idea?
7  Forum 2005-2010 (read only) / Exhibition / Re: Arduino Pong on: April 14, 2010, 04:02:14 pm
this is awesome!
8  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 22, 2010, 04:32:20 am

They are the ones i think i used.
Mind you, I used google shopping smiley-razz

9  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 17, 2010, 05:15:44 pm
I will order a new enclosure, and some LED's and take some better photos soon.
And yes, its now out of Beta smiley-grin
10  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 14, 2010, 03:45:29 pm
ahh,the genius of quotes! I likes:D
That's probably a good direction to go; I think you (or anyone else) should hold off messing with the AC side of things until you have the experience, knowledge (both of when to do things and when NOT to do things), and understanding of safety methods to work with it. It isn't something to play with, as you know.
yes, this is true its not a good idea to mess with mains until you have experiance.For me though, im a bit scared actually. not scared, more VERY cautious,and Id rather mess with 5v arduino than mains smiley and yes, agreed smiley-grin
I think if you gave it a way to change the labels of the buttons, that would be a nice addition!
Thats possible on the 'Outputs' tab. When i redo it, the code will be here, promise. Just that it is quite scruffy at the moment. :-[
11  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 14, 2010, 02:17:54 pm
hey cr0sh. 8-)
 I agree, it makes simple work of something that sounds very complicated, that is controlling appliances remotely and through a computer with user-friendly software.

I appreciate your wisdom on how i could incorporate feedback smiley .

This project originated from being simple and effective that you could do with confidence, and with the UK's voltage being 240v, not 110v its more dangerous to get a shock!
I will be re-MAKEing this project soon, and think i will keep the sockets untouched for now, and perhaps make each output trigger for 2 seconds rather than one to reduce the risk on lost signals smiley

What do you guys think of the software image?
12  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 14, 2010, 01:10:05 pm
hi there smiley
 I see what you mean, and aggree that the 'heartbeat' idea would be really great for detecting errors smiley Thanks for that smiley

Where the calibration problems lie, is not in the communication between the program and the Arduino, but in the sockets themselves: the remote for the sockets doesnt have an 'off' and an 'on' button for each socket, it just has one button that reverses the state of the socket.

So, if the socket was unplugged, the program would register a signal had been sent, and the Arduino would have sent it, but the socket would still be off, when both programs think it should. Maybe I have better explained the calibration issue?

Thanks nemik for your feedback though, it is greatly appreciated smiley-grin
Conor xx
13  Forum 2005-2010 (read only) / Exhibition / Re: Automated Home Lighting System on: April 13, 2010, 05:52:26 am
Yes i see what you mean. To overcome this problem, i made sure that when an output was triggered, it was triggered for a whole second, so there is a good chance that the socket got the signal. Then the Arduino delays for a bit to stop repeated signals which could get lost smiley
But yes, that is a good way of overcoming it... I guess i could try that sometime soon smiley-grin

And good luck!
If you used these sockets, you could then use the relay in them for the switch. On top of that, the ones pictured have buttons on them, which turn the socket on and off, so that could be useful maybe?

14  Forum 2005-2010 (read only) / Exhibition / Automated Home Lighting System on: April 12, 2010, 04:21:22 pm
Well, this is the first the online community has really heard from me, and after falling prey to the Arduino v0017 'not saving when it should' bug, i finally have something that works, and is always improving.

What it is:
The complete package (Called CNM Lighting Studio, because that sounds flashy smiley ) is to..
  • Remotely control appliances,lights and other things through a computer.
  • Then add some VB.NET software to make is user friendly, and its done.
The Pictures:

How it works:
When you click on each 'lighting button' I.E the one for the TV, the program sends a number relating to which button was pressed to the Arduino. So pressing button 1 means the software will send a '1' to the Arduino.
The Arduino knows that whenever it receives a '1' to set Pin2 to high for a second.
This imitates pressing the first button on the remote control socket.
What this means is that I dont have to deal with the complicated and expensive RC bit, i just buy it for £20. smiley
In addition, because i could, i made it beep whenever a light was switched on.

If enough people want me to, I will upload the VB.NET code.
All the software does is make the Arduino user-friendly. So bu clicking the 'Outputs' tab, you can edit the names of each output. However this does not affect the operation of the Arduino. There are 5 flags, which keep track of whether the output is on or off, when an output is on, the red fade on the button that is linked to that output goes green. Thats all it does smiley

Channels, are groups of lights.
Channel 1, named 'At the computer' will turn on the Air Conditioning and the reading lamp when activated. This means the user can just click the situation they want, and the lights and appliances will adjust themselves.

Alarms are an idea i had, which meant that the internal buzzer will beep at a time set by the software. Nothing other to say really, but that its a nice feature. Intotal, there are 7 alarms,one for each day of the week.

Overall processes:
'User clicks on a button on the program'
'Software sends down a value (1-5)depending on what button they pressed'
'Arduino gets the number, and turns the allocated pin (2-6) on for a second'
'This high pin is conected to the remote, which immitates the user physically pressing the button'
'Light pops on or off'

Over All:
For £20 and an Arduino, its really great! I love this, and because i havent messed around with the mains parts, i feel confident to leave the system working.
The only drawbacks are that theres no feedback from the socket to say whether it has received the signal or not, so if for some reason the light doesnt come on, the software will think it is on (hence the 'Calibrate' button, which lets the user manually correct things).

I hope you like it!
i look forward to your feedback, suggestions and improvements for it!

Conor xxx

Here are some links that were really vital for me on the way!
and of course, this forum!
Pages: [1]