Search found 539 matches

by OutoftheBOTS_
Wed Apr 24, 2019 9:46 pm
Forum: MicroPython pyboard
Topic: Accelerometer
Replies: 3
Views: 63

Re: Accelerometer

Understand what an Accelerometer reads, it doesn't read acceleration but rather reads linear force so at rest it will read the force gravity exerts on it. When it accelerates it will read the resultant force of gravity plus the force created by acceleration. Like wise the gyro isn't a gyro (gyro rea...
by OutoftheBOTS_
Tue Apr 23, 2019 10:13 pm
Forum: General Discussion and Questions
Topic: square signal for buzzer
Replies: 7
Views: 111

Re: square signal for buzzer

Create local instances of the 2 function u need to be called with low latency

e.g
local_pin_write = pin0.write_digital()
local_sleep = utime.sleep_us()

while True:
local_pin_write(1)
local_sleep(1136)
local_pin_write(0)
local_sleep(1136)
by OutoftheBOTS_
Wed Apr 17, 2019 9:50 pm
Forum: Other Boards
Topic: [STM32f407] Cannot program chip on self designed PCB
Replies: 4
Views: 107

Re: [STM32f407] Cannot program chip on self designed PCB

I mainly ST-Link to program STM23 boards. If your using a cheap clone of ST-Link then you will find the hardware reset line isn't connected although it is broken out so ensure when your flashing program that you use software reset instead of hardware reset and this fixed the problems that I had with...
by OutoftheBOTS_
Mon Apr 15, 2019 2:29 am
Forum: General Discussion and Questions
Topic: Micro-Python ported to Lego
Replies: 5
Views: 179

Re: Micro-Python ported to Lego

There is also a new platform coming out from Lego called spike which will be able to run a bare metal port of MP, I believ they have set August as the release date for the bare metal MP on Spike
by OutoftheBOTS_
Sun Apr 14, 2019 9:48 pm
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 18
Views: 2817

Re: bare metal Raspberry Pi Zero port

Have you seen this board with a Allwinner V3s Arm Cortex A7 https://www.banggood.com/Lichee-Pi-Zero ... rehouse=CN

It has docs here https://github.com/Squonk42/V3s_Documentation
by OutoftheBOTS_
Sun Apr 14, 2019 9:37 pm
Forum: General Discussion and Questions
Topic: Micro-Python ported to Lego
Replies: 5
Views: 179

Re: Micro-Python ported to Lego

I do believe it set to be open source.

I have 1 of the contributors asking me some questions now in a private message. I think they are currently using the unix port rather then a stand alone bare metal port
by OutoftheBOTS_
Sun Apr 14, 2019 10:38 am
Forum: General Discussion and Questions
Topic: Micro-Python ported to Lego
Replies: 5
Views: 179

Micro-Python ported to Lego

I see that Lego has now released a Micro-Python port for Lego EV3 see https://education.lego.com/en-us/suppor ... OCzaQfMuJU
by OutoftheBOTS_
Wed Apr 10, 2019 7:12 am
Forum: ESP32 boards
Topic: Integrating Loboris port back to official uP ESP32 port
Replies: 33
Views: 1114

Re: Integrating Loboris port back to official uP ESP32 port

I think in the end Lobo has written a lot of high performance code for uPython that he has made MIT license. He hasn't received any finical gain and a number of commercial operators have used his port for their finical gain e.g. M5Stack. This is a big contribution to the community. Being MIT license...
by OutoftheBOTS_
Wed Apr 10, 2019 7:05 am
Forum: ESP32 boards
Topic: using multiple pins as PWM pin with D32 pro
Replies: 6
Views: 196

Re: using multiple pins as PWM pin with D32 pro

My stepper motor control is a bit more complex as I use the methods used by CNC firmware to achieve smooth acceleration and precise step counts. From Matty post above it looks like main stream Micro-python doesn't allow for different freq of PWM just different duty widths on the same freq as it only...
by OutoftheBOTS_
Tue Apr 09, 2019 9:19 pm
Forum: ESP32 boards
Topic: Integrating Loboris port back to official uP ESP32 port
Replies: 33
Views: 1114

Re: Integrating Loboris port back to official uP ESP32 port

Python drivers work at an ok speed providing the SPI screen is very low res but when using larger SPI displays like 320 X 240 it is a huge noticeable speed difference in LoBo display module.