Go to advanced search

by arajasek
Wed Jun 26, 2019 5:41 pm
Forum: Compute Module
Topic: Camera noise lines
Replies: 0
Views: 635

Camera noise lines

In one of the carrier boards I built for the compute module 3L I'm experiencing some constant noise in the video captured by one of the cameras in a stereo setup. We haven't seen this issue in any of our other 20 boards. Any ideas what might be causing this?
by arajasek
Tue Nov 27, 2018 8:51 pm
Forum: Troubleshooting
Topic: Kernel panic: hung_task [...] blocked for more than 120 seconds
Replies: 3
Views: 658

Kernel panic: hung_task [...] blocked for more than 120 seconds

I'm using a raspberry pi with a pi camera for a video monitoring setup. I often (once a week) get this error where the pi freezes, stops recording video. I can't restart the video record service. If I do sudo reboot, the shutdown process never completes and the system is in limbo. I have to do a pow...
by arajasek
Wed Aug 01, 2018 6:53 pm
Forum: Troubleshooting
Topic: Hung Kernel error
Replies: 0
Views: 262

Hung Kernel error

I am using a Raspberry pi to record video with a pi camera throughout the day. About every 3 weeks the recording fails and I get the following kernel error in dmesg: [ 4.023428] request module load 'bcm2708-dmaengine': 0 [ 4.031027] register platform device 'asoc-simple-card': 0 [ 4.038765] Hello Wo...
by arajasek
Tue Jul 24, 2018 9:35 pm
Forum: Compute Module
Topic: Stereo video recording Kernel Bug
Replies: 0
Views: 385

Stereo video recording Kernel Bug

I am using a raspberry cM3L and a carrier PCB to record stereo video throughout the day and the device reboots itself at midnight everyday. About every 3 weeks the stereo recording fails and I get the following kernel error. var/log/syslog Jul 21 14:49:50 c0001006 kernel: [24574.013260] kworker/3:0 ...
by arajasek
Sun Jun 17, 2018 9:40 pm
Forum: Compute Module
Topic: USB stereo camera plugin and installation
Replies: 1
Views: 714

Re: USB stereo camera plugin and installation

Is there a reason why you're trying to use a USB stereo camera over the raspberry pi cameras with the CSI connector? The raspberry pi IO board allows you to connect two Raspberry Pi Camera Modules two create a stereo camera. There is already established code to access these stereo cameras and since ...
by arajasek
Sun Jun 17, 2018 8:48 pm
Forum: Compute Module
Topic: Cost of design a CM IO board?
Replies: 3
Views: 854

Re: Cost of design a CM IO board?

Assuming that you're talking about manufacturing cost of an IO board that will be designed by you, the PCB would cost around $5 - $15 depending on the number of layers and the board house you choose. The parts for the PCB would cost anywhere between $20 - $40 per IO board. I'd recommend just assembl...
by arajasek
Sun May 13, 2018 10:51 pm
Forum: Compute Module
Topic: arecord interference with PiGPIO creates huge audio files
Replies: 1
Views: 576

Re: Pigpio and arecord interference

Update: Looks like pigpio is causing the problem. The audio recording works fine when pigpio is turned off. I read something about audio recording using pwm here( http://abyz.me.uk/rpi/pigpio/faq.html#S ... nt_working). Any way to fix this interference?
by arajasek
Sat May 12, 2018 9:21 pm
Forum: Compute Module
Topic: arecord interference with PiGPIO creates huge audio files
Replies: 1
Views: 576

arecord interference with PiGPIO creates huge audio files

I'm following adafruit's guide to setup one of their MEMS mics on a carrier board with the compute module 3L and I'm running into this weird error with arecord where it gives the a 25%overrun!!! message and produces 1Gb files for only 30 seconds of audio recording. The audio waveform is totally flat...
by arajasek
Mon May 07, 2018 4:46 pm
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Re: Rpi GPIO for servo control

I tried both 33 Hz and 50 Hz and I'm still facing the same issue. The servo only answers to the first command. Would you happen to have an example python program for the Hardware PWM?
by arajasek
Sun May 06, 2018 4:33 am
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Re: Rpi GPIO for servo control

Here's my python script to test the servos import RPi.GPIO as GPIO import time import pigpio pi = pigpio.pi() pin = 41 pi.set_mode(pin, pigpio.OUTPUT) pwm = input('Enter PWM: ') pi.hardware_PWM(pin, 2000, 250000) # 800Hz 25% dutycycle pi.stop() After boot up when I run this program for the first tim...
by arajasek
Sat May 05, 2018 8:11 pm
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Re: Rpi GPIO for servo control

The output to pigs pigpv hwver is: 67 10494112 adding -x -1 to sudo pigpiod made GPIO 41accessible. However I'm running into a new problem. The servo only works for the first time I control it using pi.hardware_PWM(pin, 2000, 250000) It doesn't respond to any further commands, and the servo gets con...
by arajasek
Sat May 05, 2018 5:15 am
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Re: Rpi GPIO for servo control

Yes I am running this on a carrier PCB designed for the compute module 3 L. I'll test the options out and post the results. Thanks for the help.
by arajasek
Fri May 04, 2018 11:24 pm
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Re: Rpi GPIO for servo control

I still get the same error message. Here's my python script:

Code: Select all

import RPi.GPIO as GPIO
import time
import pigpio
import time

pi = pigpio.pi()
pin = 41                      #Enter Pin servo pin
pi.set_mode(pin, pigpio.OUTPUT)

pi.hardware_PWM(pin, 2000, 250000) # 800Hz 25% dutycycle



by arajasek
Fri May 04, 2018 9:45 pm
Forum: Compute Module
Topic: Rpi GPIO for servo control
Replies: 13
Views: 3272

Rpi GPIO for servo control

Rpi-gpio works great for a servo connected to Pin 12, but when I try to control another servo on GPIO 41 I get the following error pigpio.error: 'no permission to update GPIO' I then went on to read the documentation on Pi-gpio and noticed that the library only controls GPIOs 0-31. Is there a way to...
by arajasek
Sat Apr 28, 2018 6:52 pm
Forum: Compute Module
Topic: CAM1 Detection Issue in carrier PCB for CM3L
Replies: 2
Views: 486

Re: CAM1 Detection Issue in carrier PCB for CM3L

Update: It was indeed the RTC connected to the I2C0 Bus(Pins 44 and 45) Is there a way to have the both the RTC and the cameras connected? Maybe change the function of Pin 44 & 45 from SDA0/SCL0 to SDA1/SCL1?
by arajasek
Sat Apr 28, 2018 4:46 am
Forum: Compute Module
Topic: CAM1 Detection Issue in carrier PCB for CM3L
Replies: 2
Views: 486

CAM1 Detection Issue in carrier PCB for CM3L

I am testing a custom carrier PCB for the CM3L and I'm having some issues detecting the camera connected to CAM1 port. I'm getting the following error message when I run a Raspivid command: mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_cre...
by arajasek
Wed Mar 28, 2018 9:36 pm
Forum: Compute Module
Topic: MEMS Mic Setup with Custom compute module IO board
Replies: 5
Views: 1162

Re: MEMS Mic Setup with Custom compute module IO board

Yup, that seems like the most plausible explanation.
by arajasek
Wed Mar 28, 2018 7:20 pm
Forum: Compute Module
Topic: MEMS Mic Setup with Custom compute module IO board
Replies: 5
Views: 1162

Re: MEMS Mic Setup with Custom compute module IO board

Yup I am following their software guide. That's how I got the mics to work in a Raspberry pi 3. I'm using a CM3L
by arajasek
Wed Mar 28, 2018 6:53 pm
Forum: Compute Module
Topic: MEMS Mic Setup with Custom compute module IO board
Replies: 5
Views: 1162

MEMS Mic Setup with Custom compute module IO board

I'm trying to setup adafruit's MEMS mic ( https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/overview ) with my custom CM pcb, but I'm having no luck. I followed the schematic(attached below) outlined in Adafruit's tutorial. Everything works fine when I test the mic on a raspberry pi 3...
by arajasek
Tue Mar 27, 2018 5:13 pm
Forum: Compute Module
Topic: I2C issue connecting RTC to custom CM PCB
Replies: 9
Views: 1368

Re: I2C issue connecting RTC to custom CM PCB

Running the command from shell solved my problem. Thanks for your help
by arajasek
Tue Mar 27, 2018 4:41 pm
Forum: Compute Module
Topic: I2C issue connecting RTC to custom CM PCB
Replies: 9
Views: 1368

Re: I2C issue connecting RTC to custom CM PCB

When I compile the i2c0-rtc-overlay.dts i get warning messages saying but no reg property and when I load the overlay I don't get a UU sign on the RTC address(0x68) when I run i2c detect. pi@c000000042:~ $ dtc -@ -I dts -O dtb -o i2c0-rtc.dtbo i2c0-rtc-overlay.dts Warning (unit_address_vs_reg): Node...
by arajasek
Tue Mar 27, 2018 2:56 pm
Forum: Compute Module
Topic: I2C issue connecting RTC to custom CM PCB
Replies: 9
Views: 1368

Re: I2C issue connecting RTC to custom CM PCB

At this point you would normally be able to use the i2c-rtc overlay to load and configure the pcf8523 driver, but that overlay is expecting to use i2c1 (although it uses the other label - i2c_arm). As it is, you either need to create a custom version of the overlay or do it the old way. To make a c...
by arajasek
Fri Mar 23, 2018 9:57 pm
Forum: Compute Module
Topic: Controlling multiple servos with the CM using PWM
Replies: 1
Views: 519

Controlling multiple servos with the CM using PWM

I am trying to control 3 servos with the compute module using GPIO pins 12, 40 and 41. The servo connected to GPIO 41 works fine, but when I send a pulse to control the servo on GPIO 40, the GPIO 12 servo also receives the signal and similarly when I pulse the servo on GPIO 12 the servo on GPIO 40 m...
by arajasek
Fri Mar 23, 2018 6:49 pm
Forum: Compute Module
Topic: I2C issue connecting RTC to custom CM PCB
Replies: 9
Views: 1368

Re: I2C issue connecting RTC to custom CM PCB

Thank for the reply I can now recognize the device with address 68
by arajasek
Fri Mar 23, 2018 4:50 pm
Forum: Compute Module
Topic: I2C issue connecting RTC to custom CM PCB
Replies: 9
Views: 1368

I2C issue connecting RTC to custom CM PCB

I'm trying to configure the PCF8523 RTC on my custom PCB to work with the compute module. I've used GPIO 44(SDA) and 45(SCL) for I2C as the other GPIO pins were already used. How would I go about enabling the ALT 1 functions on GPIO 44 and 45?

Go to advanced search