1. Khisraw

    Using Python API want to connect Raspberry Pi4 to a Bluetooth headphone

    Hi, We are using Raspberry Pi4 with Zero Pi Codec. We are getting audio from a stereo mic and want to transmit this audio to Bluetooth headphones. The program works fine until we want to connect it to Bluetooth. It connects for 5 seconds but it disconnects. We are using the code in Python and...
  2. levi_ackerman

    ESP8266 Running Problems - Memory [Python]

    I am using my ESP8266 device and have installed Micropython as firmware on it. I wrote some python code to fetch environmental data through a DHT11. The scripts I'm running with the ampy module, specifically, the command "ampy --port COM5 put file.py" and the command "ampy --port COM5 run...
  3. FillenNaymeer

    Looking for a simple USB analog to digital converter with existing support in a language like python

    Hey all, I was wondering if someone could point me to a component that fits this description. Id like a USB that plugs directly into a computer with voltage terminals and converts it into a digital representation that has existing support in a programming language to easily read in the data. The...
  4. Khisraw

    Using Raspberry Pi Codec Zero HAT

    Hello, I have recently bought a Raspberry Pi Codec Zero to do audio processing. I have gone through all the documentation and set up all the necessary settings. When I run my codes, I get no input. So my questions are; How can you get access directly to the ADC? Maybe the ADC may have a way to...
  5. VektorElektor

    Buck Converter Simulation in Python

    Hey everybody, first time here! As a personal project I am implementing a Buck Converter simulation in Python. My basic idea is to give a constant Vs supply and simulate the switch on/switch off steps in each switching period, calculate the increase/decrease in inductor current and calculate an...
  6. Chrisio

    Help Bluetooth module with raspberry pi

    Hi, I have stacked.. Im trying to connect my Bluetooth module ZS-040 (HC-06) to raspberry pi 3 model b+ for receiving data from mobile phone. I have tried everything but can’t connect. I need python code. I m using serial Bluetooth terminal app on my android phone. I have this code. My code runs...
  7. Khisraw

    Audio Processing with Rsp4

    Hi, I am working on an audio processing project using Rsp4. It involves using two mics both connected via USB ports. The program works however there is far too much noise that you can barely hear. It mic2 it like a machine is ON. I am new to audio processing so I assume I need to do some...
  8. Khisraw

    Accessing Raspberry Pi4 USB port with Python

    Hello All, I am using Raspberry Pi 4 which comes with 4 USB ports. For my project, I have two mics and both will be connected to Rsp via a USB port. I need to be able to choose which Mic needs to be ON. So basically I need to be able to switch/choose which USB port I want the sound to come in...
  9. wizardman1313

    How to remove noise from sensor data in python?

    Hello everyone. I have a sensor that I am continuously reading data from, at a constant rate, using python. Looking at the data there is obviously noise in it (bounces around when it should be zero or a constant value). After googling for 2 days I've not been able to find a way to remove the...
  10. J

    Parsing unique .txt messages issue in python?!

    Hello world of python programming . I am trying and struggling to parse a series messages from text file that has different unique patterns and save them as txt files using python programming. I have as input txt file: [#11:23][INFO][0x0015a] it's here and it's optimally required start...
  11. ashokraj

    what topics to be covered in python for fpga development and verification?`

    Hi, I am a Hardware engineer. My dream is to be a FPGA engineer/ Digital Design Engineer. I noticed that, some of the job descriptions have python/perl. Learning python completly may not be useful in my domain. Is there any specific topics I will have to focus on in python? or Do I...
  12. E

    is python supports for function array

    I want to use function array just like we use it in c/c++ in python. i have used it in c/c++ but I am new to python. I searched but I didn't find anything like that. I mean if I pass index to the array as a 0 then function saved at 0 should get executed and if I pass 1 then function at 1 will...
  13. W

    Raspberry Pi triggers relay before power is turned on.

    I bought a relay like this today for my raspberry pi, and I am encountering a very strange issue. I connected the 5v output to the VCC pin, the ground to ground and a GPIO pin to the IN pin on the relay. I opened python and assigned 'led' to 'LED(15)', which is very standard. THAT triggered the...
  14. Bamerni

    Python: what is the wrong in this code

    Hello everyone I have the following code that calculate the distance between two points x(0,1) and y(0,1) but I don't get the answer def distance(x, y): dist = math.sqrt((x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 ) return dist print(distance((0,0),(1,1))) Please can anyone help me...
  15. A

    Is python useful for telecom technician ?

    Hello, I'd like to know if python programming skills could be an asset for a telecommunication technician/engineer. Does anybody have some experience with python into the field ? I'm currently studying telecommunication electronics in a College in Montréal, Canada and i hold a diploma in...
  16. A

    Python for programming ESP8266/ESP32

    For all with interest in application of the ESP8266 and ESP32 family microcontrollers from Espressif, I would like to reccommend the following project we are working on. Based on Micropython, we havebuilt a basic framework for IoT projects with ESP chips. The framework has out of the box and...
  17. T

    Microcontroller/Programming help needed! simple DIY project

    Howdy, so I am currently working on a small project to build a binary clock style watch. I am pretty new to circuitry and building small circuits. I do know some python and have been toying around with my raspberry pi 3B+. Here is the link to the project I plan to replicate and modify for my...
Top