Search found 63 matches

by fdufnews
Wed Sep 27, 2017 5:54 pm
Forum: ESP32 boards
Topic: Timer id's - which is correct?
Replies: 2
Views: 2072

Re: Timer id's - which is correct?

That's not what I understand when I read the documentation
class machine.Timer(id, ...)
Construct a new timer object of the given id. Id of -1 constructs a virtual timer (if supported by a board).
by fdufnews
Fri May 19, 2017 7:06 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 10329

Re: ESP8266 Building and flashing OTA firmware

On pfalcon github repo it is said "Each datagram is signed with RSA private key. Only someone with a valid private key may produce valid datagrams, information from which ota-server will flash as a user application. ( The public key is configured when building ota-server .)". Look at the comments in...
by fdufnews
Thu May 18, 2017 6:44 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 10329

Re: Building and flashing OTA firmware

Up to now, I have not used it but on the download page it is stated: "The first time you use this build you need to flash one of the "initial image" images using esptool.py as described above. After that, you can update the firmware over the air using the "OTA update" file in conjunction with the ot...
by fdufnews
Mon Feb 13, 2017 6:11 pm
Forum: ESP8266 boards
Topic: i2c lcd works only if more one device connected
Replies: 7
Views: 4007

Re: i2c lcd works only if more one device connected

On I²C bus, the lines are open-collectors. You shall add a resistor (4,7k for a medium speed bus) to 5V on both SDA and SCL. Not to 5V. If you add it to 5V, the pins will receive 5V voltage, and they are not prepared for that and can be damaged. The pullups should be to the 3.3V. Of course. Sorry f...
by fdufnews
Mon Feb 13, 2017 12:57 pm
Forum: ESP8266 boards
Topic: i2c lcd works only if more one device connected
Replies: 7
Views: 4007

Re: i2c lcd works only if more one device connected

@Kestel You probably need to add pullup resistors on SDA ands SCL. On I²C bus, the lines are open-collectors. You shall add a resistor (4,7k for a medium speed bus) to 3.3V on both SDA and SCL. The board with the BMP180 you are using probably add those resistors for you. Edit: corrected voltage erro...
by fdufnews
Mon Jan 30, 2017 10:21 am
Forum: ESP8266 boards
Topic: I2C EEPROM on uPy/ESP8266?
Replies: 48
Views: 24001

Re: I2C EEPROM on uPy/ESP8266?

Have you wired pullups resistors on SDA and SCL lines?
by fdufnews
Wed Sep 14, 2016 11:44 am
Forum: ESP8266 boards
Topic: Static IP Possibility
Replies: 14
Views: 13308

Re: Static IP Possibility

As said in the documentation,
To set the above values, pass a 4-tuple with the required information.
So

Code: Select all

('xxx.xxx.xxx.xxx','255.255.255.0','192.168.1.1','xxx.xxx.xxx.xxx')
is a 4-tuple.
Maybe you should look here http://www.tutorialspoint.com/python/python_tuples.htm
by fdufnews
Sat Aug 27, 2016 8:29 pm
Forum: ESP8266 boards
Topic: Querying USB port
Replies: 5
Views: 3101

Re: Querying USB port

To install MicroPython you just need to install esptool.py and know what COM port is associated with your USB interface daughter board. When you know this you follow the Getting started with MicroPython on the ESP8266
by fdufnews
Sat Aug 06, 2016 6:21 pm
Forum: Hardware Projects
Topic: How could I detect motion direction using a camera and pyBoard ?
Replies: 3
Views: 3539

Re: How could I detect motion direction using a camera and pyBoard ?

Going low tech is a trending topic but I am not sure you've chosen the best guy for this task.
May be you can use the optical sensor of a mouse. There are libraries on Arduino, mbed, and Espruino platforms that perhaps can be adapted.
If you have some money you can try the CMUCAM
by fdufnews
Mon Aug 01, 2016 12:06 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 39200

Re: ssd1306 using I2C on the esp8266

May be you can consider using the export function of Gimp. Using the pbm export filter gives you a binary file with a short header. For example, a 128x64 image generates a 1073 bytes file. The file has 49 bytes of header and following it the image is encoded eight pixels in a byte. You can copy the ...