Search found 642 matches

by OutoftheBOTS_
Fri Apr 26, 2019 9:11 pm
Forum: General Discussion and Questions
Topic: 3d printer firmware based on pyboard
Replies: 17
Views: 1035

Re: 3d printer firmware based on pyboard

If you where super keen to make a good working 3D printer firmware in MP I think the best way to do it would be create C functions that control the stepping (acceleration, speed and distance stepped) via HW interrupts then wrap them up so that they can called from python.
by OutoftheBOTS_
Fri Apr 26, 2019 9:07 pm
Forum: General Discussion and Questions
Topic: 3d printer firmware based on pyboard
Replies: 17
Views: 1035

Re: 3d printer firmware based on pyboard

My hope is that the RMT module would help for this purpose on the ESP32 port; would you agree OutoftheBOTS? RMT is certainly probably a much better way to do the steper motors than the shitty wirk around that I used especially since it doesn't block the CPU during transfer I usually run my steppers...
by OutoftheBOTS_
Fri Apr 26, 2019 6:09 am
Forum: General Discussion and Questions
Topic: 3d printer firmware based on pyboard
Replies: 17
Views: 1035

Re: 3d printer firmware based on pyboard

I have played with stepper motors in both C and micro-python. I have found it difficult to get good step timing due the latency of python but did manage to get good ramp up and ramp down of a single stepper but the work around that I used doesn't allow for different speeds of different motors. see m...
by OutoftheBOTS_
Wed Apr 24, 2019 9:46 pm
Forum: MicroPython pyboard
Topic: Accelerometer
Replies: 4
Views: 283

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: 298

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: 290

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: 524

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: 4300

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: 524

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: 524

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