Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Michael Miller
@Makuna
@geman220 Yours may already go to 200, try them with the writeMicroseconds() first.
geman220
@geman220
@Makuna so instead of myservo.write(180); do myservo.writeMicroseconds(200);
I just looked my servo up it moves 180
Stavros Korokithakis
@skorokithakis
so i want to make this boilerplate framework for the ESP and i need a place to put my settings
what's a good place for that? something like settings.h?
i'm afraid my C knowledge isn't great
Stavros Korokithakis
@skorokithakis
can i #ifdef an include?
Michael Miller
@Makuna

@geman220 Review the Arduino Servo Reference. you are setting the microseconds, not angle. These are the helpful values ...

#define MIN_PULSE_WIDTH       544     // the shortest pulse sent to a servo  
#define MAX_PULSE_WIDTH      2400     // the longest pulse sent to a servo 
#define DEFAULT_PULSE_WIDTH  1500     // default pulse width when servo is attached

When you "attach" the Servo, you can provide your own min and max like

Servo.attach(pin, 500, 2500); // use an extended range
Keith Andrew Hill
@vic10us
Anyone know a good place to get nema 17/23 steppers in or around Montreal?
Jeeth Suresh
@jeethsuresh
hey guys! quick question - in the ESP8266WiFi class the object WiFi is defined externally
where is that defined?
Martin Ayotte
@martinayotte
in 2.2.0/libraries/ESP8266WiFi/ ...
Jeeth Suresh
@jeethsuresh
right, but if I wanted to dynamically assign channels to the SoftAP when I'm generating it for my mesh network, where would I go to change the code to let me do that? Or am I thinking of this wrong?
Markus
@Links2004

there is a parameter for it.

bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0);

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFiAP.h#L39
note: the Parameter may by overriden when you use the STA mode too the ESP can only work on one channel and STA mode has priority.

Lars Englund
@larsenglund
@jeethsuresh is your mesh network code on github?
Does anyone else know of a mesh library for esp arduino?
Nagy Attila Gábor
@mrbig
Hello all, I've been trying to make the EventManager (https://github.com/igormiktor/arduino-EventManager ) run on esp8266 arduino core. Since I have to #ifdef some parts of the code, I wonder if there is any predefined macro I could use to detect the presence of the arduino-core. Currently I'm using ESP_H, but that just doesn't seem to be right.
Me No Dev
@me-no-dev

ifdef ESP8266

Nagy Attila Gábor
@mrbig
I've possibly overlooked this. Thanks!
fabiangl
@fabiangl
Take a look of this: https://github.com/Makuna/Task
Stavros Korokithakis
@skorokithakis
does anyone know how i can connect this to my ESP? i'm a bit lost :/ http://www.ebay.com/itm/281776665478?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Me No Dev
@me-no-dev
you use the serial port to connect to it
Stavros Korokithakis
@skorokithakis
just tx/rx?
Me No Dev
@me-no-dev
and GND yes
might need the reset to make sure the module is init at sketch boot
Stavros Korokithakis
@skorokithakis
hmm, the reset is solder-on, there's no pin
i might just solder one there
there's 5VT/5VR/3VT/3VR/VCC/GND and then something that says DB9-2/DB9-3/GND
the DB-stuff seems to be serial
but the 3VT/3VR also seems to be serial
so confusing
Me No Dev
@me-no-dev
the chip by spec does not tollerate 3.3V logic
though I have found it working fine
Stavros Korokithakis
@skorokithakis
this shield claims to have a 3V logic level pin
Me No Dev
@me-no-dev
so they have a convertor there to be able to work on 5V
Stavros Korokithakis
@skorokithakis
so that should work, at least
right
looks like an FTDI cable will work as well
Michael Miller
@Makuna
@mrbig @me-no-dev The official one I thought should be ARDUINO_ARCH_ESP8266 and not ESP8266.
Stavros Korokithakis
@skorokithakis
does anyone know of anything like a microusb to power cable?
tzapu
@tzapu
or a tiny usb power source? similar to the apple watch one for instance? :P just tagging along your question @skorokithakis
Stavros Korokithakis
@skorokithakis
@tzapu what does that one look like?
but EU i d preffer :P
$1? i'm sure these will just catch fire while sitting on a desk
tzapu
@tzapu
yeah, seen most of thise
those*, but wondered if anyone used any