Search found 847 matches

by OutoftheBOTS_
Fri Mar 26, 2021 7:42 am
Forum: MicroPython pyboard
Topic: Battery and servo and USB
Replies: 5
Views: 4062

Re: Battery and servo and USB

The Pyboard 1.1 has four sets of 3 pins on X1-X4 which are designed to connect to small hobby servos. They are powered from V+. If using USB, V+ will be just below 5V. If a LiPo is attached to Vbat, V+ is powered from the battery. The USB connection is protected by a diode, so you can connect both ...
by OutoftheBOTS_
Mon Mar 22, 2021 1:20 am
Forum: MicroPython pyboard
Topic: Servo won't take negitive angles
Replies: 5
Views: 4554

Servo won't take negitive angles

I am using a PYB1.1 with firmware 1.12v (I know it isn't the latest but seem not to be able to update it) I am trying out the servo class and it seems to be working when I give positive angles between 0 and 90 but it won't let me give it negative angles. see below for debug MicroPython v1.12-557-g3a...
by OutoftheBOTS_
Sun Mar 21, 2021 9:27 am
Forum: MicroPython pyboard
Topic: Battery and servo and USB
Replies: 5
Views: 4062

Battery and servo and USB

I have a PYBv1.1 and I am wondering about driving HV servos (7v to 8v) directly off the board. I notice that the board has 4 sets of pins setup for driving servos (X1 to X4) with GND and V+ next to them to directly plug servos straight in. I do also notice that there is a Vbat next to them. Here's m...
by OutoftheBOTS_
Mon Jan 25, 2021 7:01 am
Forum: General Discussion and Questions
Topic: RPi makes ther own Mico controller
Replies: 12
Views: 6137

Re: RPi makes ther own Mico controller

Hacker News has a good discussion ; it's where I first saw links to the (beautiful!) datasheet . Chapter 3 covers the PIO in-depth. It's also worth looking at the PR; there are some useful PIO examples there (including controlling WS2812B's). The first thing that come to my mind when I read about t...
by OutoftheBOTS_
Mon Jan 25, 2021 6:59 am
Forum: General Discussion and Questions
Topic: RPi makes ther own Mico controller
Replies: 12
Views: 6137

Re: RPi makes ther own Mico controller

The MicroPython port for the RP2040 is awaiting your review... ;) Ha Ha Ha. I am certainly finding it hard to resist the urge to buy 1 and have a play with it, as it looks super interesting and RPi is usually very well supported fro beginners. My other life (the real one) has been busy with running...
by OutoftheBOTS_
Thu Jan 21, 2021 7:40 am
Forum: General Discussion and Questions
Topic: RPi makes ther own Mico controller
Replies: 12
Views: 6137

RPi makes ther own Mico controller

Seem that RPi have built there own micro controller. It is a dual core ARM M0 and they alreayd have a MicroPython port for it. The second core is designed for fast bit bang of IO pins so you can all software IO peripherals without bogging down the primary core. see https://www.hackster.io/news/hands...
by OutoftheBOTS_
Fri Oct 09, 2020 1:52 am
Forum: ESP32 boards
Topic: newbie issue with i2c
Replies: 10
Views: 4730

Re: newbie issue with i2c

I have set both pins to input pullup before setting up the I2C has fixed this problem in the past.
by OutoftheBOTS_
Wed Sep 02, 2020 8:43 am
Forum: Programs, Libraries and Tools
Topic: is creating a Region of interest possible?
Replies: 3
Views: 2199

Re: is creating a Region of interest possible?

it isn't that snapshot as that function, it is the fact that snap shot returns an array and this is how you can cut out of an array
by OutoftheBOTS_
Tue Sep 01, 2020 6:07 am
Forum: Programs, Libraries and Tools
Topic: is creating a Region of interest possible?
Replies: 3
Views: 2199

Re: is creating a Region of interest possible?

I haven't used this board but to cut out a square ROI then something like this

Code: Select all

img = sensor.snapshot()[y:y+h, x:x+w]
by OutoftheBOTS_
Wed Aug 26, 2020 9:45 pm
Forum: Programs, Libraries and Tools
Topic: How to Build and Debug MicroPython Source Code with Eclipse
Replies: 16
Views: 28751

Re: How to Build and Debug MicroPython Source Code with Eclipse

Not sure oif this will help but I use system workbench for all my STM32 projects. Which is also derived from eclipse and has all the needed toolchains and linker setup see https://www.st.com/en/development-tools/sw4stm32.html