Is it possible to recreate the Cronus zen with a Raspberry pi, since the Raspberry pi can send and receive data using Bluetooth id figure it has the power to do that, I’m curious. If it’s possible, how?
I’ve searched google and found a python package that can detect controller buttons on pressed and released but it doesn’t have a send data feature.
Related
I been looking everywhere online for this exact configuration but can't find much.
I want to program my AtMega328p MCU (its on a breadboard) using Python from my Raspberry Pi 4 but I am not sure how to check if communication is going on between them? I have the MISO, MOSI, SCLK, and CE0 pins from the Pi connected to the MISO, MOSI, SCK, SS pins on the AtMega328p respectively.
I understand I have to use SPI communication, however how can I exactly send data from the Raspberry Pi to the MCU to ensure there is communication between the two? Maybe some code to send to the MCU and receive it back? I been using the SPI Dev Python libraries but can't find much info on it. Thank you in advance!!
To load code onto the AVR (program it), you want to use existing software like avrdude that already speaks the AVR ISP protocol. avrdude already has support for using the RPi SPI headers - just use the linuxspi programmer type.
Here's an article by the author that explains it (although there are probably more recent articles if you search around) http://kevincuzner.com/2013/05/27/raspberry-pi-as-an-avr-programmer/
Is there a reason you want to do this from Python specifically? Or are you referring to communicating between the uC firmware and some Python code on the Pi?
I have a probably very special question, but I would still be very happy about your help. First things first, I have basic Python and Dart/Flutter skills. For days I have been trying in vain for a solution to connect a Raspbarry Pi (Python) and a smartphone (Flutter). I want to be able to control an LED using a flutter app, so I have to control the GPIO Pins via a Flutter application. I totally don't care whether the connection is established via Bluetooth or the Internet. I can't find any instructions or a tutorial on the internet, so my question is whether you might have found a good video or blog entry on this topic. I would be very happy if you could write me a link to a good explanation in the answer box. It would be even better if someone of you knows how to connect an Rpi and a smartphone and that person could explain it to me. Many many thanks in advance and greetings
Why you don't create a Websocket/Http_Server in Rpi Python that interacts with the GPIO and in other side create another Websocket/Http_Client for your flutter mobile app and exchange data between them.
I have installed Google Assistant on Raspberry Pi 3. My program has some output as fixed audio. Can I use Raspberry Pi 3 to speech it? The problem is that when using other programs to read, I have to turn off google assistant and turn on when finished speechding. Because they all use the same output device
You can send text queries to the Assistant, and you could theoretically send a query in the background of "Repeat after me X" and the Assistant will repeat it. That may work for static or simple text.
First, thank you all for your useful posts. I can usually find what I need from SE without needing to make a post.
I'm hoping to make a timer/sensor device that I can control from a web browser.
I'm planning to hook up a set of sensors by USB or pinouts to a Raspberry pi, then having the Pi host a web server. I have experience writing web servers from scratch in python, so I intend to use python as my programming language for this application as well.
I want to be able to visit the server from another device that will run at a time-keeper's station. By selecting options on the web site, you could control the display portion of the timer or the values of variables (timer reset) also the sensors could trigger update events to show information on the web page.
My primary obstacle in this case is the hardware interface. I imagine I would need to look up how sites like OMSI allow users to control the motors that move their webcam, or other online control of hardware.
What should my search terms be, or do you know of any libraries for python to read and write to external (adafruit-style) sensors?
Thanks!
Anthony
(https://i.stack.imgur./RzWIl.png)
"Raspberry pi python gpio" "Raspberry pi python i2c" "Raspberry pi python spi"
I am new at Raspberry and Python, so I will be very glad if you help me at my problem. I need to read some data from weight scale when button on scale is pressed. When I connected this scale via USB on PC, I saw that it works as HID. When I pressed the button, data were written in some text document for example. So, now I am going to connect this scale on Raspberry Pi to read and manipulate with data. Can you give me some example, advice, which library I need to import? I want to write a script, that waits for incomming data and then something do with it. Thanks for help.