Search found 799 matches

by OutoftheBOTS_
Fri Mar 26, 2021 8:21 am
Forum: MicroPython pyboard
Topic: Battery and servo and USB
Replies: 5
Views: 967

Re: Battery and servo and USB

Perfect. Thanks for your advice :)
by OutoftheBOTS_
Fri Mar 26, 2021 7:46 am
Forum: MicroPython pyboard
Topic: Servo won't take negitive angles
Replies: 5
Views: 1251

Re: Servo won't take negitive angles

With current firmware: >>> from pyb import Servo >>> s = Servo(1) >>> s.angle(80) >>> s.angle() 79 >>> s.angle(-80) >>> s.angle() -79 >>> s.pulse_width() 640 >>> s.angle(0) >>> s.pulse_width() 1500 >>> s.angle(90) >>> s.pulse_width() 2420 >>> Why can you not update firmware? It is usually easily do...
by OutoftheBOTS_
Fri Mar 26, 2021 7:42 am
Forum: MicroPython pyboard
Topic: Battery and servo and USB
Replies: 5
Views: 967

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

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

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

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

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

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

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

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