hydronics

Member Since: February 27, 2012

Country: United States

  • I struggle for way too long to change the pin on altSoftSerial to other than pin 9. I finally got it to work by using softwareSerial library as follows.

    #include <SoftwareSerial.h>
    #include <wavTrigger.h>
    
    SoftwareSerial wavSerial(6,5);  //pin 5 is used to TX to wave trigger pin 6 is not used
    
    void setup() {
      wavSerial.begin(57600);
    }
    
    void loop() {
      uint8_t txbuf[8];
      int trk = 1; //plays track 1
      int code = 1; //plays polyphonic (see wavTrigger.h library for codes)
    
      txbuf[0] = 0xf0;
      txbuf[1] = 0xaa;
      txbuf[2] = 0x08;
      txbuf[3] = CMD_TRACK_CONTROL;
      txbuf[4] = (uint8_t)code;
      txbuf[5] = (uint8_t)trk;
      txbuf[6] = (uint8_t)(trk >> 8);
      txbuf[7] = 0x55;
      wavSerial.write(txbuf, 8);
    
      delay(2000);
    
    }
    
  • I’m new to stepper motors.

    I changed the delay(stepValue) functions below to delayMicroseconds(stepValue); and it smoked the board. Any idea why?

    digitalWrite(stp,HIGH); //Trigger one step forward

    delay(stepValue);

    digitalWrite(stp,LOW); //Pull step pin low so it can be triggered again

    delay(stepValue);

  • where does the heat sink go? thank you, thomas

  • There’s a typo in the above advanced code… line 129 in the sketch.

    It should say tapType = 0; in lieu of intType = 0;

  • hey good luck wiring this if you don’t have EAGLE. The schematic makes some sense but it doesn’t have corresponding markings with the PCB so it doesn’t help you wire the mosfet.

    • Gate is the control pin marked C on the 3 pin connector.
    • Drain is the (-) pin on the 2 pin connector
    • Source is the (-) pin on the 3 pin connector
    • both (+) pins are connected.

    I shorted the (+) and (-) source pin to make more landing spots for Source as the board seems pretty useless for my projects without this.

  • the pictures next to the product show a model B+ and not the model 2. Just a bit confusing as I was looking for the 1 gig chip on the back of the board…. but the product details clearly describe the model 2.. phew…

  • Ok, thanks, I didn’t think to check the firmware directory.

  • I have the circuit connected as shown in the diagram…. but I found if you don’t connect the ground from the Arduino to the Easy Driver, the motion is really jerky.

    I guess I was kinda surprised at how few pins you have to connect. The guide starts out indicating you have to pull RST and SLP HIGH so I was just waiting to find something to go wrong, albeit ground and not the other two pins. Maybe indicate that those two pins are normally HIGH and add the GND connection in the circuit… or maybe I’m just reading too much into it ;/

  • the github link next to the code links to the design files and not the code as indicated.

  • Do you Need HELP!

    If you can run the Board Test and scan networks but have no connection with the WebClient, Smart Config or Connection Test. Also if your sketch locks up when initializing the CC3000 in the Adafruit library… you may try this……

    sorry as I’m not sure which one was the final fix

    • I used Arduino 1.0.5 or 1.0.6 per Adafruit’s suggestion

    • I used an external 12vdc power supply at the barrel jack

    • I used the Adafruit library sketch to upgrade the firmware

    https://learn.adafruit.com/adafruit-cc3000-wifi?view=all

    Also don’t forget to change the pins (from 3 to 2) and (from 7 to 5) in the adafruit sketch if you are using a sparkfun board. Good luck!

    Update 7/19/2015: I had to roll back the firmware to version 1.26 = CC3000 firmware v1.12 to work with the Sparkfun Webclient. This actually worked fine in Arduino 1.6… but if I tried to use Fastconnect, it would only connect once and then fail on a second try. Therefore I ended up going back to Arduino 1.05 and used Adafruit’s fastConnect (called SmartConfigReconnect) and it reconnects without issue. It reconnects and posts connection details and closes in ~110ms…. vs about 7 seconds using WebClient.

OMSI - DOW Shake Tables

hydronics 18 items

OMSI Shake tables, one for each table (4 tables...

OMSI - Transporatation Stories and Super Sorter

hydronics 6 items

Transportation Stories: arduino, shield, WAV player, barrel...