# Himax HMB010 camera with Artemis Dev Kit

**URL:** <https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922>\
**Category:** Artemis\
**Created:** [April 6, 2021, 8:08pm UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922 "2021-04-06T20:08:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin\_s](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kevin\_s](https://community.sparkfun.com/u/kevin_s)\
**Post date:** [April 6, 2021, 8:08pm UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/1 "2021-04-06T20:08:33Z")

</div>

Been trying to integrate the Himax HMB010 camera with the Artemis Dev Kit but not having any luck on the software side. Been playing with the Arduino IDE and driver for the Himax but as soon as the Artemis Dev Kit tries to start the camera it halts.

Has anyone tried this combination? I know the camera and board can be purchased as a kit so I assume it would work, but there is no code examples for them working together.

TIA,

Kevin

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [April 6, 2021, 10:36pm UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/2 "2021-04-06T22:36:51Z")

</div>

Thanks for reaching out to us on this.

Please ensure the correct processor is selected (Board → Apollo3 → Artemis MicroMod) and the correct COM port being used by your PC for it.

Then be sure to install the HM01B0 library [https://github.com/sparkfun/SparkFun\_HM … inoLibrary](https://github.com/sparkfun/SparkFun_HM01B0_Camera_ArduinoLibrary)

Finally, attempt again…and report back if you have more trouble.

Hope this helps, and happy sparking!

---

<div class="post-metadata">

**Author:** ![kevin\_s](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kevin\_s](https://community.sparkfun.com/u/kevin_s)\
**Post date:** [April 7, 2021, 2:22am UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/3 "2021-04-07T02:22:12Z")

</div>

Although I’m using the Artemis Dev Kit (DEV-16828), I took your advice and selected the Boards \> Sparkfun Apollo3 \> Sparkfun Artemis MicroMod and then tried to compile the Example1\_StopMotion example from the Himax library. I got a bunch of compile errors. I’ve attached the output.

I can compile and upload the same sketch when the Edge board is selected with no problems. I tried exporting the sketch binary and using it to flash the Dev Kit. It flashes with no errors, but the sketch halts after starting the camera when trying to calibrate it.

I’ve attached the sketch (renamed with txt extension) as well.

Thanks!

Kevin

[Example1\_StopMotion.txt](https://community.sparkfun.com/uploads/short-url/rRBuwjxD2DeEuW6VuzJ0foATUts.txt) (6.16 KB)

[error.log](https://community.sparkfun.com/uploads/short-url/ldHeu1AtmtZgK0jmXKmy2SFRpTu.log) (3.27 KB)

---

<div class="post-metadata">

**Author:** ![kevin\_s](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kevin\_s](https://community.sparkfun.com/u/kevin_s)\
**Post date:** [April 7, 2021, 2:25am UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/4 "2021-04-07T02:25:05Z")

</div>

If I comment out the auto-calibrate code and then just try to capture, it halts at that point instead. So basically it will load the camera but can’t use it.

---

<div class="post-metadata">

**Author:** ![kevin\_s](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kevin\_s](https://community.sparkfun.com/u/kevin_s)\
**Post date:** [April 7, 2021, 2:31am UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/5 "2021-04-07T02:31:36Z")

</div>

And if I use the Artemis Dev Kit board and compile, I get the following error:

c:/users/test/appdata/local/arduino15/packages/sparkfun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/…/lib/gcc/arm-none-eabi/8.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: sketch\Example1\_StopMotion.ino.cpp.o: in function `\_\_static\_initialization\_and\_destruction\_0’:

C:\Users\test\Documents\Arduino\artemis\Example1\_StopMotion/Example1\_StopMotion.ino:39: undefined reference to `hm01b0\_cfg’

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board SparkFun Artemis Dev Kit.

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [April 7, 2021, 7:39pm UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/6 "2021-04-07T19:39:32Z")

</div>

Thanks for reaching out to us on this.

This is something our team is working to correct for the library references.

The best suggestion we currently have for these issue(s) is to follow along with this specific version of the guide: [https://learn.sparkfun.com/tutorials/us … plications](https://learn.sparkfun.com/tutorials/using-sparkfun-edge-board-with-ambiq-apollo3-sdk/example-applications) , which we have recently verified as functional (it’s a different carrier board, but that part is modular)…perhaps this can get the ball rolling for your project.

Hope this helps, and happy sparking!

---

<div class="post-metadata">

**Author:** ![kevin\_s](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kevin\_s](https://community.sparkfun.com/u/kevin_s)\
**Post date:** [April 7, 2021, 8:12pm UTC](https://community.sparkfun.com/t/himax-hmb010-camera-with-artemis-dev-kit/41922/7 "2021-04-07T20:12:26Z")

</div>

I’m sorry but the Edge board is not sufficient for our needs. We need additional I2C and SPI connections for other sensors. We will have to find another solution.
