# Need help with Arduino for Hagiwo VCO

**URL:** <https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900>\
**Category:** DIY STUFF\
**Created:** [January 13, 2024, 2:12pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900 "2024-01-13T14:12:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 2:12pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/1 "2024-01-13T14:12:18Z")

</div>

Hello,  
This is my first time using an Arduino nano board (Atmega284p), I need it for the Hagiwo VCO build.  
When I try to upload I get an error saying that the board is not responding.  
Heres what I did so far:

1. Connected board to computer via USB.
2. Installed Arduino software.
3. Selected port and board type.(shown as connected, LEDs on board turn on).
4. Added VCO code to sketch, added mozzi library.
5. Successfuly compiled the code.
6. Tried to upload multiple times but failed.
7. Tried to reinstall bootloader but failed for the same reason. (device not responding).  
I’m lost… Any ideas?

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [January 13, 2024, 2:21pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/2 "2024-01-13T14:21:20Z")

</div>

Is there really such a thing as an Atmega284p? There’s a Atmega1284p but I don’t know of any Nanos that use it. AFAIK they’re all 328p or 168.

Some Nano clones use a different bootloader than the official ones, there’s a menu item to select “old bootloader” in that case. Try both.

---

<div class="post-metadata">

**Author:** ![Willi359](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willi359/32/19681_2.png) [@Willi359](https://lookmumnocomputer.discourse.group/u/Willi359)\
**Post date:** [January 13, 2024, 2:27pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/3 "2024-01-13T14:27:10Z")

</div>

are you sure where the problem is located?  
I recently had a wild ride with win11 and arduino drivers. i had to use older drivers and tried several itterations till i found a working one.

TL;DR: try a different pc preferably with a different OS

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 2:27pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/4 "2024-01-13T14:27:53Z")

</div>

You are correct, It’s 328p, my bad.

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 2:29pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/5 "2024-01-13T14:29:19Z")

</div>

I see. Will try that.  
starting to think that digital modules are too much of a hassle for me.

---

<div class="post-metadata">

**Author:** ![craigyb](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/craigyb/32/21602_2.png) [@craigyb](https://lookmumnocomputer.discourse.group/u/craigyb)\
**Post date:** [January 13, 2024, 6:14pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/6 "2024-01-13T18:14:00Z")

</div>

Is it a genuine Nano or a Chinese clone? Have you installed the 340 chip driver if it’s a Chinese clone and set to old bootloader?

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 7:07pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/7 "2024-01-13T19:07:20Z")

</div>

I’m pretty sure that It’s a Chinese clone. It’s my first attempt with Arduino (or clone), so I was not aware that it needs a special driver, since the Arduino software did recognize a connected device. I’ll give it a go.

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 7:38pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/8 "2024-01-13T19:38:38Z")

</div>

Switching to the old bootloader seems to do the trick. Thanks!  
I’m attempting to build an adaptation of Hagiwo’s design (actually It’s a mixture of his 3 Arduino VCOs) made by someone on Github named Test Bild.  
Unfortunately there seems to be a discrepancy between the schematics and the board design, as the scematics mentions 5 100nf caps while the board only has 3 such footprints. And since It’s a Github, I can’t contact the author directly.  
Did anyone try this specific build or can advise?

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [January 13, 2024, 7:46pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/9 "2024-01-13T19:46:05Z")

</div>

> [@aspertime](#):
>
> And since It’s a Github, I can’t contact the author directly.

![path1](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/4/3/43d3c83da43264c6c2b2b034bcf7c12c9cdf5dba.png)

> [@aspertime](#):
>
> as the scematics mentions 5 100nf caps while the board only has 3 such footprints.

On the schematic I see:

C1, C10, C11, C12 4.7nF  
C2 10 nF  
C3 4.7 µF  
C4, C6 10 µF  
C5, C7, C8 100 nF  
C9 220 nF

---

<div class="post-metadata">

**Author:** ![craigyb](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/craigyb/32/21602_2.png) [@craigyb](https://lookmumnocomputer.discourse.group/u/craigyb)\
**Post date:** [January 13, 2024, 7:54pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/10 "2024-01-13T19:54:52Z")

</div>

I would imagine they are just decoupling caps being but I just checked the schematics before I read another reply properly and there are only 3 x 100nf caps

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 8:29pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/11 "2024-01-13T20:29:48Z")

</div>

Thanks for taking a look. Note that you can scroll down in the schematic and see two additional 100n caps. (13,14)

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [January 13, 2024, 8:54pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/12 "2024-01-13T20:54:52Z")

</div>

Sorry, missed that.

In the KiCad files I see 5 100 nF caps on the PCBs (including one labeled 0.1 uF)

 ![image1](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/0/6/06c216b85572f29e13c6bd685e46a4f84e6cfa8f.png)

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 9:10pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/13 "2024-01-13T21:10:10Z")

</div>

Indeed. But the main board Gerber was also updated (per Github) so It’s really confusing. I posted an issue on Github (thanks for clarifying that)

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [January 13, 2024, 9:14pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/14 "2024-01-13T21:14:46Z")

</div>

I don’t see the problem. The schematic says there’s five, the PCBs have five footprints. (Two on the main board are silkscreened on the other side for some reason.)

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 13, 2024, 9:19pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/15 "2024-01-13T21:19:41Z")

</div>

The schematic and BOM are older than the Gerber, so perhaps the 2 caps were omitted on purpose but the BOM and schematic were not updated.

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [January 13, 2024, 9:26pm UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/16 "2024-01-13T21:26:45Z")

</div>

Ah, I finally see what you’re talking about — there are five in the schematic and in the KiCad design file but two are missing from the Gerbers. There are other discrepancies as well.

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 14, 2024, 6:57am UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/17 "2024-01-14T06:57:31Z")

</div>

Exactly. I’ll wait a bit to see if Test Bild replies to my submitted issue, and if that doesn’t happen, I’ll finish the build as-is and see what happens. Thanks for helping out!

---

<div class="post-metadata">

**Author:** ![AriaSalvatrice](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ariasalvatrice/32/28804_2.png) [@AriaSalvatrice](https://lookmumnocomputer.discourse.group/u/AriaSalvatrice)\
**Post date:** [January 14, 2024, 7:02am UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/18 "2024-01-14T07:02:23Z")

</div>

I have a fair amount of experience with Nano+Mozzi & HAGIWO builds, they tend to work pretty well. Very forgiving circuit. Even designed my [prototype board for Mozzi](https://lookmumnocomputer.discourse.group/t/emozzi-an-experimentation-platform-for-arduino-nano-mozzi/6475) a while ago (i will do a v2 with fewer issues eventually)

In addition to Testbild’s schematic, you should consider cross-referencing Pansapiens’, which does things a bit differently, and is easier to read:

> **[GitHub - pansapiens/HAGIWO-Arduino-VDCO: Voltage Controlled Digital Core...](https://github.com/pansapiens/HAGIWO-Arduino-VDCO/)**
>
> Voltage Controlled Digital Core Multimode Oscillator using Mozzi library on Arduino - GitHub - pansapiens/HAGIWO-Arduino-VDCO: Voltage Controlled Digital Core Multimode Oscillator using Mozzi libra...

Don’t sweat the capacitors, except for the one in the output path, none of them make or break the circuit.

One gotcha you might run into that nobody seems to bother to document: Mozzi has to run in HIFI mode. You have to edit a C++ header to make that happen.

---

<div class="post-metadata">

**Author:** ![aspertime](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aspertime](https://lookmumnocomputer.discourse.group/u/aspertime)\
**Post date:** [January 14, 2024, 7:09am UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/19 "2024-01-14T07:09:16Z")

</div>

Thanks!  
A bit of a shame I know about this after fabricating the boards and being halfway through the build, but there’s always next time, I guess.  
About the importance of parts, the Testbild version specifies a %0.5 tolerance for two of the resistors.  
I only have %1 tolerance resistors, how bad is that?

Regarding the HIFI mode, I assume that Testbild’s code already has it, but just in case, what should I look for? (assuming I’m not a code person)

---

<div class="post-metadata">

**Author:** ![AriaSalvatrice](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ariasalvatrice/32/28804_2.png) [@AriaSalvatrice](https://lookmumnocomputer.discourse.group/u/AriaSalvatrice)\
**Post date:** [January 14, 2024, 7:24am UTC](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900/20 "2024-01-14T07:24:52Z")

</div>

The precision of the output resistors is crucial to the [Dual PWM output](https://sensorium.github.io/Mozzi/learn/output/) that Mozzi uses.

If you have a bunch of resistors, just measure them to get as close as possible. Don’t forget that you can produce 499K by using two 1M in parallel, and 3.9K with a 4.7K and 22K in parallel.

Personally I bought a bag of 499K and test them before use (those that don’t make the cut end up in circuits that require a pulldown resistors where the value doesn’t matter.)

The other resistor values shouldn’t be too sensitive, except for the voltage divider on the gain input

[Next page](https://lookmumnocomputer.discourse.group/t/need-help-with-arduino-for-hagiwo-vco/6900.md?page=2)
