Search found 847 matches

by OutoftheBOTS_
Mon May 07, 2018 10:52 am
Forum: ESP32 boards
Topic: Changing the CPU frequency on ESP32
Replies: 4
Views: 10303

Re: Changing the CPU frequency on ESP32

not sure but my understanding is that it has to be a divider of the full spped of the clock, 240MHz for ESP32 and a divider of 160MHz for the ESP8266.

Speeds used on ESP8266 is 80Mhz and 160Mhz
Speeds used on ESP32 is 120MHz and 240Mhz
by OutoftheBOTS_
Sun May 06, 2018 9:48 pm
Forum: General Discussion and Questions
Topic: return printable chars from byte array
Replies: 8
Views: 8605

Re: return printable chars from byte array

@pythoncoder I am wondering about your line of code bytes((x for x in a if x >= 0x20 and x < 127)) I understand what it does and have seen that sort of syntax before but don't understand why it works. I tried a couple of experiments to try to understand it and got some results that I don't understan...
by OutoftheBOTS_
Fri May 04, 2018 7:42 pm
Forum: Programs, Libraries and Tools
Topic: Interfacing Stepper Motor with STM32F407 Disc board
Replies: 2
Views: 3174

Re: Interfacing Stepper Motor with STM32F407 Disc board

The pins themselfves won't create enough current to drive thje stepper motor. You will have to have an external power source to all 4 inputs of the motor that is just switched by your pogrom. By far the easiest way to drive a stepper motor with a MCU is with a stepper motor driver. You connect the p...
by OutoftheBOTS_
Thu May 03, 2018 8:59 pm
Forum: ESP32 boards
Topic: Long range WiFi
Replies: 3
Views: 3248

Re: Long range WiFi

You might need to check the antenna of the ESP32.

Does it have a PCB antenna?? or does it have the connector for an external antenna??

My ESP32 with PCB antenna works well over much larger distances than you quote and I do believe people are using ESP32 at up to 1km
by OutoftheBOTS_
Thu May 03, 2018 8:55 pm
Forum: ESP32 boards
Topic: WEMOS LOLIN devices discontinued
Replies: 4
Views: 7571

Re: WEMOS LOLIN devices discontinued

Could you recomand a lowcost board with psram ? Recommend that's a hard one. There isn't a lot of boards with the psRAM but slowly more are popping up. They seem to want to charge more for these boards although the difference in price of the modules used to build the boards is nearly then same: Wro...
by OutoftheBOTS_
Wed May 02, 2018 11:07 am
Forum: ESP32 boards
Topic: WEMOS LOLIN devices discontinued
Replies: 4
Views: 7571

Re: WEMOS LOLIN devices discontinued

I had a Lolin32 pro but it didn't live very long before it stopped working and others found the same problem. They were only sold for a very short time before being pulled from production.

Choosing a ESP32 dev board with psRAM is an advantage when using MicroPython. The D23 doesn't have the psRAM
by OutoftheBOTS_
Sat Apr 28, 2018 7:36 pm
Forum: ESP8266 boards
Topic: ~ operator binary complement
Replies: 18
Views: 13413

Re: ~ operator binary complement

good day to all, OutoftheBOTS_ with the novelty that does not throw errors but only sends 00000000 zeros to the outport. @cyberlab I make small syntax error in the code and this is why it gets all zeros. I didn't put the [] around the data in the bytearray so it instead made an array the size of th...
by OutoftheBOTS_
Sat Apr 28, 2018 10:28 am
Forum: ESP8266 boards
Topic: ~ operator binary complement
Replies: 18
Views: 13413

Re: ~ operator binary complement

@pythoncoder

I hear what your saying but struggling on getting my head around it.

If a python integer is infinite then how is it stored in memory?

Also am I right in assuming that python doesn't have data type like unsigned short or char and stores all of these as an integer??
by OutoftheBOTS_
Sat Apr 28, 2018 1:49 am
Forum: ESP8266 boards
Topic: ~ operator binary complement
Replies: 18
Views: 13413

Re: ~ operator binary complement

Yes this might work better with open("Design.DST", "rb") as f: # open design file in binary. f.seek(511) # point to start of design data. lcd.move_to(0,1) lcd.putstr("Sending >") while True: if D_set.value()== False: #Request data from machine. time_out=0 byte = f.read(1)[0] #read the byte to proces...
by OutoftheBOTS_
Fri Apr 27, 2018 9:47 pm
Forum: ESP8266 boards
Topic: ~ operator binary complement
Replies: 18
Views: 13413

Re: ~ operator binary complement

maybe try something like this with open("Design.DST", "rb") as f: # open design file in binary. f.seek(511) # point to start of design data. byte = f.read(1) # buffer one byte only. lcd.move_to(0,1) lcd.putstr("Sending >") while byte != b"": # read until end of design file. if D_set.value()== False:...