Sanguini USB-TTL alternative?

I am putting together a Sanguini as in (Contact Support ), my question is, how can I use the Serial Headers to interface with my PC's RS232 for loading sketches etc. since I do not have USB-TTL cablle?

thanks for your help...

I am putting together a Sanguini as in (Pas77: Nikmati Sensasi Bermain Slot Online Gaming 2024 ), my question is, how can I use the Serial Headers to interface with my PC's RS232 for loading sketches etc. since I do not have USB-TTL cablle?

If you try and connect your PC RS232 to the arduino then you will fry it. The computer's serial is coming out at 12v and the arduino needs 5v. You would need a level converter which would set you back as much as a FTDI cable/breakout for connecting to USB...

Mowcius

As Mowcius says...

The RS-232 spec in use on computers swings the signal from +12Vdc to -12Vdc which needs to be converted to TTL logic which swings from 0 to +5Vdc. Look up a Maxim MAX232A chip. It and five capacitors will do the trick.

Seattle Robotics Society http://www.seattlerobotics.org/encoder/aug97/cable.html

There are simpler component circuits if you search for them that will use transistors to do the level conversion but they usually don't really provide the +12 to -12V swing on the RS-232 side going to the computer.

Thanks Mowcius & capt.tagon,

Right now I don't have access to a FTDI cable/breakout until possibly tomorrow and was wondering if there is any other quick and dirty way of uploading sketches onto the Sanguini? I also have regulated power supply that can provide 5v?

thanks

Right now I don't have access to a FTDI cable/breakout until possibly tomorrow and was wondering if there is any other quick and dirty way of uploading sketches onto the Sanguini? I also have regulated power supply that can provide 5v?

No, have a good sleep and then tomorrow will come faster...

It is not just the power, it is the voltage that the data is sent at.

Mowcius

Well, got about 2 hours of sleep and it didn't help much...! Because I couldn't locally find the USB-TTL cable in this part of the world! So back to basics. Can the JTAG header be used to upload sketches? If so how please or a ref. to instructions.

My PC motherboard has the following headers, any of them any good:?

[ch1048714] 3 USB 2.0/1.1 connectors for additional 6 USB 2.0/1.1 ports by cables
[ch1048714] 2 IEEE1394a connectors for additional 2 port by cable
[ch1048714] 1 SPDIF In connector
[ch1048714] 1 CI connector
[ch1048714] 1 parallel port
[ch1048714] 1 SPDIF In jack
[ch1048714] 1 SPDIF Out jack
[ch1048714] 1 serial port (COMA)
[ch1048714] 4 USB 2.0/1.1 ports
[ch1048714] 1 RJ-45 port
[ch1048714] 1 IEEE1394 port

thanks for your help

how about the ICSP Header?

Do a google search for icsp parallel or serial port avr programmers. There are a lot of examples about. For some people they work fine, others are not so lucky but they are so quick and easy to make it is worth an experiment.
[edit]http://www.arduino.cc/en/Hacking/ParallelProgrammer[/edit]

Thank you jabber,
I am going through it's learning curve. From what I understand the programmer can be used to upload the sketches directly and also the bootloader won't be necessary as such.
I wondering if there is a way of utilizing the parallel programmer together with the bootloader environment?

thanks

Here's another thought and question, I also have a USB AVR programmer that can use up-to a 40 pin IC and it also has a an 10 pin ISP Header just like the one on the Sanguini! My question is if I could connect the AVR USB programmer to my PC and then connect it via the 10 pin header directly to the JTAG 10 pin header of the Sanguini and as such upload the sketches?

thanks for your advice

If you have a programmer you have already wasted one day ::slight_smile:

Take a look here Pololu - 3. Configuring the Arduino Environment, It is not exactly what you have but it is all relevant information.

If the 10 pin header on your programmer is an icsp connector then it does the same thing as the six pin icsp header so all you have to do is conjure up a few jumper wires to connect it to the Sanguino 6 pin icsp.

That hurts... >:( but it's the cost of the learning curve I guess.
Thanks for the link, that should solve my problem.