Compilation steps

Hardware Requirements

Software Requirements:

(see instructions here: Updating Netduino firmware 4.2.2)

Visual Studio Steps

  • Once Visual studio is open click "Open Project" and browse to "OpenZapper.sln"
If you installed everything properly, it should open the solution properly with no warnings.
  • On the "Solution Explorer" on the right side of the window, right click on "OpenZapper" project (below "Solution 'OpenZapper'*).
    • click Properties
    • A new windows pops up. On Application" tab, make sure Target framework:" drop down list is set to ".Net Micro Framework 4.2"
    • Switch to ".Net Micro Framwork" tab. You should see 4 drop down lists:
  • Configuration
  • Plateform
  • Transport
  • Device
    • Connect your Netduino Plus 2 Board to your computer with your USB cable. The device should be recognised automatically.
    • On the "Transport" Drop down list select "USB"
    • On the "Device" drop down list you should see your netduino board detected.

Now you are ready to build your project.
  • Hit "F6" key to build the project (it will not deploy on the device yet)
  • Mare sure there are no build errors. => it should be explicit.
Note: on the bottom left corder of visual studio 2010 you will see the status of the build/deployment process. Wait until it says "Build succeeded".
  • If no error occurs you are ready to deploy the code into your netduino:
Either hit "F5" to deploy and start the debugger or in visula studio menu go to "Build->Deploy Solution"
A small animated logo should display on the bottom on the screen.
After a few seconds (10 to 30 seconds maybe) the deployment should be done and your netduino should be running.

Once done , please follow the next important steps before pluging the Netduino Plus 2 on your OpenZapper Board


Make sure your OpenZapper board provides proper voltage to the netduino board (max 9V to the vin input pin and 0V to max 5V to the other pins).
If not please perform a checkup of your zapper board before continuing.

Advices before the first power up:

When your OpenZapper Pcb is ready the first thing to do before soldering/instering any IC is to check for input voltages.
You board should have a Regulator soldered.
  1. First remove the Fuse and check that no short circuit happens. You can use a multimeter for that and check that the input is not in short circuit. If you have a proper short circuit protected power supply it's better. (A small/low cost lab power supply is enough:
  2. Then plug your fuse (500 mA should be good) and switch on the power supply.
If the fuse doesn't die or your power supply is not in short circuit protection, you can continue.
  1. Take your multimeter and check each DIP support pins and Netduino connection pins for Voltage.
=> the voltage should not exceed 9V for pin "vin" of the Netduino.
=> the voltage on other pins of the netduino should not exceed 5V. (should be close to 0V)
=> plug the jumper on JP1 (for 9V input)
=> checke the CI socket power supply pin and pin 5 (should be close to 9V)
=> other pins should be close 0V
=> the voltage on the LCD display should not exceed 5V
  1. when everything is OK, switch of your power supply and plug your netduino.
  • Now power up your OpenZapper board, the LCD screen should display something.
If not please gently tune the variable resistor until something appears on the screen. ( you need to adjust LCD contrast once).
  • A menu should appear on the LCD screen asking for you to press any key.
  • Press any button on the board.
  • The list of Zapper Sequencies should appear on the LCD screen.
  • Select any one by pressing the "OK" button.
  • Take your multi meter and check the ouput of the board.
A voltage should appear. It should be lower than 9V.
Don't worry if you don't see 9V. It's normal. AS the signal is a square wave and your multimeter built so that is measure continuous voltage, the display value should be lower.
The best is to have an Oscilloscope Which can be costly for some of you.

If you don't have any, just make sure the voltage is below 9V.
Select a mode where the frequency is below 500 Hz, plug the Copper rods to the output.
Then Take the Rods, one on each hand. You should feel a small discharge.
Now press the "Cancel" button and select a mode with a frequency higher than 2Khz.
Take back the Rods in your hands. You should not feel any discharge anymore.

Last edited Jul 26, 2013 at 10:41 PM by Nutz95, version 3


No comments yet.