Offline
Newbie
Karma: 0
Posts: 44
|
 |
« on: March 15, 2013, 09:55:42 am » |
Hi all, I'm working on a ROV project and am wondering if there is anyway I could tweak the ROV program without plugging into the USB header. The project requires a twisted pair to be connected to serial pins 0 and 1. Any way to program using just these pins?
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 28
Posts: 1559
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #1 on: March 15, 2013, 09:59:55 am » |
I dont think so. If you were using a UNO, I would have suggested removing the Atmega chip and use another board to reprogram it.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #2 on: March 15, 2013, 10:03:26 am » |
The electronics housing onboard the ROV will be filled with tech grade mineral oil so access of the Arduino will difficult if any tweaks need to made.
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 28
Posts: 1559
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #3 on: March 15, 2013, 10:07:56 am » |
Why not make your own USB extention cable and solder one end directly to the Mega, and the other be feed through a liquid tight rubber plug. This way you can still use the USB port without needing to remove the Mega from the ROV.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 242
Posts: 16496
Available for Design & Build services
|
 |
« Reply #4 on: March 15, 2013, 10:09:40 am » |
Can you do the twisted pair serial over a different mega serial port instead?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #5 on: March 15, 2013, 10:20:14 am » |
Yea I can do the twisted pair over any of the serial ports, putting a usb header on the box would work but the housing is tight on space and since I'm using industry grade connectors it would require more time/cost
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 28
Posts: 1559
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #6 on: March 15, 2013, 10:36:05 am » |
The housing is metal right? This might not work but, you could maybe look into is using an jail broken Android phone or tablet. What you would do is, set it up inside the ROV and control it with another Android. Essentially you would be slaving the ROV Android and have it communitcate via Bluetooth. What you do on the master, will transfer over to the slave.
Similar to what computer technicians do to get control of your computer and trouble shoot it over the internet.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
UK
Offline
Tesla Member
Karma: 89
Posts: 6344
-
|
 |
« Reply #7 on: March 15, 2013, 02:45:53 pm » |
Hi all, I'm working on a ROV project and am wondering if there is anyway I could tweak the ROV program without plugging into the USB header. The project requires a twisted pair to be connected to serial pins 0 and 1. Any way to program using just these pins?
I don't see why not, if you can arrange for those pins to be connected somehow to a serial port on your PC. Could you use an external FTDI board for that? You'd need to have some way to reset the Arduino to get the bootloader to run, though. It would be possible for your currently-running sketch to do that (with the help of some additional hardware) but then you run the risk of sawing off the branch you're sitting on if anything goes wrong. If you can bring the reset line out too, I think a more reliable solution might be possible.
|
|
|
|
|
Logged
|
|
|
|
|
|