ShieldBuddy has been tested with the Linksprite Bluetooth shield. Unlike other Arduinos, the RxTx serial port (D0, D1) is used to communicate with the shield. This is the "Serial.begin()" port e.g. sketch_aug31c.ino (3.39 KB)
The Arduino has the Serial class for sending data to the UART which ultimately ends up as a COM port on the host PC. The ShieldBuddy has 4 potential hardware serial ports so there are now 4 Serial classes. The default Serial class that is directed to the Arduino IDE Serial Monitor tool becomes SerialASC on the ShieldBuddy. Thus Serial.begin(9600) becomes SerialASC.begin(9600) and Serial.print(“Hi”) becomes SerialASC.print(“Hi”) and so on.
I have tested the HC-06 Bluetooth and it works perfectly. Also the PWM performance is fantastic, my congratulations. Another question related to CAN controller. I have a Microchip CAN Analyzer and I tested with different shields over Arduino UNO, and its works, but with the ShieldBuddy I can't, I connect a CAN driver TJA1051 directly to CAN TX and CAN RX. Do you have an example of simple transmission/reception routine using only CAN1 at 500KBps?
Here is an example ShieldBuddy sketch that works with the MCP2512 CAN shield receive_check.ino and send.ino examples. Please note that the CAN ID used must be changed to 0x102 as the default 0x00 is not allowed with the ShieldBuddy e.g. CAN.sendMsgBuf(0x00, 0, 8, stmp); becomes CAN.sendMsgBuf(0x102, 0, 8, stmp);