Show Posts
Pages: [1]
1  Using Arduino / General Electronics / About BiPolar Power Supply on: June 17, 2014, 08:10:46 pm
I've recently build a simple bipolar power supply circuit for refresh start. LM7812 for positive power regulator and KA7912 for negative  power regulator.
Before I ensured that is OK for output voltage is about 12 volt before attached KA7912 in circuit boards. I've attach ground connect from ground pin of KA7912 to ground pin of LM7812. When tested with multimeter it show me as "20.2 volt" . Can  anyone me guide me how can i correct it back to become 12 volts.
2  Using Arduino / Networking, Protocols, and Devices / Re: How to access smtp.gmail.com or other to send email on: October 12, 2012, 11:53:10 am
I've already tried your previous post coding test, but it still happened to have the same problem where I can't pass through STARTTLS.
How can i do to pass over STARTTLS?
3  Using Arduino / Networking, Protocols, and Devices / How to access smtp.gmail.com or other to send email on: October 12, 2012, 03:52:19 am
Can anyone help me on how to access to gmail smtp server and make changes to the following. Appreciate thanks to any suggestion and help.

I've tried my following setup code without any problem to send out email automatically to my gmail mailbox under my local smtp domain server.

My main purpose would liked to use public smtp server for sending out email but not involved local setup smtp mail's server because I'll create a device which is not rely on local setup email server but connect solely direct to Internet for automatically send out email by interact to public smtp server only.



#include <Ethernet.h>

#include <SPI.h>  

//byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
//byte ip[] = { 192, 168, 9, 177 };
//byte server[] = { 192, 168, 9, 6 }; // Mail server address  MODIFY THIS FOR THE TARGET DOMAIN's MAIL SERVER

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //physical mac address
byte ip[] = { 192, 168, 9, 177 }; // ip in lan
byte gateway[] = { 192, 168, 9, 3 }; // internet access via router
byte subnet[] = { 255, 255, 255, 0 }; //subnet mask
byte smtp[] = { 192,168,9,6 };

EthernetClient client;
//EthernetServer server(25);
//Client client(server, 25);
//Client client;
void setup()
{
  Ethernet.begin(mac, ip,gateway,subnet);
  //server.begin();
  Serial.begin(9600);
  
  delay(1000);
  
  Serial.println("connecting...");
  
 // EthernetClient client = server.available();
  
  if (client.connect(smtp,25)) {
    Serial.println("connected");
    client.println("EHLO kltan");
    client.println("AUTH LOGIN");                         //see "http://base64-encoder-online.waraxe.us/"
    client.println("a2x0YW5AcHBoLmNvbS5teQ==");           //Type kltan@pph.com.my and encode it
    client.println("MTIzNDU2");                                                      //This line is password
    client.println("MAIL FROM:<someone@hotmail.com>");  
    client.println("RCPT TO:<someone@gmail.com>");
    client.println("DATA");
    client.println("from:someone@hotmail.com");
    client.println("to:someone@gmail.com");
    client.println("SUBJECT: Testing subject to arduino ethernet shield");
    client.println();
    client.println("This is the line body.");
    client.println("This is another line of the body.");
    client.println(".");
    client.println(".");
    client.println("QUIT");
  } else {
    Serial.println("connection failed");
  }
}

void loop()
{
  if (client.available()) {
    char c = client.read();
    Serial.print(c);
  }
  ;;
    if (!client.connected()) {
    Serial.println();
    Serial.println("disconnecting.");
    client.stop();
    for( ;; )
     ;
   }
}
4  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 17, 2012, 07:25:30 am
I think I've already found the solution from  " http://arduinomega.blogspot.com/2011/06/reviving-dead-arduino-board-good-as-new.html " because my usb chip was fried out.

I turn out to locate my hex files and proceed to device programming by include .hex (once compile it under arduino IDE it will then appear under C:\users\xxx\AppData\Local\Temp begins with buildxxx folder inside) and copy .hex file to easy to find location before programming by using avrisp mkII to 6 pin isp cable in flash programming.

It  worked out in charmed after I tried to upload an easy sketch and test it.

BTW anyone got solution to solved usb chip problems on this pages because mega adk or mega 2560 is common to have usb chips faulty problems.
5  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 16, 2012, 04:18:59 am
I've done through the process to upload a new bootloader by using AVR studio 6 + avrisp2 (known as avr isp mkII), but it return no respond to Rx and Tx light to flash when my sample sketch upload on it until no end stop in process uploading.

but I still tried using my another fine Duecimilia board by erase and test it before I test it again by upload same atmega328P type bootloader and to verify it, then is working back to able upload with sketch.

I confirmed that aVR studio 6 + avrisp2 is fine to be able to upload firmware\bootloader into arduino any board flash memory.
6  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 10, 2012, 08:20:25 pm
fyi i failed in loopback test.
7  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 10, 2012, 03:02:53 am
yes. com port is matched once I connected to even I've manually change to other com port.
8  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 09, 2012, 07:19:10 pm
is hope anyone experienced on this kind of issues where mega ADK rv3 not responding to TX & RX light blinking while upload sketch? Can share out any suggestion of solution? I'm working hard to need whether try to burn again bootloader on this board, is it better or not?
9  Using Arduino / Installation & Troubleshooting / Re: Mega 2560 ADK not responding on TX & RX on: September 09, 2012, 09:54:26 am
No but I appreciate you can  teach me how to do it^^. my board is dead now since i have wrongly do something plugging on 5v slot but it still working on ON light with L light presents.
10  Using Arduino / Installation & Troubleshooting / Mega 2560 ADK not responding on TX & RX on: September 09, 2012, 02:40:53 am
This is a problem found when I've tried uploading any simple sketch to this board and return nothing and without RX\TX light blinking. It is just keep uploading in unlimited loop only since I'd failed in loop back test.  

I'm working with windows 7 64-bit. This board is about Rev3 type with chip 16au.

kindly appreciate any suggestive help and opinion from senior forum er and experts. Thanks.
Pages: [1]