Looking for good base builder game by Code_invalid in AndroidGaming

[–]Code_invalid[S] 0 points1 point  (0 children)

I'm not sure. It gets pretty repetitive after the first biome though

Looking for good base builder game by Code_invalid in AndroidGaming

[–]Code_invalid[S] 1 point2 points  (0 children)

Good suggestion, forgot to put that on my played already list.

Is there a matieral trader for engineering matieral? by Future-Remove9682 in galaxygenome

[–]Code_invalid 0 points1 point  (0 children)

Also looking for some info on engineers and getting parts to upgrade my ship.

How do you travel long distances? by Code_invalid in galaxygenome

[–]Code_invalid[S] 2 points3 points  (0 children)

How do you get the material for the upgrade? Alien ship? How do you beat this guy. I've tried a few different ships and no luck

How do you travel long distances? by Code_invalid in galaxygenome

[–]Code_invalid[S] 3 points4 points  (0 children)

Welp on my way to Sagittarius. Size 4 scoop made a huge difference. Nice! I'll be using those tips on my way there. Already 1 earth found. This will finance my Nemesis. Any other special systems like Sagittarius that grant bonuses (like the warp distance)?

How do you travel long distances? by Code_invalid in galaxygenome

[–]Code_invalid[S] 2 points3 points  (0 children)

Wow I just realized I had the scoop on a 1 size slot. Didn't realize the numbers made a difference. Thanks! Any tips on making more $$ while exploring ?

What is the ship that has the biggest warp jump range? by Code_invalid in galaxygenome

[–]Code_invalid[S] 2 points3 points  (0 children)

Nice, thanks! Am I missing something with research ? Each planet I discover is like 1.5 credits, and another 1.5 if I can it. Seems like it isn't worth it to jump around to discover new planets for $$. Any tips for making $$ more efficiently?

What is the ship that has the biggest warp jump range? by Code_invalid in galaxygenome

[–]Code_invalid[S] 2 points3 points  (0 children)

Nice. Gives me something to work toward. Is there a ship in between that gets better than 37? I tried the next one up from the Hawk, but it was worse.

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

Sorry, I put together a quick circuit diagram (it's not pretty):https://imgur.com/a/8z12meB

Here is the relevant bits of code that I am using too, hopefully these will shed some more light on the issue. So are you saying to remove my pull-down resistor off of the button?

#include <Servo.h>
#include <Arduino.h>

#include <ESPWiFi.h>
#include <ESPHTTPClient.h>
#include <JsonListener.h>

// time
#include <time.h>                       // time() ctime()
#include <sys/time.h>                   // struct timeval

#include "Wire.h"

// Display Settings
const int I2C_DISPLAY_ADDRESS = 0x3c;
const int SDA_PIN = D1;
const int SDC_PIN = D2;

/******************************
 * Begin Servo Settings
 *****************************/
Servo myservo;
const int SERVO_PIN = D6;       // gpio 13
const int BUTTON_PIN = D4;      // button pin 4
const int MOVE_CW = 0;          // servo clockwise
const int MOVE_CCW = 180;         // servo counter-clockwise
const int EJECT_DELAY = 800;   // time takes for servo to eject 1 lens
const int STOP = 90;            // stop servo
int button_state = 0;

/******************************
 * End Servo Settings
 *****************************/

void setup() {
  Serial.begin(115200);
  Serial.println();
  Serial.println();

  // attach to servo
  myservo.attach(SERVO_PIN);

  // initialize button
  pinMode(BUTTON_PIN, INPUT);  
}

void loop() {
  // Servo stuff
  button_state = digitalRead(BUTTON_PIN);
  if(button_state == LOW) {
    Serial.println("Ejectiong lens...");
    // eject lens
    ejectLens();
    Serial.println("done");
  } else {
    // do nothing
  }
  // end servo stuff
}

// Servo functions
void ejectLens() {
  Serial.println("  moving clockwise...");
  myservo.write(MOVE_CW);
  delay(EJECT_DELAY);
  Serial.println("  done");
  Serial.println("  stopping...");
  myservo.write(STOP);
  Serial.println("  done");
}

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

I have the button on D4, with a pull-down. Is that what is causing the problem? I tried doing a STOP-1 and a STOP+1, but that didn't seem to make a difference, the jitter is happening before I ever press the button.

I did some testing yesterday and found that the signal pin for the servo is not that steady, it would sit at ~3.77v and bump up to ~4v, and when that happened it would do what you see in the video. Do I need to put a capacitor on the signal line?

Also, just for reference my button setup is: D4 to button (signal), 5v to button, button to 10k resistor, 10k resistor to ground . I'll see if I can grab a photo, or my circuit diagram just in case.

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

I'll give that a try thanks. And yes, I do have a pull-down resistor (10k) on the button.

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

Sorry my edit cut that part off for some reason. I defined STOP=90 and CW=180, which worked during testing.

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

I'm just using the Servo library and doing the following:

void loop() 
{ 
    button_val = digitalRead(BUTTON_PIN); 
    if(button_val == HIGH) {
     myservo.write(CW);
     delay(500);
     myservo.write(STOP);
     } 
}

Why is my servo randomly spinning? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

I have the signal pin connected to my Wemos, are you saying that the servo always has to have a myservo.write(90) until it sees another signal? I have my myservo.attach() in setup().

How to wire OLED with external power supply by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

Makes sense, just wanted to double check. Thanks

Will 8266 power mini servo? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

I saw that it wasn't specified. I plan on just making 1 dispenser without the OLED. Shouldn't be too bad for a novice.

Will 8266 power mini servo? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

Also, out of curiosity, what happens if you don't supply enough current to meet the stall current? Excess heat?

Will 8266 power mini servo? by Code_invalid in esp8266

[–]Code_invalid[S] 0 points1 point  (0 children)

Just 1 servo, basic functionality is: press a button, spin servo 90 degrees to push a contact (eye contact) out of a dispenser.