avatar

bboyho

Member Since: August 22, 2011

Country: United States

Profile

Bio

Engineer by day, bboy by night.

Organizations

Delta Chi Fraternity Inc. Worm Tank Crew

Universities

Electrical & Computer Engineering, Dec. 2011 College of Engineering and Applied Science University of Colorado at Boulder

Websites

https://sites.google.com/site/bcelement/home https://www.facebook.com/bboyho

  • The diameter for each of the pins is 0.50mm.

  • Make sure that the SHDN pin is pulled HIGH in order to get the XTend XBee to work. (i.e. connect it to your Vcc pin if you are using an FTDI). Otherwise, the transceiver’s shutdown mode is enabled.

  • A customer’s demo project: LED strip control with EasyVR => https://www.youtube.com/watch?v=IZy8lkHwPw0

  • Check out some of our resources with the Picoboard and Scratch from our Educator Resources => https://learn.sparkfun.com/resources/tags/scratch.

  • I remember there were issues using the PicoBoard with Scratch v2.0+ because there wasn’t a way to connect to the FTDI COM port through the cloud in the new software.The easiest is to have them use the older version. To use Scratch 1.4 with the picoboard, just go here => https://scratch.mit.edu/scratch_1.4/. However, with a new plug-in that was released, you can now use the PicoBoards with the new version of Scratch. To answer your question; yes, the PicoBoard works with Scratch both v1.4 and v2.0+. I just did a small test and was able to get it working with the newest version of Scratch.

    Check out my comment => https://www.sparkfun.com/products/11888#comment-550b0456757b7f67018b4567.

  • Scratch v2.0+ Online Plug-In for PicoBoards

    There was an update with Scratch v2.0+ online using browser plug in. They talked about it in the forums http://scratch.mit.edu/discuss/m/topic/4488/?page=2. They can download it from the extensions link in Scratch 2.0+ => http://cdn.scratch.mit.edu/scratchr2/static/34f16bc63e8ada7dfd7ec12c715d0c94/help/en/ui/extensions.html.

    Testing the PicoBoard with Scratch v2.0+, I was able to get it working. After installing the plug-in, you must enable the plug-in on your browser, There should be a pop up window in your browser asking if you want to allow the plug-in. If you click on the puzzle block that is around the address bar, you can enable the plug-in labeled “Scratch Device” from scratch.mit.edu by selecting “Allow and Remember” from the drop down menu. Then select “OK” to save the settings. Refresh the webpage after enabling this plug in. Last resort is to restart the browser.

    With your PicoBoard plugged into your computer and the driver installed, you can access the device in the new Scratch v2.0+. To test, you can select “More Blocks.” Click on the “Add an Extension” and select the PicoBoard. The PicoBoard will have a circle that is to the right of the device. It will appear green when the device is connected.

    Testing the PicoBoard in Scratch v2.0+ Online

    Try to test one of the sensors on the PicoBoard by dragging and dropping the last block labeled “slider sensor value.” From here you can view the slider’s sensor value. Using the slider, I was able to see the the value of the slider when left clicking the sensor value block. A comment bubble popped up showing the sensor value. I then moved the slider to a different position and left clicked the sensor value block to see a different value for the slider.

  • DI is Data In. Connect this to the Tx pin of the other UART device (like your FTDI, Arduino, etc) to receive data with the XTend.

    DO is “Data Out*. Connect this to the Rx pin to output data from the XTend to the other UART device. Check the manual on page 6 for more information.

  • Charge Rate The default charge rate for the LiPo Charger Basic is set to 500mA. The default output from a standard USB port is 500mA. In general, if you are charging your LiPo at a fast rate past the charge current specs of the battery, the life of the battery will go down. Looking at the charge rate for the battery, it looks like the recommended charge rate is 1C (or 400mA). I recommend changing the resistor that is on board to reduce charge rate. You can add some resistors in series between the PROG pin and resistor labeled 202 (this would require cutting a trace) or replacing the surface mount resistor with a higher resistance value. You can calculate the resistor value with the equation that is presented in section 5.1.2 Current Regulation Set (PROG) of the datasheet http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Components/General%20IC/33244_SPCN.pdf.

    MCP73831T STAT Pin and STAT LED If you look at the datasheet for the LiPoly USB Charger’s IC controller, the LED is connected to the charge status output (STAT). This is an output to indicate the charge status which is explained in section 5.2.1 in table 5-1:

    Shutdown: Hi-Z (High-impdedence mode)
    No battery present: Hi-Z
    Preconditioning: L (Low)
    Constant-Current Fast Charge: L
    Constant Voltage: L
    Charge Complete – Standby: H (High)
    

    Since the cathode (-) of the LED is connected to the controller, setting the pin low turns the LED on; setting the pin high (or putting it in high-impedence mode) turns the LED off. From the datasheet, this unit features “AutomaticPower-Down.“ So when the battery is fully charged, the LED should turn off and the charge IC controller should turn off. This can fluctuate back and forth with charging depending on if there is some small discharge with the LiPo battery.

  • Charge Rate The default charge rate for the LiPo Charger Basic is set to 500mA. The default output from a standard USB port is 500mA. In general, if you are charging your LiPo at a fast rate past the charge current specs of the battery, the life of the battery will go down. Looking at the charge rate for the battery, it looks like the recommended charge rate is 1C (or 400mA). I recommend changing the resistor that is on board to reduce charge rate. You can add some resistors in series between the PROG pin and resistor labeled 202 (this would require cutting a trace) or replacing the surface mount resistor with a higher resistance value. You can calculate the resistor value with the equation that is presented in section 5.1.2 Current Regulation Set (PROG) of the datasheet http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Components/General%20IC/33244_SPCN.pdf.

    MCP73831T STAT Pin and STAT LED If you look at the datasheet for the LiPoly USB Charger’s IC controller, the LED is connected to the charge status output (STAT). This is an output to indicate the charge status which is explained in section 5.2.1 in table 5-1:

    Shutdown: Hi-Z (High-impdedence mode)
    No battery present: Hi-Z
    Preconditioning: L (Low)
    Constant-Current Fast Charge: L
    Constant Voltage: L
    Charge Complete – Standby: H (High)
    

    Since the cathode (-) of the LED is connected to the controller, setting the pin low turns the LED on; setting the pin high (or putting it in high-impedence mode) turns the LED off. From the datasheet, this unit features “AutomaticPower-Down.“ So when the battery is fully charged, the LED should turn off and the charge IC controller should turn off. This can fluctuate back and forth with charging depending on if there is some small discharge with the LiPo battery.

  • For an example of programming your EEPROM check this link => https://github.com/jbdatko/eeprom_tutorial/blob/master/eeprom.md