author

joanywhere

Inbox View Profile
10Comments

Tell us about yourself!

  • DIY 3-Wheeled Electric Skateboard With a Hub-Motor

    Yep - Makes complete sense. It'd be interesting to run the motor the other way and see what happens :)

    This looks pretty awesome. Did you consider putting the big wheel at the front to help get over bumps and stuff?

    View Instructable »
  • The Different Useless Machine

    Peter, I've not built the machine either, nor have I programmed an arduino (not to say I've not done lots of programming over the years). Your approach is perfect. That being said (and this is a stylistic thing), I'd initialise whichWay to STEPS at the beginning of the setup code (i.e. once only), and where you have your if statement, remove it so you end up with simplified code with repeated execution of whichWay = -whichWay.Also, seeing the four digitalWrite statements in a row hurts my brain. I'd stick those in a for loop.so, something like this:---void setup(){ whichWay = STEPS; // plus all the other existing setup stuff.}void loop(){buttonAstatus = digitalRead(buttonApin);if (buttonAstatus != previous) // switch has changed{delay(1100);whichWay = -whichWay;myStepper.step(whichWa…

    see more »

    Peter, I've not built the machine either, nor have I programmed an arduino (not to say I've not done lots of programming over the years). Your approach is perfect. That being said (and this is a stylistic thing), I'd initialise whichWay to STEPS at the beginning of the setup code (i.e. once only), and where you have your if statement, remove it so you end up with simplified code with repeated execution of whichWay = -whichWay.Also, seeing the four digitalWrite statements in a row hurts my brain. I'd stick those in a for loop.so, something like this:---void setup(){ whichWay = STEPS; // plus all the other existing setup stuff.}void loop(){buttonAstatus = digitalRead(buttonApin);if (buttonAstatus != previous) // switch has changed{delay(1100);whichWay = -whichWay;myStepper.step(whichWay);previous = buttonAstatus; // reset statusfor (int pin = 8; pin < 11; pin++) { digitalWrite(pin, LOW); //for less power consumption}}}---Again, a lot of this is arguably style over substance :)

    View Instructable »
  • The Different Useless Machine

    Am I missing something? It looks like this only turns the stepper motor in one direction, which will twist the wires to destruction pretty quickly.

    View Instructable »
  • The Different Useless Machine

    Bart, the reason it spins 180 on start up is because your code sets int switchSideA = 0;int switchSideB = 0;In the setup proc, after you read the two statuses, set the switchSideA and B variables appropriately, so the system is in the correct state.BTW - I'd actually re-write the whole thing to use one Switch Status variable and one Side variable. See if you can work out how - you can do it with two variables and no else statement quite easily (and even retain the clockwise/counter clockwise turning of the switch)

    View Instructable »
  • Dementia Friendly Media Player

    Love the idea and really love the case you used. I think I might make something very similar but have the rotary encoder just flick through a list of pre-defined streaming radio stations on tunein.com or similar. An even more 'radio like' experience.

    View Instructable »
  • DIY Automotive Dashboard Gauge Pod

    From left to right (as best I can make out)1. Fuel Level2. High Pressure Oil Pump Pressure (guessing at pressure here)3. Oil Temperature (guessing at temperature here)4. Transmission Temperature (guessing at temperature here)5. Pyrometer (measuring something hot - maybe engine temp?)6. Boost - Presumably turbo boost.I could be a bit wrong on some, but that's pretty close I think.

    View Instructable »
  • This is beautifully done. Two quick questions:1. I can't quite tell from the various shots (and maybe I need to just pay more attention. Is the screen 4:3 or 16:9 aspect ratio?2. Does retropie know to swap the screen orientation for the second player (obviously pretty important in a cocktail arcade machine).Cheers

    View Instructable »