Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

How do i upload sketch arduino pro mini 3.3v without adapter

Tue May 29, 2018 11:36 pm

I have a code written in arduino to take rpi digital value and convert it to a pwm signal in the arduino pro mini 3.3v. I have it wired up and is detecting it as ttl arduino from raspberry pi running Ubuntu mate. How do i get it to upload sketches? I don't have to worry about shifting voltage and I thought I could just hook up tx rx and be good to go. I don't have room for a usb cable. What do I do?

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:01 am

Use the serial port (UART) on the Pi GPIO header.

I don't know how the Arduino loader works but it's likely it needs at least one more signal other than TX and RX. It will need a way to reset the Arduino and start it's bootloader.

Hmm.. google is your friend:

"Both the DTR and RTS signal are issued when the Arduino boards needs to be reset."

From here: http://forum.arduino.cc/index.php?topic=292365.0
Last edited by Heater on Wed May 30, 2018 12:09 am, edited 1 time in total.
Memory in C++ is a leaky abstraction .

Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:05 am

Heater wrote:
Wed May 30, 2018 12:01 am
Use the serial port (UART) on the Pi GPIO header.
The rpi detects the arduino through ttl but it makes 9 attempts I think and fails to sync. I can get the exact error code when I get home

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:10 am

Don't miss my post above.
Memory in C++ is a leaky abstraction .

Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:37 am

Heater wrote:
Wed May 30, 2018 12:10 am
Don't miss my post above.
Don't be rude your original comment just read to tell me something I had already reported doing. I'll look at your updated post

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:46 am

I was not being rude there. I was trying to be helpful.
Memory in C++ is a leaky abstraction .

Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 12:59 am

Heater wrote:
Wed May 30, 2018 12:46 am
I was not being rude there. I was trying to be helpful.
I am a noob to the software side I just know the hardware. And I know nothing about any other data pins besides tx and rx. The link you sent me is a foreign language to me

Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 2:32 am

arduino... on /dev/ttys0
here is the error code

Binary sketch size: 3,614 bytes (of a 14,336 byte maximum)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Wed May 30, 2018 4:50 am

Have you set the right board model in the IDE?

Have you tried ISCP/ISP
https://learn.adafruit.com/program-an-a ... figuration
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Concealedfox70
Posts: 16
Joined: Fri May 04, 2018 11:55 am

Re: How do i upload sketch arduino pro mini 3.3v without adapter

Sun Jun 03, 2018 8:28 pm

DougieLawson wrote:
Wed May 30, 2018 4:50 am
Have you set the right board model in the IDE?

Have you tried ISCP/ISP
https://learn.adafruit.com/program-an-a ... figuration
Yes that was the first thing I tried, it should work if only it was though usb, but it is not. that is the difference

Return to “General discussion”