All Questions
Tagged with python microcontroller
18 questions
0
votes
1
answer
96
views
1
vote
1
answer
148
views
Raspberry Pi Pico W not executing main.py when connected with ammeter
I am trying to measure the current flow of a Raspberry Pi Pico W running simple code that blinks the onboard LED saved as 'main.py'. I have verified this code runs when connected to a) my laptop and b)...
0
votes
1
answer
192
views
Wired ESP8266 Communication
I have been looking for the cheapest/easiest way to get 100 or so different i/o devices to all talk to a "Master." (Sending temp data, receiving motor information) Since i am looking for a ...
0
votes
1
answer
563
views
Best low-cost microcontroller (that can be programmed using Python) for computer vision? [closed]
I have been researching for many days and haven't found a microcontroller that fits my needs.
I want a microcontroller that:
Is cheap (I want to make this into a product that can be around $20-40)
...
2
votes
2
answers
1k
views
Using more than two I2C OLED displays on a Pico
I have a Raspberry Pi Pico running CircuitPython and I use the adafruit_ssd1306 library to drive SSD1306 OLED displays.
This works very well for two displays, but when adding the third it doesn't ...
1
vote
1
answer
360
views
Raspberry Pi Pico not reading a button correctly
I connected a button to my Pico and would like to see if it is pressed in real-time.
One end of the button is connected to GPIO 15, other one to ...
0
votes
0
answers
219
views
Unable to read output of a joystick on a Raspberry Pi
I connected my joystick with this tutorial: link
However, it does not work. The code runs fine (after changing print "---" to ...
2
votes
0
answers
420
views
How to calculate the Samples per second possible of a ADC (MAXIM 11605) using i2c with raspberry pi?
I would like to find out how many samples per second this ADC im using is capable of with a raspberry pi using i2c and python SMBUS2 library, but i dont know where to start.
As far as i know this ...
0
votes
1
answer
1k
views
ESP32 WROOM switching back from MicroPython to Arduino framework
I have recently switched my ESP32's firmware to work with Python (using Thonny IDE) and I want to switch back to work with C++ and the Arduino IDE, but I remember flashing that bin file on the device.
...
2
votes
0
answers
137
views
Trinket M0 PWM ValueError: duty_cycle must be between 0 and 65535 inclusive (16 bit resolution)
I'm trying to control a servo motor from a Trinket M0. My circuitpython code is:
...
0
votes
4
answers
2k
views
How to free up memory in a CircuitPython board?
I'm using a Feather M0 Express from Adafruit with a DS3231 Precision RTC FeatherWing for a custom clock project that displays time with LEDs.
The clock works as follows:
When the clock gets plugged ...
1
vote
2
answers
835
views
Writing commands to a microcontroller with a STM32f chip from python
Manual to the micro controller: https://drive.google.com/file/d/0B8PmY6nhQadKSVc5OE04c3ZJaFU/view?usp=sharing
, where page 18-19 introduces the serial communication protocol.
The micro controller on ...
1
vote
1
answer
297
views
Lighting up LEDS via I2C Bus of a NeoTrellis 4x4 RGB Led Matrix
Many attempts to write to an i2c slave to make rgb leds light up have failed.
The hardware in question is found at:
https://learn.adafruit.com/adafruit-neotrellis
There is an arduino library and a ...
1
vote
1
answer
333
views
Microcontroller and SDRAM
I have a project where i need to run a python script on a microcontroller. The python script is basically a GUI based script using pyQt and the internal ram of a microcontroller isn't enough. After ...
2
votes
2
answers
892
views
GPIO Input fluctuating between high and low when no input is received
I posted this on the Raspberry Pi StackExchange but I feel as though it might be better suited for here, as the SE is pretty inactive anyway.
I've got a fairly simple circuit that I've made where a ...