Show Posts
Pages: 1 [2]
16  Using Arduino / Project Guidance / Re: USB 2 serial converter on: October 07, 2012, 02:47:32 am
See Mini USB Host Microcontroller Board
http://www.kickstarter.com/projects/985890579/mini-usb-host-microcontroller-board-arduino-compat
17  Using Arduino / General Electronics / Re: Controlling a relay with a transistor switch on: September 24, 2012, 02:32:09 am
If you want to control many channels, says more than 4 channels, I would suggest to use ULN2803 Line Driver to control the relay.
http://ediy.com.my/index.php/blog/item/34-connecting-arduino-to-uln2803-line-driver
18  Using Arduino / Project Guidance / Re: Arduino + Android on: August 12, 2012, 11:27:09 am
Hi community,

I'm a starter in this world of eletronic automation, so please, don't be rude if i ask something wrong here, alright? Well, my idea is connect a Android mini PC (link here) on a Arduino controller and use android as a processor unit and graphical interface of my automation project... as this piece have more hardware and possibilites.

My project is automate my air-conditioning, room lights, some led display... and using android as processor unit and graphical unit i can control it via wifi or ir controller.

My questions are simple  smiley

1.) It will work as expected, and, this is correct?
2.) What Arduino should i buy?
3.) Whats your opinion of it?

Remember that is a educational project, i don't plan to make money on it, of course.

You can use the browser from your Android phone to control the Arduino, but you must develop your own php code.
See my website http://ediy.com.my/index.php/blog/item/22-php-control-arduino-with-tp-link-tl-wr1043nd-router which the Arduino is connecting to the wireless router usb port.
19  Topics / Home Automation and Networked Objects / Re: Arduino - Wifi - Router - Web browser on: August 11, 2012, 06:14:18 am
See my website at
http://ediy.com.my/index.php/blog/item/22-php-control-arduino-with-tp-link-tl-wr1043nd-router

The Arduino is control via TP-LINK TL-WR1043ND wireless router. It can control any where over the internet. You have to develop your PHP code. There is a simple example PHP code in my post for your reference.

The good thing is it can control Arduino over network without using the Arduino Network Shield. smiley
20  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 15, 2011, 12:30:07 am
Thank You, Coding Badly . I will test the power idle mode.
21  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 14, 2011, 01:25:38 am
I'm using solar cell 11.5v to power the camera & the timer device, so there is no way to remove the 7805 voltage regulator.
Regarding power save mode, I found this site .
Anybody try this? How accuracy is this?
22  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 13, 2011, 08:24:34 pm
By adding OSCCAL=0x6C; to the sketch, the timer is working accurate now.

At the same time, I changed the clock source from 8MHz to 1Mhz in order to save power (I'm using the battery to power the ATtiny45, so I solder a 7805 regulator to the circuit). Below is the settings that I use for the boards.txt & AVR Studio fuses

Modify f_cpu from boards.txt:
attiny45.build.f_cpu=1000000L

Check CKDIV8 from AVR Studio:
EXTENDED: 0XFF
HIGH: 0XDF
LOW: 0X62

Everything is working perfectly.

23  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 13, 2011, 12:28:22 pm
I added OSCCAL=0x3D; to my sketch (just after voide setup()) & it compiled successful.
But I haven't get the actual value of OSCCAL yet. After getting the OSCCAL value, I will recompile the sketch & upload to the ATTiny45 & test the timer device for accuracy.

It is 1.27AM. I have to sleep now.

Thank again, Bobnova.

#include <Time.h> //include date time function such as hour(), minute(), second()

const int cameraTriggerPin = 3;       // TINY45 PIN2 as output

void setup() {
  OSCCAL=0x3D;
  pinMode(cameraTriggerPin, OUTPUT);  // set the digital pin as output
  digitalWrite(cameraTriggerPin, LOW);
  cameraTrigger();                    //shoot once on startup
  setTime(0,0,0,01,01,01);            //setTime(hr,min,sec,day,month,yr);  
}

void loop()
{
  if (minute()==1 && second()==0) cameraTrigger();
  if (minute()==2 && second()==0) cameraTrigger();
  if (minute()==3 && second()==0) cameraTrigger();
  if (minute()==4 && second()==0) cameraTrigger();
  if (minute()==5 && second()==0) cameraTrigger();
  if (minute()==6 && second()==0) cameraTrigger();
}

void cameraTrigger(void)
{
    digitalWrite(cameraTriggerPin, HIGH);
    delay(1000); //delay 1000ms
    digitalWrite(cameraTriggerPin, LOW);
}
24  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 13, 2011, 11:46:03 am
I'm getting stuck after studying the "TinyTuner". What is the next thing I should do after getting the value of OSCCAL ?
25  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 13, 2011, 10:46:39 am
Thank you, Bobnova. I found this site (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1287558192) based on what you say. I will try this later on.
26  Using Arduino / Microcontrollers / Re: ATtiny45 Arduino timer problem on: August 13, 2011, 03:33:59 am
I removed the crystal & 22pf capacitors. It using 8Mhz internal clock.
27  Using Arduino / Microcontrollers / ATtiny45 Arduino timer problem on: August 12, 2011, 09:45:01 am
I need a simple timer device to trigger the shutter of the Canon Eos camera. The timer device is completed but with some minor problem. That is the timer is lagging by one second per minute.
Is there any way to solve this problem?
Please see my blog for details.
http://smching.wordpress.com/2011/08/11/attiny45-arduino/
28  Forum 2005-2010 (read only) / Interfacing / Re: Arduino and EventGhost on: October 29, 2009, 09:11:14 am
EventGhost homepage:
http://www.eventghost.org/

EventGhost is free open source
29  Forum 2005-2010 (read only) / Interfacing / Arduino and EventGhost on: October 29, 2009, 09:06:04 am
EventGhost home automation is very interesting & powerful.

Does anybody play arround Arduino with EventGhost?
Pages: 1 [2]