Am I Doing Something Wrong?

Well, I’m stuck in more than 1 place. Atom is still broken so I’ve given up on that. I’d have to say my biggest problem is not being able to control the DC motor thru the mobile app for my bubble tube project. I’m 99% sure the problem is in the code. I’d love to have someone look at it and say either “yes, that should work” or “Nope, far from it”. Maybe you can suggest which forum to post that in? Using the photon for motor control is half the reason I bought it. My only other option would be a potentiometer. Whoopie…

Hi,

You can post the code in this thread. read this post first Forum Tips and Tricks
so you can learn how to post code in the forum correctly.

I don’t want to complicate things but adding a new mobile app adds a level of complexity that doesn’t need to be there. You could use the tinker app, the ITTT red button or Blynk.

Have you seend this project? https://particle.hackster.io/adi1690/particle-photon-motor-control-c1fa6d
It deals with motor control maybe you could use part of this project to get you motor running? :slight_smile:

Hi @slarja :slightly_smiling_face: Particle Dev comes in two flavours:

  • Particle Dev App - a standalone app which contains all necessary packages. If the installer hasn’t worked, you could try the zip file which contains just the app: https://github.com/spark/particle-dev-app/releases/tag/v1.8.0

  • Particle Dev packages installed in Atom - this is the best way to test latest packages and make modifications to Dev. Being a more development approach it has some rough edges. The most common issue is being unable to compile native modules (that’s why we offer the standalone app). You can try installing the toolchain using: npm install --global --production windows-build-tools and then install the Particle Dev app again