Public Lab Research note


How to bootload a Riffle #Arduino #water #science #tech

by Zengirl2 |

Read more: publiclab.org/n/15459


Zengirl2 was awarded the Basic Barnstar by warren for their work in this research note.


Goal

Perhaps you ordered a Riffle without Arduino installed, or maybe you uploaded some code that you thought was correct but ended up bricking your board. Either way you have the capability to load Arduino and get your Riffle ready for action.

What You'll Need

  • Riffle and its battery with JST connector
  • USB cable A/micro B (the one used to get your Riffle to the computer)
  • Computer with latest version of Arduino installed and open
  • USB Tiny ISP Programmer (like this one) with its USB cable. Note that this resembles the old ATMEL programmers, but they are not the same! If you are unsure take the plastic box apart and check the board as these directions are only for the generic USB Tiny ISP style.

Procedure

image description

1. Set switch on Riffle to USB/Lith (left position)

image description

2. Plug battery into JST port marked Lithium 3.7V. The board needs power to be programmed.

image description

3. Plug the USB cable from the computer (not shown) into the programmer. An LED inside will glow green.

image description

4. Now locate the six holes that the programmer's pins will need on your Riffle.

image description

5. Take the programmer's cable and hold the pins so the red wire pin is oriented to go into the top right hole on the Riffle marked MISO.

image description

6. Go ahead and plug the connector into the holes on the board.

image description

7. In the Arduino menu go to Tools -->Board and choose Arduino/Genuino. Then go to Tools --> Programmer: and choose USB Tiny ISP.

image description

8. Now go to Tools --> Burn Bootloader. The Riffle should blink and in a few seconds Arduino will be loaded. If you get any error reading, try holding the programmer's connector firmly into the board as it can be a bit unstable.

image description

9. Try taking the Riffle for a test drive by loading the classic Blink program. Make sure the code is set for Pin 9 to activate Riffle's built-in LED.

That's it!


I did this Help out by offering feedback! Browse other activities for "riffle"


People who did this (0)

None yet. Be the first to post one!


2 Comments

@warren awards a barnstar to Zengirl2 for their awesome contribution!


Whoah, my first! So exciting. :)


You must be logged in to comment.

Public Lab is open for anyone and will always be free. By signing up you'll joined a diverse group of community researchers and tapped into a lot of grassroots expertise.

Sign up