Go to advanced search

by Bosse_B
Tue Oct 13, 2015 3:14 pm
Forum: Raspberry Pi OS
Topic: How does one add a new item to the Menu?
Replies: 8
Views: 8043

Re: How does one add a new item to the Menu?

OK thanks,
let's see what happens the next time I install new GUI programs (after rebooting first)...
by Bosse_B
Tue Oct 13, 2015 12:42 pm
Forum: General discussion
Topic: GPIO state at boot turns relays on
Replies: 8
Views: 3151

Re: GPIO state at boot turns relays on

Just to complete the story... I traced the schematics now and it is pretty simple: The input control runs through a 1K resistor to the LED of an 817C opto-coupler. The output of the coupler directly drives the relay coil (there is a protection diode also). The relay coil is 70 ohms and supposed to b...
by Bosse_B
Tue Oct 13, 2015 9:56 am
Forum: General discussion
Topic: GPIO state at boot turns relays on
Replies: 8
Views: 3151

Re: GPIO state at boot turns relays on

OK, good to know!
I will move to another output, I tried GPIO14 (pin 8) which is the next one on the even numbered row but it was also high.
GPIO18 on pin 12 seems to work as expected though.
Is there a summary somewhere where one can see what the boot state of the pins are?
by Bosse_B
Tue Oct 13, 2015 9:08 am
Forum: General discussion
Topic: GPIO state at boot turns relays on
Replies: 8
Views: 3151

Re: GPIO state at boot turns relays on

Right now I am using GPIO3 on pin 5 to drive the test relay. I have checked a number of other outputs when I debugged the I/O driver, but I never rebooted before with teh relay board connected. Unfortunately I don't have any schematics for the board. Quite possibly it has a buffer transistor before ...
by Bosse_B
Tue Oct 13, 2015 8:28 am
Forum: General discussion
Topic: GPIO state at boot turns relays on
Replies: 8
Views: 3151

GPIO state at boot turns relays on

I have been looking for an interface into my programming language for manipulating the GPIO pins and I have found a good solution. So I connected a relay board to the GPIO connector and all seemed to work well. However today I rebooted my Pi2 and it turned on the relays! So it seems like the Pi come...
by Bosse_B
Tue Oct 13, 2015 8:22 am
Forum: General discussion
Topic: Automatically run command once booted up?
Replies: 13
Views: 2347

Re: Automatically run command once booted up?

/home/pi/.config/lxsession/LXDE-Pi/autostart EMJB I detected a slight typo in your file name. It should be: /home/pi/.config/lxsession/LXDE-pi/autostart (Lowercase pi) Question: If I want to automatically start a vnc server and I have a shellscript /home/pi/vnc.sh that can do this, how can I includ...
by Bosse_B
Tue Oct 13, 2015 3:34 am
Forum: Raspberry Pi OS
Topic: How does one add a new item to the Menu?
Replies: 8
Views: 8043

Re: How does one add a new item to the Menu?

Does one have to reboot the Pi in order for these changes to propagate? Simple enough to test so I did that. Turns out that also after a reboot Cervisia is still not displayed on the Menu even though it is shown as checked in the Menu Editor.... I had to open Main Menu Editor and then uncheck the C...
by Bosse_B
Tue Oct 13, 2015 3:24 am
Forum: Raspberry Pi OS
Topic: How does one add a new item to the Menu?
Replies: 8
Views: 8043

Re: How does one add a new item to the Menu?

https://www.raspberrypi.org/blog/raspbian-jessie-is-here/ The other new setting dialog is the Main Menu Editor. Thanks, that was it, I think. However, when I open it Cervisia appears in the list of programming tools in the Menu Editor and yet it is not visible on the actual menu. Does one have to r...
by Bosse_B
Mon Oct 12, 2015 9:43 pm
Forum: Automation, sensing and robotics
Topic: Plug-on relay driver anywhere?
Replies: 5
Views: 937

Re: Plug-on relay driver anywhere?

I bought a 4-relay board designed for Arduino. Does not matter because it operates on 5VDC and GPIO control bits via an opto coupler in each channel.
Works just fine.
by Bosse_B
Mon Oct 12, 2015 9:41 pm
Forum: Raspberry Pi OS
Topic: STICKY: Jessie (now defunct and replaced with Stretch) Q&A
Replies: 396
Views: 245953

Re: Jessie Q&A

I have started a separate thread about the strange way the start Menu in Jessie behaves. Please check what is going on there. Newly installed GUI programs do not appear on the Menu until another GUI program is installed, which in its turn does not show up... Seems like there is an OBOB bug somewhere...
by Bosse_B
Mon Oct 12, 2015 9:37 pm
Forum: Raspberry Pi OS
Topic: How does one add a new item to the Menu?
Replies: 8
Views: 8043

Re: How does one add a new item to the Menu?

Is this REALLY an unknown? Meanwhile I have installed another GUI program called Cervisia and it too does not find its way onto the start Menu. But amazingly roundabout when I installed Castalia Lazarus appeared in the Menu/Programming list!!! Seems like Jessie is one program behind in its display ...
by Bosse_B
Mon Oct 12, 2015 10:17 am
Forum: Raspberry Pi OS
Topic: PPTP VPN client in Jessie?
Replies: 7
Views: 22853

Re: PPTP VPN client in Jessie?

I have found a web resource here: Using PPTP VPN on Raspberry Pi I have followed its description but I cannot connect anyway, the remote server rejects my connection.... When I use Win7 VPN using PPTP I am successfully logged on every time. So what is the difference between the Windows and Raspbian ...
by Bosse_B
Sun Oct 11, 2015 9:59 pm
Forum: Raspberry Pi OS
Topic: PPTP VPN client in Jessie?
Replies: 7
Views: 22853

Re: PPTP VPN client in Jessie?

fyi Debian based Distros, like Mint, shown in the Youtube Video, use "network-manager & network-manager-gnome (maybe also network-manager-pptp-gnome)" to manage networks Raspbian LXDE-pi Desktop use by default "dhcpcd and dhcpcd-ui packages" Yes I know. In Linux Mint it was really simple as shown i...
by Bosse_B
Sun Oct 11, 2015 8:28 pm
Forum: Raspberry Pi OS
Topic: PPTP VPN client in Jessie?
Replies: 7
Views: 22853

Re: PPTP VPN client in Jessie?

I think that you misunderstood me.... I need the Pi2 to connect as a client to a PPTP VPN server running on a company I work for so I can manage the embedded software development I am doing on the Pi2 itself. The source code needs to be managed through the Version Control system at this company (CVS...
by Bosse_B
Sun Oct 11, 2015 7:54 pm
Forum: Raspberry Pi OS
Topic: PPTP VPN client in Jessie?
Replies: 7
Views: 22853

PPTP VPN client in Jessie?

How does one set up a PPTP VPN client in Raspbian Jessie? I know how to set up a PPT server in Wheezy but now I need to connect the Pi2B to our company VPN to reach the CVS server for source code management. In other Linux distros (on the PC platform) there was a network manager GUI where configura...
by Bosse_B
Sun Oct 11, 2015 3:44 pm
Forum: Raspberry Pi OS
Topic: Raspbian 2015-05-05 missing WiFi config?
Replies: 25
Views: 6627

Re: Raspbian 2015-05-05 missing WiFi config?

That is not what I wanted... It is not the WiFi itself that should be disabled but a specific network. Say you are in a place with 4 different WiFi networks. You want to connect to a specific one so you select it and enter the passphrase. Now you find that this is not the one you intended so you wan...
by Bosse_B
Sun Oct 11, 2015 2:54 pm
Forum: Raspberry Pi OS
Topic: Raspbian 2015-05-05 missing WiFi config?
Replies: 25
Views: 6627

Re: Raspbian 2015-05-05 missing WiFi config?

Are you sure about the name of the conf file? I have neither a wep_supplicant dir nor an /etc/wep_supplicant/wepsupplicant.conf file... Did you create it all by yourself? I have the same info but inside the wpa_supplicant.conf file: network={ ssid="bossehemma" key_mgmt=NONE auth_alg=SHARED wep_key0=...
by Bosse_B
Sun Oct 11, 2015 9:39 am
Forum: Raspberry Pi OS
Topic: Raspbian 2015-05-05 missing WiFi config?
Replies: 25
Views: 6627

Re: Raspbian 2015-05-05 missing WiFi config?

The command to restart networking seems to have done what it should. The WiFi, which was disconnected before I issued that command connected again to the WPA network. :) I have still not been able to reach the WEP network even though I have tried both variations for the auth_alg setting (OPEN and SH...
by Bosse_B
Sun Oct 11, 2015 9:05 am
Forum: Raspberry Pi OS
Topic: Raspbian 2015-05-05 missing WiFi config?
Replies: 25
Views: 6627

Re: Raspbian 2015-05-05 missing WiFi config?

VERIFIED on Raspbian Jessie: I now can connect to a WPA WiFi network! ;) Still a problem: But WEP to the main network is still a no-go. I have edited the wpa_supplicant.conf several times now and it seems to make no difference. In fact the Pi did not connect to the WPA network either until I clicke...
by Bosse_B
Sun Oct 11, 2015 7:13 am
Forum: General discussion
Topic: Where is the connection diagram for Pi2?
Replies: 5
Views: 858

Re: Where is the connection diagram for Pi2?

Good that I asked... It seems like the mapping in the example on the lazarus wiki is wrong then! I changed the test program so it uses pins 13 and 15 as input and output. Now when I toggle the output I constantly read a 1 on the input! So the pin defines need to be corrected! These are the valid pin...
by Bosse_B
Sat Oct 10, 2015 10:39 pm
Forum: Raspberry Pi OS
Topic: Raspbian 2015-05-05 missing WiFi config?
Replies: 25
Views: 6627

Re: Raspbian 2015-05-05 missing WiFi config?

UPDATE: I have now scrapped my Raspbian Wheezy installation and re-done the whole thing using a bigger SDcard and the Raspbian Jessie image. Now the WiFi items are listed when I right click the network icon and I get to enter the passphrase. It did not connect, but I bet this is because of the WEP ...
by Bosse_B
Sat Oct 10, 2015 10:17 pm
Forum: Automation, sensing and robotics
Topic: Plug-on relay driver anywhere?
Replies: 5
Views: 937

Re: Plug-on relay driver anywhere?

I found that I can toggle GPIO pins from my Free Pascal program (see this thread).
But I could not find any simple ready-made plug-on accessory that implements a relay output.
So I will build a board myself with the needed components.
Done.
by Bosse_B
Sat Oct 10, 2015 10:14 pm
Forum: Other programming languages
Topic: PiGpio FPC driver class for the Pi2?
Replies: 2
Views: 1212

Re: PiGpio FPC driver class for the Pi2?

Just to close this thread: I used your advice on both counts (second one given in another thread): 1) Redefine the address depending on Pi1 or Pi2 using a conditional define 2) Change the device from /dev/mem to /dev/gpiomem, which can be used by user pi without root The example program now works i...
by Bosse_B
Sat Oct 10, 2015 9:55 pm
Forum: General programming discussion
Topic: Trying to find FPC solution for GPIO pin setting
Replies: 11
Views: 3051

Re: Trying to find FPC solution for GPIO pin setting

/dev/gpiomem should work with an up to date RPi Foundation version of Raspbian. VERY GOOD ADVICE! Thank you so much! I have now modified the PiGpio.pas file shown in the lazarus wiki in the following way: 1) Added a conditional define for RPI2, which controls the setting of the REG_GPIO value 2) Ch...
by Bosse_B
Sat Oct 10, 2015 9:49 pm
Forum: General discussion
Topic: Where is the connection diagram for Pi2?
Replies: 5
Views: 858

Re: Where is the connection diagram for Pi2?

Thanks, but now I got really really confused.... I have located a test program made as an example for PiGpio.pas, a free-pascal driver for GPIO. It can be found here below the actual PiGpio.pas file. What bugged me is how the actual pins on the connector are mapped to the numbers used in the call to...

Go to advanced search