I have been trying to load the Phoenix program onto the Botboarduino for the hexbot. I have an FTDI driver installed and was able to calibrate the servos using on the SSC-32. I have tried to adjust the reset hold time in the advanced setting in Basic Micro Studio. I have manually selected Basic ATOMPro and BAP 28. I have also tried to see if Arduino would recognize the board.I closed Basic Micro Studio and opened Arduino. In Arduino the port shows up and I have the board on Arduino Duemilinove with ATMega 328, but when I upload the blank sketch Arduino says "arvdude: usbdev_open(): did not find any USB device “usb”
Hi,
Lets make sure you are setup right for this to work, so please check the following:
]Please not that the BotBoarduino is an Arduino-compatible board and does not work with the Basic Micro Studio. It should be used with the Arduino IDE./:m]
]Concerning the Arduino IDE, please make sure you have the latest version installed. At the time of this post, it was 1.6.7. You can download it here./:m]
]You will need the PS2X library to compile the Phoenix code. Please obtain a copy here. You can download the ZIP version here. If you had a different version already installed, please remove it and use this one./:m]
]You can obtain the Phoenix code for 3DoF/4DoF for BotBoarduino here./:m]
]Concerning your Arduino, this error is a generic one that means a proper connection cannot be established. Make sure your hardware TX/RX (pins 0/1) have nothing connected to them./:m]
If you still experience issues after doing all these steps, please post here one or more pictures of your board showing clearly all components (the board(s), jumpers, wires, power cables, power sources, etc). Please add notes on the images if required for clarity. Provide any other details about your issue and what you have tried to resolve it.
Sincerely,
Thanks for the code. I was finally able to load the program and I connected the wireless receiver for the ps2 controller. I have power to the board and servos and the botboarduino PWR led is lit and the l led flashes, the receiver also flashes. When I turn the controller on the receiver led is solid, but when I push start nothing happens. I have gone through Bill Porters troubleshooting and have installed the 10 ohm resistor from dat to vcc and changed the ctrl_clk in the ps2x lib.h, but still nothing happens. Do you have any suggestions.
Please provide us with one or more pictures of your setup showing all components (board, jumpers, all wires, power, etc.).
I will take pictures and send them in about two weeks spring break it next week.
I swapped to the wired controller and it started to work, but then the next time the bot was turned on we found the the SSC-32 died. We changed out the card for the 32U, but now the PS2 controller is not working again. The controller is plugged in before power is on and I verified that it is receiving power. When power is applied the TX and RX lights are flashing and on the SSC-32U the green valid byte light is flash even when there is no command being sent. The light on the PS2 controller will illuminate if pressed, but pressing buttons on the controller does nothing. Here is the pin configuration for the botboard:
//[Botboarduino Pin Numbers]
#ifdef BOTBOARDUINO
#define SOUND_PIN 5 // Botboarduino JR pin number
#define PS2_DAT 12
#define PS2_CMD 11
#define PS2_SEL 10 // On the PS2 receiver this pin may be called ATT (attention)
#define PS2_CLK 9
// If we are using a SSC-32 then:
// If were are running on an Arduino Mega we will use one of the hardware serial port, default to Serial1 above.
// If on Non mega, if the IO pins are set to 0, we will overload the hardware Serial port
// Else we will user SoftwareSerial to talk to the SSC-32
#define cSSC_OUT 6 //Output pin for Botboard - Input of SSC32 (Yellow)
#define cSSC_IN 7 //Input pin for Botboard - Output of SSC32 (Blue)
#endif
and I have attached photos of the boards.
Your wiring seems mostly ok (some details should be changed), but we cannot see some details in the pictures. Please check the following things:
For the SSC-32U:
]Make sure the VL=VS jumper is not there. Also, a separate VL input with the SSC-32U is not required anymore (unlike with the older SSC-32)./:m]
]Check the baud rate and change it to 38400. By default, the SSC-32U is set to 9600 and this will not work for this project. Check the SSC-32U manual, page 34 (bottom half)./:m]
For the BotBoarduino:
]You can wire the power to either VS or VL and set the VS=VL jumper. Also, make sure the jumper is set to EXT (for external power source, not USB)./:m]
]Change your wiring of the PS2 controller and TX/RX line going to the SSC-32U to match the pinout in the default code./:m]
]Change your code to use the default one posted on our GitHub here. Make sure to also use the default PS2X library (no changes)./:m]
Sincerely,