× This is the optional category header for the Suggestion Box.

M2 SuperB support

  • rambohenke
  • rambohenke's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 4 days ago #249 by rambohenke
M2 SuperB support was created by rambohenke
Saw


So i bought the SuperB to be able to go over wifi.
But since it arrived home, I've spent about 2-3 weeks trying to figure out what I have to flash the M2 and the SuperB with to get them going.

I've gone through all documentation I can find for SavvyCAN, all of Collins github with commits made near and after the videoupload.
Please tell me someone here knows more, since Collin has closed of all public ways of questioning him directly I get that he doesn't want pepole to contact him.
And the community feels really small so I don't know where to turn to.

Best Regards
//Henke

Please Log in or Create an account to join the conversation.

More
2 months 2 days ago #250 by collink
Replied by collink on topic M2 SuperB support
Did I close off public ways of questioning me directly? That isn't entirely my intent. Of course, I don't publicly publish my email address but there should be ways to get a hold of me.

Anyway, using the SuperB has always been a bit problematic. It was nearly a stage show when I took the video. Yes, it did work like that but only after I had fought with things for a while first.

What you need on the M2 is M2RET. It includes support for the SuperB. Then you need to put a passthrough sketch on the SuperB that presents itself as something you can externally connect to and just funnels info back and forth over a serial port to the M2. Is that sketch not publicly available? If not I'll have to fix that. But, it's always been a little tough to get things onto the SuperB for me. Have you had success in flashing test sketches to the SuperB?

Please Log in or Create an account to join the conversation.

  • rambohenke
  • rambohenke's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 1 day ago #251 by rambohenke
Replied by rambohenke on topic M2 SuperB support
Hi Collin!

Well, I found 2 ways, either to open a case on one of your projects on github, or comment the video above. But no open way to DM you on any platform.

The most reliable sollution for uploading sketches to the SuperB for me have been to upload the "M2 SuperB transport" demo sketch to the M2.
All other "original" sketches have been less statisfying for that purpose.

M2-SuperB-Transport.ino
int buttonState1 = 0;
int buttonState2 = 0;

 void setup() {
 pinMode(DS2, OUTPUT);
 pinMode(DS3, OUTPUT);
 pinMode(XBEE_RST, OUTPUT);
 pinMode(XBEE_MULT4, OUTPUT);
 pinMode(Button1, INPUT);
 pinMode(Button2, INPUT);
 SerialUSB.begin(115200);
 Serial.begin(115200);
 }

 char rx_byte = 0;

 void loop() {
 if (SerialUSB.available() > 0) {
     rx_byte = SerialUSB.read();
     Serial.write(rx_byte);
 }
 if (Serial.available() > 0) {
     rx_byte = Serial.read();
     SerialUSB.write(rx_byte);
 }

 buttonState1 = digitalRead(Button1);

 if (buttonState1 == LOW) {
     digitalWrite(DS2, LOW);
     digitalWrite(XBEE_RST, LOW);
 } else {
     digitalWrite(DS2, HIGH);
     digitalWrite(XBEE_RST, HIGH);
 }

 buttonState2 = digitalRead(Button2);

 if (buttonState2 == LOW) {
     digitalWrite(DS3, LOW);
     digitalWrite(XBEE_MULT4, LOW);
 } else {
     digitalWrite(DS3, HIGH);
     digitalWrite(XBEE_MULT4, HIGH);
 }
 }

I would try to duplicate the "core" function of the above mentioned transport sketch which sets the pins in the right mode and forces the SuperB into downloadmode.

//Henke

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum