Search found 653 matches

by OutoftheBOTS_
Wed Nov 29, 2017 8:57 pm
Forum: ESP8266 boards
Topic: over clocking
Replies: 7
Views: 1060

Re: over clocking

ok so next question how do I get my ESP8266 to run at the 160mhz with micropython??
by OutoftheBOTS_
Wed Nov 29, 2017 11:43 am
Forum: ESP8266 boards
Topic: over clocking
Replies: 7
Views: 1060

over clocking

From what I can understand it seems that the ESP boards have an over clocking feature. They can run at the standard 80mhz or with the change of 1 bit they can run at 160mhz. Id this feature possible to use in micropython and if so what is the down side to running the biard at 160mhz??
by OutoftheBOTS_
Wed Nov 29, 2017 7:45 am
Forum: ESP8266 boards
Topic: PWM on ESP8266
Replies: 10
Views: 2244

Re: PWM on ESP8266

I am currently using 40khz rate as this tends to be a fairly standard rate for PWM of motor control. The lower the rate the more efficient the H-bridge tends to be because of less switching delay in the transistors but if you go below 40khz then u get in the human hearing range and you will hear a h...
by OutoftheBOTS_
Wed Nov 29, 2017 6:26 am
Forum: ESP8266 boards
Topic: PWM on ESP8266
Replies: 10
Views: 2244

PWM on ESP8266

I am using PWM for speed control of my motors through a H-Bridge. The H-bridge uses PNP transistors so it is backwards in that when it is pulled to high the h-bridge is off and when pulled to low it is active. This is the issue that I am finding. Everyone once in a while my robot will suddenly accel...
by OutoftheBOTS_
Tue Nov 28, 2017 4:14 am
Forum: ESP8266 boards
Topic: strange start behavoiur on vertain pins
Replies: 3
Views: 573

Re: strange start behavoiur on certain pins

Thanks you very much this explains why I was having the problems that I did. Yes I have a dev board with crazy pin numbering but have a cheat sheet of what the correct names for pins are :) Ok my H-bridge doesn't pull anything up or down but my encoders do depending upon the exact position they r in...
by OutoftheBOTS_
Mon Nov 27, 2017 8:31 pm
Forum: ESP8266 boards
Topic: strange start behavoiur on vertain pins
Replies: 3
Views: 573

strange start behavoiur on vertain pins

Ok I have my robot working now but it was a battle with what I connected to what pin before it would work on startup or reset. Some background. It is a basic 2 wheel drive robot with drag caster wheel. The motors have quadrature encoders and the H-Bridge(L9110S) that I am using uses PNP so the H-bri...
by OutoftheBOTS_
Mon Nov 27, 2017 8:21 pm
Forum: Drivers for External Components
Topic: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)
Replies: 22
Views: 11667

Re: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)

This leads to other questions about the RTOS and WiFi. Obviously I have chosen the ESP chipsets family because of its WiFi ability. Is there a way to adjust priority level of the wifi and how much resources it consumes. Does running its own access point consume more resources than being connected to...
by OutoftheBOTS_
Mon Nov 27, 2017 8:13 pm
Forum: ESP8266 boards
Topic: pin.irq priority
Replies: 3
Views: 786

Re: pin.irq priority

Thanks for both of your response. At least now I understand the priority feature and this will be handy. I have ordered a ESP32 but am still waiting for it to arrive. I am hoping that it is not only faster but dual coare so this might fix the problem. I am hoping to be able to put my interrupts on 1...
by OutoftheBOTS_
Sun Nov 26, 2017 5:03 am
Forum: ESP8266 boards
Topic: pin.irq priority
Replies: 3
Views: 786

pin.irq priority

I am currently playing with high resolution motor encoders which means I need fast high priority reading of the encoders pins. I am currently just using a pin.irq(trigger=(Pin.IRQ_FALLING | Pin.IRQ_RISING),) and this works fine while the ticks are below about 900hz but once they get above that then ...
by OutoftheBOTS_
Fri Nov 24, 2017 8:50 pm
Forum: Drivers for External Components
Topic: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)
Replies: 22
Views: 11667

Re: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)

I am using a quadrature motor encoder, it is a magnetic encoder with 11 pairs of poles poles attached to a motor and the motor has a 31:1 gear box so I get a very resolution per rotation. I have tried both writing my own routines and using the great 1 written by spotlightkid. I have found them to wo...