I have thermal printer(Star Printer TSP-650) and I want to use Raspberry pi to programming and print a label out by using Python script.Is it possible? Star Printer TSP-650 is USB output.
I already do same as this video
http://www.youtube.com/watch?v=TC9V7cotUgw/ regularly!
Change AMA-0 to USB-0.
My label can print,but it have a little like this ????as???????????? a lot of it.
I want to make it local not like a server too.
Related
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.
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.
I need to be able to choose Mic1 or Mic2. I am writing my code in Python. Is there any library that gives me access to choose a specific UBS port? I really can't find anything.
Appreciate your help.
Regards
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 know we can use ds4drv to pair and receive DualShock 4 inputs from Raspberry Pi, but I actually want to make Raspberry Pi act as a DualShock 4 controller and send outputs to PS4. I want to do that by Python. Is there any library or source code that helps me?!
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.