Show Posts
Pages: [1] 2
1  Using Arduino / Microcontrollers / Re: Leonardo as Joystick & Keyboard at once? on: April 03, 2013, 10:42:42 am
You can use SVMapper or Autohotkeys to map joystick buttons to keyboard commands.
2  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: March 16, 2013, 03:05:17 pm
Hi mate,

Check those two lines:
Code:
UTFT myGLCD(SSD1289,38,39,40,41); 
UTouch      myTouch(46,45,44,43,42);

They have to be the same as in examples (if the examples are working fine).
Also be sure you are using examples from right libraries.

Cheers,
Daniel
3  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: January 30, 2013, 10:14:16 am
That's weird if examples works fine.
Try to do debug - put serial.println(dispScreen) in main loop and check if it changes from 0 (main screen) to 1 (menu screen).
Also compare line by line touch screen configuration from example sketches with Stilo, there may be some typo if it's not working with Stilo.

There may be other problem as well - memory leak. I used to have a lot of problems with String objects that were crashing board while compiled on IDE 1.0.2 (but the same sketch was working fine with 1.0.1). The symptoms were similar - the screen stopped responding, but this doesn't explain why it goes to menu screen (all String objects are replaced now with char strings in the sketch).
Maybe some wrong connections or something is causing crashes? Try to put serial.println("1"), serial.println("2") etc in main loop after every function and see which one is causing crash, then do the same in this function to see which command is crashing the board.
Time consuming but there is no proper debug function.
4  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: January 29, 2013, 05:29:45 am
Vasco,

I want to thank you as seeing your controller a few months back was one of the main reasons I decided to try and make my own.  For ATO I have implemented freescales MPXV5004GC7U pressure sensor in order to get accurate water levels.  It is extremely simple to use and is quite accurate.  Here is a link to the product
http://www.digikey.com/product-detail/en/MPXV5004GC7U/MPXV5004GC7U-ND/951844

Nick D.

That's the good find! (and not expensive:)
5  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: January 29, 2013, 05:28:33 am

Yeah, all the examples work properly, and I can even get some simple sketches that I created to run no problem. Weird part is, i commented out a a section of the sketch pertaining to the clock (forgot where it is, ill try to look for it) and it caused the main screen to load fully, but right after loading it went to a menu screen with options to adjust the clock, led stuff, and some other things, but I couldnt tap on anything.

That's the problem, quite a lot of functions like leds values calculations, moonlights etc relies on RTC so if you commented that code out then unpredictable behaviour will happen.
I'd leave the code as it is, it should work without RTC clock connected, there will be just weird numbers instead of time and date.
6  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: January 28, 2013, 11:40:00 am
No, I don't think so. If arduino can't see RTC then some weird numbers are displayed instead of time and date.
I think it something with the screen, did you manage to successfully run examples from UTFT library?
7  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: January 19, 2013, 10:29:05 am
I have finished updating my project and Stilo 3.0 is now ready and can be downloaded from my project site www.code.google.com/p/stilo

List of features:

  •    up to five separate PWM signals for independent control of leds colors; 
  •     moonlight channel with simple and real time modes; 
  •     dusk and down effect for LEDs and moonlight; 
  •     real time clock; 
  •    water and LEDs heatsink temperature sensors; 
  •     too high and too low water temperature alarm; 
  •     safety dimming light when LEDs temperature too high; 
  •     speed control for heatsink fans; 
  •     all settings are saved to EEPROM memory; 
  •     screen brightness control; 
  •    simple ATO (water top up system) controlled by one float switch.


The number of controlled LEDs channels (colours) can be changed and accordingly the main screen, leds menu, test and color mixer screens will display info only for configured LEDs channels. Also the names and colours of bars are configurable for each channel.





Moonlights can work in two modes: simple and real time.
In simple mode moonlight is on between preconfigured times (the same for every day).
In real time mode moonrise and moonset times are calculated for current day and configured latitude / longitude. So the times when moonlight is on will vary from day to day the same as for real moon. Moonrise and moonset times are displayed on main screen.

Moonlight configuration screen:


Redesigned screen to change LEDs output values:


Colour mixer that allow to check LEDs colour blending:


For all features and screenshots see the documentation.
If something is missing or not clear as it should be please let me know.
8  Community / Exhibition / Gallery / Re: High speed vector graphics engine. 3.2" TFT Lcd screen. on: January 10, 2013, 11:09:34 am
I use the same screen in my project so I'm watching with interest!
9  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: December 18, 2012, 06:17:46 am
Hi Fernando,

I'm glad you liked my idea.
I don't understand Portuguese so I looked at pictures on your thread and I have to say it looks really good!
Lots of innovation and new features.
Keep it coming!

Meantime I'm upgrading my own code as well, I have added more LED channels and moonlights and now I'm tidying up the code.

Take care.
Daniel
10  Community / Exhibition / Gallery / Re: Arduino Nixie Clock > Pics & Source Code on: November 13, 2012, 08:52:20 am
Thanks Rob.

I've seen this behaviour on some of the clocks but didn't know why it was done.
Until I found good article explaining cathode poisoning.

Cheers,
Daniel
11  Community / Exhibition / Gallery / Re: Arduino Nixie Clock > Pics & Source Code on: November 12, 2012, 07:24:03 am
Hi randyrob,

Can you explain how cathode poisoning prevention works?
Thanks.

Daniel
12  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: November 12, 2012, 06:50:19 am
Yep, it took me a while to get back to my project smiley-roll
Meantime other people kept it going, I've seen Jarduino as well, especially I like its moonlight implementation, I plan to do something similar.

I bought second Mega board and another screen so I don't have to test my sketches on 'live' controller and scare my fish smiley
I plan to add more channels, moonlights and I have an idea for simple ATO.

Regarding ph probe, where did you buy it? I have seen info somewhere that it's useful life is about one year?
13  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: November 09, 2012, 05:38:49 am
I'm back smiley-cool
After over 18 months I got around to update my project.
For all this time it was working fine controlling lights on my tank but it had number of bugs and some of the 'features' were not working at all.
The documentation was crap as well.

Stilo 2.5 is not compatible with Arduino 1.0.1 yet but sketch is well tested and documentation is up to date. Everything can be downloaded from code.google.com/p/stilo

Main features:
 - two separate PWM signals for independent control of white and blue leds;
 - dusk and down effect;
 - real time clock;
 - water and LEDs heatsink temperature sensors;
 - too high and too low water temperature alarm;
 - safety dimming light when LEDs temperature too high;
 - speed control for heatsink fans;
 - all settings are stored in EEPROM.

Some screenshots:
Main screen:


Settings:


Lights output values:

14  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: March 04, 2011, 04:35:10 am
Sorry Henning, stupid mistake to make, corrected now.  smiley-red

I think your library contains a bug, printNumF doesn't display numbers correctly if they are less then 1 (0.1, 0.2 etc).
I got around that by simply adding '0.' in front, maybe something you can look at.
Otherwise it works brilliant, maybe a bit slow but I'm not sure what the limiting factor is. I try to keep refreshing things to absolute minimum smiley
15  Community / Exhibition / Gallery / Re: LED and aquarium controller with TFT LCD touch screen on: March 03, 2011, 05:19:14 pm
The interface is 16-bit parallel, it's using 20 wires.
That's way I used Mega board.

Actually the screen controller supports serial SPI interface but it's not connected on PCB.
Pages: [1] 2