Upgraded lamp zapper Build log

Want to show off your own project? Want to keep a build log of it? Post it here!
Post Reply
ToxyRocker
Posts: 3
Joined: Tue May 07, 2019 5:36 pm
Been thanked: 1 time

Upgraded lamp zapper Build log

Post by ToxyRocker » Wed May 15, 2019 5:53 pm

So when i found the video of the Lamp Zapper i wanted one. And only way to get it was to build one myself.

I have zero experience with arduino. So i spent an evening researching what i would need to build a better Lamp Zapper.
I looked for parts. And i found parts. Lots of cool stuff.

First i wanted the on/off switch to be triggered as you pulled the trigger and then turn off again to save battery as much as possible.
I also wanted the gun sound from shooting the ducks in Duck Hunt. So i had to look up how to fit that inside the zapper.
While searching i also found a haptic motor and controller witch would be nice to have.
Well, i ordered it all. I'm just waiting on the Adafruit Audio FX Mini Sound Board. After that i have all i need.
Image

Tonight i've been wiring everything up to be ready to be programed.
Image

The problem is that i have almost zero knowledge on how to program this.
When writing this i have manage to install everything and made the led on the board to blink.

So if anyone know any good beginners guide on how to program the arduino it would be appreciated.

User avatar
wermy
Site Admin
Posts: 1342
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 617 times
Been thanked: 1318 times
Contact:

Re: Upgraded lamp zapper Build log

Post by wermy » Wed May 22, 2019 8:17 pm

ToxyRocker wrote:
Wed May 15, 2019 5:53 pm
So when i found the video of the Lamp Zapper i wanted one. And only way to get it was to build one myself.

I have zero experience with arduino. So i spent an evening researching what i would need to build a better Lamp Zapper.
I looked for parts. And i found parts. Lots of cool stuff.

First i wanted the on/off switch to be triggered as you pulled the trigger and then turn off again to save battery as much as possible.
I also wanted the gun sound from shooting the ducks in Duck Hunt. So i had to look up how to fit that inside the zapper.
While searching i also found a haptic motor and controller witch would be nice to have.
Well, i ordered it all. I'm just waiting on the Adafruit Audio FX Mini Sound Board. After that i have all i need.
Image

Tonight i've been wiring everything up to be ready to be programed.
Image

The problem is that i have almost zero knowledge on how to program this.
When writing this i have manage to install everything and made the led on the board to blink.

So if anyone know any good beginners guide on how to program the arduino it would be appreciated.
Awesome! Looking forward to seeing how it turns out; I've been meaning to upgrade mine with auto on/off functionality ever since I used that technique in another project like a year and a half ago. 😁
ImageImageImageImage

ToxyRocker
Posts: 3
Joined: Tue May 07, 2019 5:36 pm
Been thanked: 1 time

Re: Upgraded lamp zapper Build log

Post by ToxyRocker » Sat May 25, 2019 1:21 pm

Been sitting here for a few hours trying to understand how i2c works and how to write it in the code. No luck.
I keep getting these errors:
error: 'TwoWire' has not been declared
error: 'Serial' was not declared in this scope

I have no clue what they mean and why i get them. So i need to google around some more.

But there is some good news. I got the sound to work at least.

I'm gonna continue another day.

Post Reply

Who is online

Users browsing this forum: xaphor and 1 guest