Show Posts
Pages: [1] 2
1  Community / Exhibition / Gallery / Re: Ardomotic 2.0 - Web Interface for Arduino on: July 29, 2014, 08:25:48 am
I plan on adding a tutorial for that in the future, and of course add all the files directly in the download section. I'm still trying to make a few changes so it's easier to make it work everywhere.
2  Community / Exhibition / Gallery / Re: Ardomotic 2.0 - Web Interface for Arduino on: April 14, 2014, 06:57:20 pm

The connection that really matters is between the browser and the Arduino. There is no connection between the Arduino and the site The browser connects to the site to download the program and all the images, and then connects to the Arduino to get the system configurations. The site is only used for the purpose of serving the files much faster than the arduino would do. You can also run the files directly from your filesystem, it's something I plan on explaining better before the final release. But this is just to avoid downloading the files over the internet, there's no gain in terms of security for the Arduino.

Once the files are in the browser, the only connection is between the browser and the arduino, so if they are on the same network the data never leaves your personal network. If you want to access from outside the network, yes that's not so secure anymore, the data can be sniffed. I mention that in the homepage:
"The server can be completely open or protected. Different users types can be created with specific user levels, allowing them limited levels of access to the system. Note that the authentication process is NOT encrypted, meaning that someone with access to the network and the proper knowledge can get try to find the credentials. It is not possible to use encryption on the Arduino simply because it does not have enough resources to process it. "

I might try do port the project to an Arduino Yun or something similar in the future go it can have proper security, but unfortunately that's long down the road...
3  Community / Exhibition / Gallery / Ardomotic 2.0 - Web Interface for Arduino on: April 14, 2014, 12:54:54 am
Hello everyone.

I've opened this thread to present version 2.0 of my project called Ardomotic. It's a web interface that allows the creation of Arduino projects without the need to write any code. Every configuration is performed on the browser. It's only necessary to have an internet connection, no other web servers are necessary other than the Arduino.

Some of the things that is possible to do with this project are:
- Create a custom interface using animations to represent the different devices connected to the arduino.
- Have real-time feedback from the system, with multiple users connected simultaneously.
- Create users with different levels of access to the system.
- Read data from sensors and program the system to react to the values.
- Schedule actions to be executed based on the day/hour.
- Create small programs in a high-level language within the interface to perform complex sequences of actions.
- Learn signals sent by radio or infrared remote controls and reproduce them whenever necessary.

You can check this 3 minutes video and get an idea of what is possible to do with it:

And this is the new site for the project:

The project is still under development, but there are already videos showing different things that are possible to do with it and how to get started. Feel free to give it a go and post your comments/questions here.
4  Using Arduino / Programming Questions / Re: BIG PROGRAM: Bath Overflow Error With /*...*/ When Preprocessing !! on: July 15, 2013, 03:11:56 pm
...and sometimes, a misplaced backslash causes untold grief
Bingo! I was having the same issue for a couple days now, ended up reading this topic, and after changing all of my /* */ to //, in the end I discovered my untold grief did in fact come from a misplaced \. Tkx AWOL smiley
5  Using Arduino / Displays / Re: Warning in Tone.cpp on: June 21, 2013, 12:53:02 pm
Is this solution still supposed to work for ide 1.0.5? I tried it but still get the warnings... :S
I'm implementing a webserver, using F() and PSRT() everywere... Feels like watching a horror gory movie with all the red coming from everywere! smiley
6  Using Arduino / Programming Questions / Re: Using PROGMEM above 64K on: June 21, 2013, 12:38:45 pm
It's as I feared then... :S I'll try to keep things below 64k then, otherwise i would have to go through a bunch of libraries.

Thanks again for the information.
7  Using Arduino / Programming Questions / Re: Using PROGMEM above 64K on: June 21, 2013, 11:23:14 am
Ok thank you for the quick reply. I guess it wasn't very clear, when i said "main code" i meant the code written in the Arduino ide and not in the libraries folder.
I guess it doesn't really matter much where the files actually are as long as the compiler can find them... But since i don't really know much about how the linking process works, I wondered if there was some kind of way to force the order of the data in the hex file.
WIll try going through the files like you said and see if I can make sense of it.
8  Using Arduino / Programming Questions / Using PROGMEM above 64K on: June 21, 2013, 10:46:01 am
Hello. I'm having some doubts about what i need to to do in order to use the progmem space with sketches over 64kb.
My question isn't really how to use it, it's if i need to change things everywere or just is some places.
As an example:
I have a sketch that is almost going over 64K. I use macros like F() and PSRT() a lot, which as far as i know can only work for the lower progmem space.
I also have a very big library which also uses F() and PSRT() everywere.

My problem is that when I compile the project, i have no idea where each part of the code will end up in the memory... Do I have any way of ensuring that all my libraries will end up on the lower progmem space? So that I only need to deal with the addresses > 64 on the main code?
9  Using Arduino / Programming Questions / Re: Suggestions for Serial Buffer on: June 21, 2013, 10:28:31 am
You can also change the size of the Arduino serial buffer by editing the file "HardwareSerial.cpp" and replacing

by the number you want... This would avoid creating a second buffer for the same data.
10  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: December 09, 2012, 12:43:21 am
Hello everyone.
Don't know if anyone is still following this thread, since it's been almost a year now... Unfortunatelly I had some problems and didn't do any work on this project for ages. I'm currently working on a new version that adds a lot of different features, but for now, here is the homepage with the code for the old version:

Have fun with it, let's see those xmas lights on smiley
11  Community / Exhibition / Gallery / SequenceDecoder - Study and send/receive wireless signals (both RF and IR) on: December 04, 2012, 02:29:53 pm
Just making this post to present this project I created called SequenceDecoder. It uses Arduino + Processing to read different types of signals from the Arduino, and displays a graphic representation, analyzing pattens and generating Arduino code automatically to handle those signals.

It helps understanding and using different wireless types of data transmission (using either infrared or radio signals). Using an Arduino and the right type or receiver/emitter , it's easy to analyse and reproduce signals  coming from different types of remote controllers, such as TV's, multimedia centers, air conditioning, home domotics, garage door openers...

Along with SequenceDecoder, there is also an Arduino library called WirelessController to easily send and/or receive commands after they have been decoded.
And finally, Ardomote is a project build upon the WirelessController library, that easily creates an universal remote controller using an Arduino Ethernet.

Motivation for using this project:
There are other libraries out there that already allow an Arduino to send or receive commands from remote controllers. So what it the advantage of using SequenceDecoder + WirelessController?

- Supports both infrared and radio controllers. All of the libraries I found online are aimed only infrared controllers. This is the most common in audio and video equipament. However, when the devices are too far away from the controllers, or aren't in line of sight, radio is the only option. Devices like domotic controllers, thermostats, garage door openers typically use radio.

- Adapts to new unknown protocols. The usual approach when creating these types of libraries has been creating the basic library and then creating some sort of database with the most common protocols (usually focusing on multimedia devices). This might be more efficient, but less flexible. When encountering a device not on the list, either you need to find out the protocol yourself and change the library to support it, or it won't work. Also since these libraries focus on multimedia devices, if you want to use something other than a TV or a specific media player, it won't probably be supported.

- Easily learn and study the protocols. This was actually my first motivation. When you use a library that already supports your device, that's great. You can just say "Ok I have a Sony TV and I want to control it" and it will probably work. But if you're not sure of your device type, or even if you do but for some reason it doesn't seem to work, then you are completely in the dark. You have no idea if what you are transmitting or receiving is anywhere near what it was supposed to be. SequenceDecoder can help here... It shows you a visual representation of the signals and automatically analyses the information. You can easily compare the signals sent by your original remote control with the ones sent by your Arduino (assuming you have a second arduino to install SequenceReader).
Easily create your own protocol. Let's say you have a project where for some reason you need to send 7 bytes of information using infrared, or another where you need to send 15 bytes on information using radio... With WirelessController, you just need to edit 6 lines of code to create a custom protocol and start sending and receiving messages.

- Non-blocking readings. This is not an unique feature to WirelessController, but it does not appear in all the other libraries I found. Non-blocking readings mean that when we are waiting for commands, the Arduino will not be stuck when readings commands.  This is a great advantage, because it means we can use one Arduino to send and/or receive commands from different controllers at the same, or have it doing some other tasks while waiting for a command.

12  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: January 13, 2012, 07:06:15 am
Thank you.
I plan on integrating an option for servo control in the future. Having that, it's easy to have a camera that you can move around. Controlling the servos is actually quite easy, the tricky part is changing the current interface so you can input numbers easily.
In this case having the camera moving around wouldn't allow you to see much more though... Two messy desks, and sometimes a guy working on a pc on one of them smiley-razz The remote control on the lights of the rest of my house was disabled while I had this public test, because it was not very practical having lights turn on and off by themselves all the time when ur doing stuff around the house smiley
13  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: January 03, 2012, 06:54:13 pm
Well it was fun having everyone playing around with the tree, but now it's a new year, so the tree is gone so i'm back to working on the code... Hopefully will finish it soon and then i'll publish it on a dedicated webpage, so next year everyone can have their own Christmas trees online smiley-wink
14  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: December 26, 2011, 06:58:36 pm
Nice! It's a good idea, I think I'll do the same.  With a "signal recorder" it would work with any gate, regardless of the control. smiley
Yes you can analyze different signals, even from other stuff, like infrared remotes (haven't worked much on those, but the principle is the same, only they use light instead of radio, and lower frequencies). At some i point i'd also like to integrate my air conditioning in this project too, but that will take quite some time, since air conditioning codes are quite more complex.

About the relay stuff... Thanks for the link, but my problem is not with the relay coil. The problem is the actual motor that the relay is controlling... The same thing that happens in the relay coil, and we fix with the diode, also happens with motors, but is much stronger (since it's a 120W motor). In this case it's strong enough to meld the contacts together, and the relay stays on all the time :s The idea is to make a filter to compensate the effect of the motor, but i don't even have the specs of the motor, which unfortunately is making things harder. smiley-sad (You might also want to warn on your site for people to be careful when doing stuff with 220V motors smiley-wink
15  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: December 24, 2011, 09:53:07 pm
I plan on doing a proper webpage with all the goodies and updates, when everything is completed. When i do it i will link the site here on the arduino forums too. The code is almost done, the first release should be soon. These days I just been having some issues with opening and closing the windows. The problem is actually physical, my relays were breaking because of power spikes caused when using the relays do turn the motors on and off... Since i'm not used to work with this kind of stuff an my electronic knowlege is VERY limited when it comes to inductive stuff... It's taking me a while to figure things out :s I'd like to have it all working when I release it, so that i could also make a nice demo video smiley

Just saw your site. I'm portuguese, so i could understand it all, no language problems smiley
U got a cool project there too. I also did a similar thing with my building door (opend the intercom and put a relay in parallel with the OPEN button) smiley
I see you hacked the existing hardware for the remote control parts. I thought of doing that too in the beginning, but then I decided to do a little more research and learn a bit about the communication protocols. I made a small application (arduino+processing) to help decoding the wireless signals, and then the arduino just repeats it smiley I will publish that program too, I guess it might be useful for someone else.
As for the code, as I said I hope to publish it soon... Unfortunatelly I'm way more lazy to do webpages and documentation than I am to do code smiley
Pages: [1] 2