Go to advanced search

by Linkan
Sat Apr 02, 2016 8:08 pm
Forum: General discussion
Topic: RPi 3 can't configure as a wifi AP
Replies: 10
Views: 2262

Re: RPi 3 can't configure as a wifi AP

Hi, I had the same problem and the article writer was a great help.My PC was not picking up a DNS server ,But conected to the pi3 OK. He sugested: server=8.8.8.8 is correct "you can try the line 'dhcp-option=option:dns-server,8.8.8.8' in dnsmasq.conf". That worked for me. Hi terrick, thanks for the...
by Linkan
Sat Apr 02, 2016 3:32 pm
Forum: General discussion
Topic: RPi 3 can't configure as a wifi AP
Replies: 10
Views: 2262

Re: RPi 3 can't configure as a wifi AP

Are you using the same LAN segment (10.0.0.x/24) for both the wifi and ethernet side? That will not work with the way the rest is set up (DHCP, NAT) Try using a different segment (e.g. 192.168.100.x/24) for the wifi side. So you mean I could edit dhcpcd.conf with the following content: interface wl...
by Linkan
Sat Apr 02, 2016 12:50 pm
Forum: General discussion
Topic: RPi 3 can't configure as a wifi AP
Replies: 10
Views: 2262

Re: RPi 3 can't configure as a wifi AP

Are you using the same LAN segment (10.0.0.x/24) for both the wifi and ethernet side? That will not work with the way the rest is set up (DHCP, NAT) Try using a different segment (e.g. 192.168.100.x/24) for the wifi side. So you mean I could edit dhcpcd.conf with the following content: interface wl...
by Linkan
Sat Apr 02, 2016 12:30 pm
Forum: General discussion
Topic: RPi 3 can't configure as a wifi AP
Replies: 10
Views: 2262

Re: RPi 3 can't configure as a wifi AP

I have looked around the web for a simple guide on how to configure my raspberry pi 3 as an access point and the most up-to-date tutorial that I found was this one. I just can't get it to work properly. I can connect to my raspberry pi 3 and I do get an ip address, but I do not get any internet acc...
by Linkan
Fri Apr 01, 2016 11:57 pm
Forum: General discussion
Topic: RPi 3 can't configure as a wifi AP
Replies: 10
Views: 2262

RPi 3 can't configure as a wifi AP

I have looked around the web for a simple guide on how to configure my raspberry pi 3 as an access point and the most up-to-date tutorial that I found was this one. I just can't get it to work properly. I can connect to my raspberry pi 3 and I do get an ip address, but I do not get any internet acce...
by Linkan
Fri Apr 01, 2016 1:45 pm
Forum: Astro Pi
Topic: Using SenseHAT from C
Replies: 7
Views: 9778

Re: Using SenseHAT from C

basicsensor.tar.gz
(5.41 KiB) Downloaded 586 times
For any curious future readers, I did get it working based on experix code. See attachment for details. Note I tried minimizing this as much as possible so it isn't necessarily complete.
by Linkan
Thu Mar 10, 2016 3:01 pm
Forum: Astro Pi
Topic: Using SenseHAT from C
Replies: 7
Views: 9778

Re: Using SenseHAT from C

I am taking little baby steps with this and trying to explore all aspects of the problem. Consequently I have not yet gotten around to the humidity and pressure. With the help of the datasheet you should be able to adapt my code to read those things. My equipment is packed in a moving pod and it wi...
by Linkan
Wed Mar 09, 2016 9:31 pm
Forum: Astro Pi
Topic: Using SenseHAT from C
Replies: 7
Views: 9778

Re: Using SenseHAT from C

I made example programs that operate the LED matrix; get joystick input; and monitor temperature reported by the pressure sensor, temperature/humidity sensor, accelerometer and CPU. Find it in https://experix.sourceforge.net . Click Dowload source files and information , select sense-hat , download...
by Linkan
Mon Mar 07, 2016 1:52 pm
Forum: Astro Pi
Topic: Using SenseHAT from C
Replies: 7
Views: 9778

Using SenseHAT from C

Hi,

How do I access the sense hat using only C? I looked in the snake example written in C but I need to know how I can access the humidity/barometer/temperature sensors.

I'd be very grateful if you anyone could provide me with an example in C on how I can fetch humidity level for example. :D
by Linkan
Mon Feb 22, 2016 11:58 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

DougieLawson wrote:Is it running Rasbian Wheezy or Raspbian Jessie?
Latest version of Raspbian Jessie downloaded from raspberrypi.org.
by Linkan
Mon Feb 22, 2016 3:41 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

I assume there's an iface usb0 inet manual line in your interfaces file (or something like that). Have you got a matchng auto usb0 or allow-hotplug usb0 in your inerfaces file? This is my interface file on the pi 2: auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet static address ...
by Linkan
Mon Feb 22, 2016 1:03 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

Does anyone have any suggestions? :?:
by Linkan
Sun Feb 21, 2016 6:32 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

So after a couple of days this solution works really good. I have one small problem however. If I reboot my rpi 2, the network connection will not automatically reestablish itself and I have to restart my rpi zero aswell. Can I somehow make sure the connection between my rpi zero and rpi 2 is reesta...
by Linkan
Thu Feb 18, 2016 4:52 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

Glad you found a solution that works for you, my solution was somewhat different, but whatever works for you. You may find it worthwhile to investigate using the g_cdc module rather then g_ether, it's main advantage being that it appears to the host as a usb-serial port (/dev/ttyACM0) in addition t...
by Linkan
Thu Feb 18, 2016 12:15 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

Erm, according to what you just pasted you set the gateway on the pi0 to 10.0.2.1 but the address on the pi2 to 10.0.1.1 Ahah, thanks plugwash. How silly of me... :oops: After correctly setting the gateway to 10.0.1.1 on the pi zero and rebooting everything, I can do ping 10.0.0.150 and ping google...
by Linkan
Thu Feb 18, 2016 12:01 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

Re: IPv4 forwarding from RPi 2 to RPi zero via OTG cable

Your gateway settings on USB0 are wrong. On the zero the gateway addresss should be the address of the pi2. On the pi2 no gateway should be set on USB0 (one should be set on the interface the pi2 uses to connect to the internet). So I changed /etc/network/interfaces on the pi zero to: source-direct...
by Linkan
Wed Feb 17, 2016 1:54 pm
Forum: Graphics, sound and multimedia
Topic: Add USB power to speakers??
Replies: 5
Views: 1048

Re: Add USB power to speakers??

The easiest solution I can think of is to use a USB Sound Card Adapter like this one.
by Linkan
Wed Feb 17, 2016 1:45 pm
Forum: General discussion
Topic: IPv4 forwarding from RPi 2 to RPi zero via OTG cable
Replies: 14
Views: 2935

IPv4 forwarding from RPi 2 to RPi zero via OTG cable

I am trying to use my raspberry pi zero together with my raspberry pi 2 and I want to share network access from my raspberry pi 2 to my raspberry pi zero. I can easily create a local network connection between my raspberry pis, but I have a problem sharing network access. First of I followed this gu...
by Linkan
Sun Nov 01, 2015 5:44 pm
Forum: Off topic discussion
Topic: Connecting IR Infrared Board Plate to PSU not working
Replies: 2
Views: 673

Re: Connecting

On the PCB next to the power connector it says +12v and this is next to the BLACK wire on the power connector by the look of it. Have you got your power supply connected the right way. Won't the red wire be +12v? MrEngman Ah, that was it! That was really simple, sorry for wasting your time. The col...
by Linkan
Sun Nov 01, 2015 5:35 pm
Forum: Off topic discussion
Topic: Connecting IR Infrared Board Plate to PSU not working
Replies: 2
Views: 673

Connecting IR Infrared Board Plate to PSU not working

Hi, I am trying to connect this with this 12V 2A stabilized dc power supply. http://i.imgur.com/hDFNpLT.jpg For some reason the IR plate doesn't draw any current and I suspect it is broken. Even with the light sensor completely covered non of the IR leds light up. This is the board which looks fine ...
by Linkan
Sat Oct 31, 2015 6:18 pm
Forum: General discussion
Topic: Programming an AVR with modern version of Arduino IDE
Replies: 1
Views: 566

Programming an AVR with modern version of Arduino IDE

I have been trying to install the latest stable version of the Arduino IDE (currently 1.6.5) to use with programming an ATMega328-PU via the ISP interface. I have been using the instructions from Gordon to program my AVR successfully. The problem is that the version of the IDE in the raspbian reposi...
by Linkan
Tue Aug 18, 2015 6:54 pm
Forum: General discussion
Topic: Raspberry Pi USB microphone 1 Khz background noise interfere
Replies: 16
Views: 5691

Re: Raspberry Pi USB microphone 1 Khz background noise inter

Yes, that could make a big difference. Your experiment with 2200uF more or less proved it was power interference anyway. Okay, but before I buy that one, I did run the same test with the 2200 uF capacitor but this time with the wireless adapter I mentioned above. It ought to work with the wireless ...
by Linkan
Tue Aug 18, 2015 3:26 pm
Forum: General discussion
Topic: Raspberry Pi USB microphone 1 Khz background noise interfere
Replies: 16
Views: 5691

Re: Raspberry Pi USB microphone 1 Khz background noise inter

well you are using aluminium foil capacitors, which for higher frequencies are not the best, as they have a high parasitic inductance. That why I advised a tantalium capacitor, although they do not tend to come in quite as large capacities. something like this perhaps: http://uk.farnell.com/multico...
by Linkan
Fri Aug 14, 2015 9:46 pm
Forum: General discussion
Topic: Raspberry Pi USB microphone 1 Khz background noise interfere
Replies: 16
Views: 5691

Re: Raspberry Pi USB microphone 1 Khz background noise inter

I agree better isn't necessarily bigger, 1000uF is more for repressing 50Hz noise than for 1KHz noise, although 330uF would probably be enough. As for your recommendation, I agree, up to a point, as a B already has a 47uF tantalium, and 100nF ceramic decoupling near the USB ports, I think just addi...

Go to advanced search