[solved] Controller Board 2.5

solved
sos

#1

Hi,

guess i found a mistake in the schematic 2.5B pdf on Github

On page 7 BB_P9_24 is connected to LED3 which is named as BB TX LED

But on the second (5V) side P9_24 is connected to D0/UART_RX

From my point of view RX must connect to RX and vice versa. If i do so my arduino uno gets a stable connection.

All the best

Stefan


#2

Hi Stefan:

This looks odd but it's not. Transmit for the BeagleBone is the same as receive for the Controller (Arduino).

If you go in the BeagleBone documentation, you will find that the default configuration for pin P9-24 is UART1-TXD.

But I'm glad that somebody is at least looking at the schematics!

By the way, I saw in your blog post that you are hooking up a BB White to a Arduino Uno. If you want to run the 2.5 software, have you thought about using an Arduino Mega instead? The microcontroller on the Controller 2.5 board is designed to be compatible with the Arduino Mega.

-W


#3

Hi Walt,

tanks for your reply. Ok Transmit to Receive..

:) my knowledge of programming is quite low but schematics i read like books. (usually 8,8kV Systems)

Using a Mega is the target. The Uno i receive for nothing so i use it for testing surpose. In fact i like to break down the electronics to neccesary minimum to keep the costs in range.

For example if i order ther controller board to germany the costs are following:

Board 120$

Freight 36$

German customs 27,93$

183$ for the controller board vs 49€ for the arduino..

stefan


#4

Facing avrdude error while uploading arduino firmware

developing using arduino mega 2560 and beaglebone.

Have printed an interfacing board(the bb interface ckt with same ic) using the same schematic as openrov control board 2.5b and have interfaced it between BBB and Arduino Mega 2560. (for logic shifting between 3.3v n 5v, have connected all the pins for uart n spi lines as used on the board have connected reset on pin p9_11 , BB side and reset pin on arduino)

following log while firmware uploading

undefinedstaging: build dir is /tmp/tmp.9qtaaGi3iU
staged src in to build folder
src/OpenROV.ino
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ... 1.0.5 (1.0.5)
Scanning dependencies of src
Scanning dependencies of arduino
Scanning dependencies of EEPROM
Scanning dependencies of SPI
Scanning dependencies of Wire
src/Pilot.cpp
src/MinIMU_matrix.cpp
src/MPU9150Lib.cpp
src/controllerboard25.cpp
src/MPU9150.cpp
src/Settings.cpp
src/Pin.cpp
src/MinIMU_Vector.cpp
src/MinIMU9AHRS.cpp
src/MS5803_14BA.cpp
src/Thrusters2X1.cpp
src/MinIMU_DCM.cpp
src/openrov_servo.cpp
src/MinIMU9.cpp
src/FreeMem.cpp
src/MinIMU_Output.cpp
src/Timer.cpp
src/CameraMount.cpp
src/CalibrationLaser.cpp
src/Command.cpp
src/Motors.cpp
src/Device.cpp
src/MinIMU_Compass.cpp
src/inv_mpu.cpp
src/CalLib.cpp
src/MinIMU_I2C.cpp
src/MPUQuaternion.cpp
src/I2Cdev.cpp
src/MinIMU_LSM303.cpp
src/MPUVector3.cpp
src/Lights.cpp
src/inv_mpu_dmp_motion_driver.cpp
src/Cape.cpp
src/MinIMU_L3G.cpp
src/OpenROV.cpp
EEPROM/EEPROM.cpp
Linking libEEPROM.a
SPI/SPI.cpp
Linking libSPI.a
Wire/utility/twi.c
Wire/Wire.cpp
Linking libWire.a
arduino/wiring_pulse.c
arduino/wiring.c
arduino/WInterrupts.c
arduino/wiring_digital.c
arduino/wiring_shift.c
arduino/avr-libc/realloc.c
arduino/avr-libc/malloc.c
arduino/wiring_analog.c
arduino/WMath.cpp
arduino/Tone.cpp
arduino/Print.cpp
arduino/main.cpp
arduino/CDC.cpp
arduino/USBCore.cpp
arduino/WString.cpp
arduino/IPAddress.cpp
arduino/HardwareSerial.cpp
arduino/Stream.cpp
arduino/HID.cpp
arduino/new.cpp
Linking libarduino.a
Linking firmware.elf
Converting to firmware.hex
Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ... 1.0.5 (1.0.5)
Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino standard libraries ... /usr/share/arduino/libraries
Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino/variants
Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objcopy
Setting up uploader
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Dec 6 2013 at 10:44:26
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/etc/avrdude.conf"
Arduino reset set high, Arduino enabled.
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyO1
Using Programmer : arduino
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Dec 6 2013 at 10:44:26
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch


#5

There is a software issue where on the first boot of the board, the auto detect fails to identify the SPI and tries to upload the arduino firmware via ttyO1 instead. If that happens, reboot and try again and it should work. If this is still an issue, I recommend opening a new issue since the original post topic was addressed.


#6