Go to advanced search

by PinerdF
Mon Mar 13, 2017 8:27 am
Forum: Automation, sensing and robotics
Topic: How fast is DS2482-800
Replies: 4
Views: 1362

Re: How fast is DS2482-800

Now thats a detailed answer! Thank you very much. I think I finally have a sufficient understanding of how to work with owfs, I will apply your concept to my purposes and play a little bit around!

Thanks again :)
by PinerdF
Sun Mar 05, 2017 10:30 am
Forum: Troubleshooting
Topic: Avoid APA102 LED light up when connecting power to RPI
Replies: 2
Views: 1222

Avoid APA102 LED light up when connecting power to RPI

Hey guys, I'm using the APA102 RGB LEDs in my Raspberry Pi zero project. I ordered them as single LED chips (not in a strip) and connected them to: Led Data In = SPI_MOSI (gpio10) Led Clock In = SPI_CLK (gpio11) Led Power = 5V Led Ground = ground Using tinues APA102_Pi library its easy to control th...
by PinerdF
Fri Mar 03, 2017 9:09 am
Forum: Troubleshooting
Topic: Pi Zero+ wifi running apache server loses network connection
Replies: 3
Views: 505

Re: Pi Zero+ wifi running apache server loses network connec

Thanks!

This works great!

could you briefly explain what it does?
by PinerdF
Wed Mar 01, 2017 10:38 pm
Forum: Troubleshooting
Topic: Pi Zero+ wifi running apache server loses network connection
Replies: 3
Views: 505

Pi Zero+ wifi running apache server loses network connection

Hi guys, I'm having a pi zero with a wifi dongle ("EDIMAX EW-7811UN Wireless USB Adapter") soldered to the test pads running in my home network. I installed apache2 server, which is running great. After the system runs for a longer period of time it appears that the pi loses the network connection ....
by PinerdF
Wed Mar 01, 2017 5:50 pm
Forum: Automation, sensing and robotics
Topic: How fast is DS2482-800
Replies: 4
Views: 1362

Re: How fast is DS2482-800

Hi there, again much time passed.. But your post is exactly what I'm working on: I'm having a big system with alot of DS18B20 temperature sensors connected over 8 buses of the DS2482-800. Currently I'm trying to set up the simultaneous reading. Could you explain how to enable the simultaneous readin...
by PinerdF
Wed Mar 01, 2017 9:04 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Speed up Refresh / Readout Rate of DS2482
Replies: 3
Views: 1353

Re: Speed up Refresh / Readout Rate of DS2482

I'm having 176 sensors, all connected in parallel to the one and only 1-wire pin GPIO4 of Raspberry Pi 3. It is arranged in a star topology with four branches, each with 44 sensors. The readout is done in about 16 seconds, as I mentioned. The only thing which appears to be different to all tutorials...
by PinerdF
Tue Feb 21, 2017 7:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Speed up Refresh / Readout Rate of DS2482
Replies: 3
Views: 1353

Speed up Refresh / Readout Rate of DS2482

Hey there, I'm currently working on the project with a lot of DS18B20 Digital Thermometer Sensors . In the current setup all sensors are connected to the GPIO4 (default 1-wire pin) in parallel. Everything works great. By using the python threading library the system is capable of reading the tempera...
by PinerdF
Mon Feb 20, 2017 1:45 pm
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3015

Re: Analog audio and hardware PWM

Even though I did not find a proper solution to this issue, I want to leave a link to another thread of how I solved my specific issue here:

viewtopic.php?f=28&t=173593&p=1117036#p1117036
by PinerdF
Mon Feb 20, 2017 1:43 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Re: Accessing two independent PWM channels RPI zero

In order to bring my monologue to an end: I didn't manage to access two independet PWM hardware channels of my RPI, since I they seems to be connected via some internal clock. Once the ALSA Audio module is started I'm no longer able to control the WS2812 LEDs. My solution to this problem now is: Buy...
by PinerdF
Mon Feb 13, 2017 9:48 pm
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3015

Re: Analog audio and hardware PWM

so maybe there is a way of closing alsa via the command line? And by doing so I could just

Code: Select all

import os
os.system('close alsa')
or is there any other option of resetting (i.e. closing) alsa?
by PinerdF
Mon Feb 13, 2017 6:59 pm
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3015

Re: Analog audio and hardware PWM

Does play_mp3_file open the alsa device and close it again before returning? This might be the right question. Surely this function makes use of the alsa module, since I'm either calling the python text to speech engine (engine = pyttsx.init()) or the pygame mixer (pygame.mixer.init()). But to be h...
by PinerdF
Mon Feb 13, 2017 5:15 pm
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3015

Re: Analog audio and hardware PWM

What I'm trying to do is: Using the pi zeros pwm to control leds and to generate audio via alsa in one python script. Since 'force_pwm_open=0' stops and starts audio generation, I'm wondering why this doesn't work for both applications in just one script. Imaging the script something like: ... while...
by PinerdF
Sun Feb 12, 2017 6:15 pm
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3015

Re: Analog audio and hardware PWM

Hey this kind of fits to my problem. I'm trying to use pi zeros pwm for the generation of audio and controlling multiple ws2812b leds. With your info of adding force_pwm_open=0 to the config.txt file, this finally seems to work. The problem is: It only works well, if I run both applications from sep...
by PinerdF
Tue Feb 07, 2017 10:33 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Re: Accessing two independent PWM channels RPI zero

So I found this: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=76898&p=548859 This kind of looks helpful: adding the line ' force_pwm_open=0 ' to the /boot/config.txt file will "[...] disables the de-popping, which means analogue audio is stopped and started each time. " and allows me to p...
by PinerdF
Mon Feb 06, 2017 10:45 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Re: Accessing two independent PWM channels RPI zero

So I think I'm making progress: I managed to control the pi zeros gpios function manually by using pigpio python library. Doing so I'm able to activate pwm0 and pwm1 on the given gpios. Both are capable of controlling the WS2812B RGB LEDs, as well as playing sounds like mp3 files via omxplayer or py...
by PinerdF
Sun Feb 05, 2017 5:23 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Re: Accessing two independent PWM channels RPI zero

meaning as well as rpi2 and rpi zero use both pwm1 and pwm0 for audio generation. Concerning the adafruit tutorial of how to control the WS2812 RGB LEDs via pwm: https://learn.adafruit.com/neopixels-on-raspberry-pi/overview it is possible to use the pwm functionality for other purposes than audio. N...
by PinerdF
Sun Feb 05, 2017 12:30 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Re: Accessing two independent PWM channels RPI zero

Ok, seems like I cannot work with this. What could a possible solution be?

Using wiringpis software pwm? I read it should be capable of controlling LEDs. Or using additional hardware? Anything cheap + small which provides additional PWM and maybe is speaking I2C or something?
by PinerdF
Sat Feb 04, 2017 9:08 pm
Forum: Troubleshooting
Topic: Accessing two independent PWM channels RPI zero
Replies: 9
Views: 3753

Accessing two independent PWM channels RPI zero

I'm working on a raspberry pi zero project, where I wanted to use two independent PWM channels . One for the generation of an audio output, like described by this adafruits tutorial: https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/pi-zero-pwm-audio And the other PWM for the ...
by PinerdF
Mon Sep 05, 2016 9:58 am
Forum: Gaming
Topic: SuperGamePi - RetroPie - Using analog Joystick and mcp3008
Replies: 0
Views: 775

SuperGamePi - RetroPie - Using analog Joystick and mcp3008

Hi there, I'm working on a portable GamePi emulations station similar to the adafruit tutorial on the Super Game Pi . Instead of using the analog joystick just like a simple dpad controller via the adafruit cupcade adapter, I want to read out the analog data in small steps, so for example I can get ...
by PinerdF
Mon Sep 05, 2016 9:18 am
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2644

Re: Rasp pi3 and MCP3008 + Joystick

hey, I did successfully follow the mcp3008 Tutorial of how to access a analog Joystick and I'm able to read out the digital data of the analog joystick like shown in the tutorial. Now I'm trying to use this analog joystick as retropie input controller. I read about using additional ADCs like teensy ...
by PinerdF
Wed Sep 30, 2015 8:26 am
Forum: Troubleshooting
Topic: Dhcpcd problem
Replies: 3
Views: 2503

Re: Dhcpcd problem

Got the same error during boot:

Code: Select all

dhcpcd[2130]: unknown option: SSID
about 10 times the same line... could you solve your problem?

Go to advanced search