Search found 12 matches
- Thu Jul 01, 2021 1:44 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Ultrasonic sensor HC-SR04 on raspberry pi pico
- Replies: 1
- Views: 1709
Re: Ultrasonic sensor HC-SR04 on raspberry pi pico
The problem seems to be that GP6 cannot be configured as trig. Using other pins as trig, the sensor works properly. The sensor also works fine with GP6 as echo. In the library code, GP6 is used as simple output. Strange thing is GP6 can be used as output to blink an led. I am confused...
- Thu Jul 01, 2021 7:10 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Ultrasonic sensor HC-SR04 on raspberry pi pico
- Replies: 1
- Views: 1709
Ultrasonic sensor HC-SR04 on raspberry pi pico
It doesn't work using GP6 and GP7 as trig and echo at the same time . Works for GP8 and GP9 and other pins. I used the following library.
https://github.com/rsc1975/micropython-hcsr04
https://github.com/rsc1975/micropython-hcsr04
- Tue Jul 30, 2019 10:17 am
- Forum: Other Boards
- Topic: BLACK STM32F407ZGT: factory resetting
- Replies: 6
- Views: 3408
- Tue Jul 30, 2019 7:24 am
- Forum: Other Boards
- Topic: BLACK STM32F407ZGT: factory resetting
- Replies: 6
- Views: 3408
Re: BLACK STM32F407ZGT: factory resetting
@jimmo Thank you for your help. Using button K1 and RST, the board was reset successfully. I still got two questions regarding the file system: 1. Why reflashing micropython doesn't erase the corrupted file system. 2. Arduino code is burned using stlink, while micropython using dfu. Are codes flashe...
- Tue Jul 30, 2019 3:04 am
- Forum: Other Boards
- Topic: Black STM32F407VET6: deploy issue
- Replies: 7
- Views: 4120
- Tue Jul 30, 2019 3:01 am
- Forum: Other Boards
- Topic: BLACK STM32F407ZGT: factory resetting
- Replies: 6
- Views: 3408
Re: BLACK STM32F407ZGT: factory resetting
Reflashed firmware and the problem is still there. I even executed some Arduino code to make sure micropython was wiped out before reflashing. Why?
- Tue Jul 30, 2019 2:02 am
- Forum: Other Boards
- Topic: BLACK STM32F407ZGT: factory resetting
- Replies: 6
- Views: 3408
BLACK STM32F407ZGT: factory resetting
I flashed a BLACK STM32F407ZGT using mcauser's github repo. After resetting the board while connected to the computer, it says main.py was corrupted. How to do a factory resetting on this board? There are instructions for the official pyboard. But it uses green and yellow LEDs to control the timing ...
- Tue Jul 30, 2019 1:36 am
- Forum: Other Boards
- Topic: Black STM32F407VET6: deploy issue
- Replies: 7
- Views: 4120
- Mon Jul 29, 2019 2:01 pm
- Forum: Other Boards
- Topic: Black STM32F407VET6: deploy issue
- Replies: 7
- Views: 4120
Re: Black STM32F407VET6: deploy issue
@jimmo can you elaborate a bit? I use windows and know very little of ubuntu.
- Mon Jul 29, 2019 12:25 pm
- Forum: Other Boards
- Topic: Black STM32F407VET6: deploy issue
- Replies: 7
- Views: 4120
Re: Black STM32F407VET6: deploy issue
FYI. The issue was solved by running the command with sudo.