Search found 63 matches

by fdufnews
Thu Feb 11, 2021 12:16 pm
Forum: Raspberry Pi microcontroller boards
Topic: Problem with setting time in internal RTC
Replies: 2
Views: 567

Re: Problem with setting time in internal RTC

This answer will not explain why your solution does not work butt there is a way to set the time here

Edit:
Maybe the answer is here. Adressing the registers using their base address only allows 32 bits access. Atomic access needs to use base address + 0x2000
by fdufnews
Wed Feb 10, 2021 9:54 am
Forum: Raspberry Pi microcontroller boards
Topic: UART Questions
Replies: 6
Views: 899

Re: UART Questions

In the datasheet, chapter 2.19 table 296 concerning GPIOs, there are GPIOx_CTRL registers (one for each GPIO) in wich you can change the behavior of the GPIO. The OUTOVER bits allow to modify the polarity of the output.
by fdufnews
Tue Feb 09, 2021 4:50 pm
Forum: Drivers for External Components
Topic: Driver for SH1122 oled display
Replies: 5
Views: 1813

Driver for SH1122 oled display

I have made a driver for an oled display based on the SH1122 driver. This display is more expensive than the usual 128x32 one but it offers a 256 x 64 graphic plane with 16 levels of grey. The driver is based on the ssd1306 one so it has a similar interface. The driver sh1122.py # MicroPython SH1122...
by fdufnews
Mon Feb 08, 2021 8:15 pm
Forum: Raspberry Pi microcontroller boards
Topic: Access to Pico via Mac M1 and Ubuntu
Replies: 1
Views: 370

Re: Access to Pico via Mac M1 and Ubuntu

What do you mean by "not been successful trying to access the Pico"?
Do you mean downloading files to the virtual mass storage or connecting to the REPL?
Can you elaborate a little more on this.
What were you expecting?
What did you do?
by fdufnews
Mon Aug 12, 2019 3:17 pm
Forum: ESP32 boards
Topic: Clock with encoder
Replies: 5
Views: 1526

Re: Clock with encoder

Providing you are using the library proposed by jimmo you need to declare a rotaryIRQ() object. This object handle all the interaction with the encoder you just have to read the value method. You define the min and max value. When you turn the knob the value is increased/decreased. You should look a...
by fdufnews
Mon May 20, 2019 8:09 am
Forum: Drivers for External Components
Topic: vl53l0x max distance
Replies: 1
Views: 1564

Re: vl53l0x max distance

Perhaps you can try to adapt Adafruit's CircuitPython driver
by fdufnews
Sat Jan 19, 2019 1:12 pm
Forum: ESP32 boards
Topic: Can't start REPL after success flash
Replies: 1
Views: 1133

Re: Can't start REPL after success flash

Obviously, the Arduino UART monitor puts the handshake lines in a state that makes the ESP32 boot in download mode. Arduino UART monitor is not REPL friendly. Arduino UART monitor works in line mode. REPL expects a terminal working in character mode. You'd better use a terminal software like putty o...
by fdufnews
Mon Dec 31, 2018 9:15 am
Forum: ESP32 boards
Topic: Lolin D32 Pro with an ST7735S 1.4 128x128 SPI TFT display
Replies: 3
Views: 3019

Re: Lolin D32 Pro with an ST7735S 1.4 128x128 SPI TFT display

ldaponte wrote:
Sun Dec 16, 2018 10:16 pm
baudrate=20000000,
I've tried slower and faster baud rates.
You surely shall slower the baudrate. ST7735 datasheet gives a serial clock not shorter than 66ns (that's 15MHz).
While testing (maybe on breadboard) you'd better slow down to 4MHz just to be sure.
by fdufnews
Fri Dec 14, 2018 7:41 pm
Forum: ESP32 boards
Topic: ESP32 broken filesystem
Replies: 4
Views: 2077

Re: ESP32 broken filesystem

Usually, this kind of problem arises when the file is open at the time of the power outage. Sofware solution So you can close the file every time you end writing a file. This will limit the risk of filesystem corruption. But don't suppress them of course. Hardware solution You can put a supercap bet...
by fdufnews
Sat Oct 06, 2018 2:43 pm
Forum: ESP32 boards
Topic: Documentation for ESP32 Port
Replies: 13
Views: 4946

Re: Documentation for ESP32 Port

There is no documentation for ESP32. Usually the ESP8266 one do the trick.
You only have access to documentation for the pyboard because you are in the "latest" release.
Select "1.9.4", you will then be able to choose between different boards.