Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [bit-bang]

For questions pertaining to bit banging, a serial communication technique.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

Writing to a sensor register using i2c bitbanging library not working - PiGPIO library on Raspberry Pi

I am trying to configure a sensor connected to Rpi over an i2c bus. I am using PiGPIO library with Python to do this. To configure the sensor, I need to write a certain value to some registers and ...
1
vote
1answer
60 views

PIGPIO bit banging UART - SLR to plaintext

I've managed to read UART input by SLRO and SLR commands from pgpiod, however, SLR returns UART bit-banged data in the following format: [number of read bytes] [bytes] http://abyz.me.uk/rpi/pigpio/...
1
vote
0answers
97 views

Why was my last AT command routine is not viewed in the output?

As I was using pigpio ,so that I can use the GPIO pins as UART or bit banging the serial. I am using a SIM900 gsm module. Here is the code: import pigpio import time import sys TX=23 RX=18 baudrate=...
1
vote
0answers
2k views

Problems Bit-Bashing an I2C Slave

I have a Pi B+ on which I'm trying to bit-bash an I2C Slave in C / C++ (code's pretty much C despite the fact I'm using g++ and .cpp files), utilizing GPIO 18 as my Clock and GPIO 17 as my Data. I'm ...
0
votes
0answers
24 views

Varying possibly broken behavior of different GPIO pins on bitbanging LED display driver

I connect Raspberry Pi 3 b+ directly to 8x8 LED display, packaged with max7219cng display driver. To control GPIO pins, I'm using baremetal code, written by myself. For working with GPIO I've ...
0
votes
0answers
219 views

pigpio python serial wave output not correct

I am trying to use joan's pigpio to write a serial command on my Rpi 3 gpio 14(UART0TX).My goal is to write a command from the pi to another device. When i send the command i do not see the ...
0
votes
1answer
42 views

Edit the UART communication protocol

Is it possible to manipulate the bytes on a bit level prior to sending through the hardware UART, or do I have to implement a software version (bit-banging)? I was thinking of changing the clock ...