Go to advanced search

by rasp14
Thu Jun 06, 2019 8:58 am
Forum: Other programming languages
Topic: WiringPi C# wrapper unable to quit console normally
Replies: 0
Views: 580

WiringPi C# wrapper unable to quit console normally

Hi All, Need some help over here, I'm using WiringPi C# wrapper from this link . My Pi is Pi1B, installed with latest Raspian Stretch. I wrote a simple C# code to test out the gpio interrupt feature. I execute the program using mono version 5.20.1.19. If pin 17 is detect rising or falling edge, turn...
by rasp14
Wed May 29, 2019 2:05 am
Forum: Networking and servers
Topic: Can't get clients ping each other in PAN network
Replies: 2
Views: 373

Re: Can't get clients ping each other in PAN network

No one able to help on this? I hope some one can point me to right direction :(
by rasp14
Sun May 26, 2019 2:47 pm
Forum: Networking and servers
Topic: Can't get clients ping each other in PAN network
Replies: 2
Views: 373

Can't get clients ping each other in PAN network

Hi All, I'd like to create a bluetooth Piconet where all my Pis can talk to each other. I followed the guide from here http://blog.fraggod.net/2015/03/28/bluetooth-pan-network-setup-with-bluez-5x.html and i was able to pair and connect my Pis without issue. I also got a dhcp server running using isc...
by rasp14
Fri Sep 14, 2018 4:19 pm
Forum: Windows 10 for IoT
Topic: Send data over wifi from raspberry to android using windows and c# in both sides
Replies: 1
Views: 4595

Re: Send data over wifi from raspberry to android using windows and c# in both sides

You can expose any data in Raspberry Pi you intended via a self-hosted web service written using C#. You can use WCF (Tcp binding only for Raspberry Pi) or Owin. Google both term should be enough to get you started. I personally like to use Owin because it can support multiple flavor of services suc...
by rasp14
Fri Sep 14, 2018 3:28 pm
Forum: Camera board
Topic: MMALSharp - C# API for Raspberry Pi Camera
Replies: 36
Views: 6791

Re: MMALSharp - C# API for Raspberry Pi Camera

Hi OP, I've just found out this API of yours and it look great! Thanks for taking the effort to expose the native camera API for C#! A few questions for you hopefully you can help to answer. 1. Is there a way to capture still image in bytes instead of saving it into storage? 2. Is there a method sim...
by rasp14
Thu Dec 21, 2017 10:48 am
Forum: Raspbian
Topic: Improved (=reliable) Wait for Network implementation
Replies: 4
Views: 6782

Re: Improved (=reliable) Wait for Network implementation

Thanks for this code. While it works properly in Raspbian Jessie 20170705 image with desktop environment. However, when i try it on Raspbian Jessie Lite 20170705 image, script always enter failed state. Refer to below for systemctl status message: Raspbian Jessie Lite network-wait-online.service - W...
by rasp14
Wed Sep 06, 2017 1:27 am
Forum: C/C++
Topic: WiringPi wiringPiISR not working with C# even though return 0
Replies: 1
Views: 743

WiringPi wiringPiISR not working with C# even though return 0

Hi All, I'm using Gordon's WiringPi api and wrote a web service interfacing with GPIO using C#. Everything is working as intended. Just one minor issue i observed in wiringPiISR api. When my program start running, it will always call for initialization of GPIO ports once. One of them is to assign an...
by rasp14
Tue May 23, 2017 9:24 am
Forum: Advanced users
Topic: Is it possible to implement bluetooth mesh network on Pi?
Replies: 3
Views: 7006

Re: Is it possible to implement bluetooth mesh network on Pi

Check the Wiced pages on Cypress. Mesh I think was possible from 4.1 New 5.0 BT does mesh? Cypress did talk about doing mesh on their chip before BCM buy out. Is it just driver software or does mesh need hardware changes too? CYW43438 is 4.1 http://www.cypress.com/products/ieee-80211abgn-wlan-bluet...
by rasp14
Mon May 22, 2017 11:23 pm
Forum: Advanced users
Topic: Is it possible to implement bluetooth mesh network on Pi?
Replies: 3
Views: 7006

Is it possible to implement bluetooth mesh network on Pi?

As the title suggest, is it possible? I've googling for quite a while but all i found are some implementation using wifi but not bluetooth. I'm stuck at level where i can connect bluetooth devices to Pi and assign ip address to bluetooth devices. But clients can't talk to each other except for Pi it...
by rasp14
Tue May 09, 2017 8:35 am
Forum: Beginners
Topic: Systemctl Service Not Wait For Network Before Start Running
Replies: 0
Views: 253

Systemctl Service Not Wait For Network Before Start Running

Hi All, I need help, I have a service currently configured and running. Here is how my code looks like [Unit] Description=Service1 Wants=network-online.target After=network-online.target [Service] Type=simple WorkingDirectory=/../../ ExecStart=/../../.. User=pi Restart=always [Install] WantedBy=mult...
by rasp14
Fri May 05, 2017 12:29 pm
Forum: Beginners
Topic: Measure Current On Raspberry Pi 1 Model B+
Replies: 2
Views: 404

Re: Measure Current On Raspberry Pi 1 Model B+

Thanks for the link! It looks like the reading i get is normal based on their data.
by rasp14
Fri May 05, 2017 10:41 am
Forum: Beginners
Topic: Measure Current On Raspberry Pi 1 Model B+
Replies: 2
Views: 404

Measure Current On Raspberry Pi 1 Model B+

I'm getting around 0.26A to 0.3A when i turn on my Pi. Is this reading normal? There is only one wifi dongle connect to usb port and the Pi is running headless.
by rasp14
Mon Apr 17, 2017 12:36 pm
Forum: General discussion
Topic: Pi Zero W Not Available In South East Asia?
Replies: 6
Views: 1006

Re: Pi Zero W Not Available In South East Asia?

Official distributor in China(element14) told me that they don't ship to individual. Their web site would ask if I am a company or not, and direct me to local third party vendor. Luckily, local vendor is selling Pi 0 W here. Not in Malaysia. The element14 Malaysia web site didn't even show the prod...
by rasp14
Mon Apr 17, 2017 12:33 pm
Forum: General discussion
Topic: Pi Zero W Not Available In South East Asia?
Replies: 6
Views: 1006

Re: Pi Zero W Not Available In South East Asia?

Hi All, May i know is there a plan to let element14 or RS Malaysia to sell raspberry pi zero w? Not sure why, seems like the zero series are not available in SEA. I search numerous site, but seems like no one is selling in SEA. I love to get one for my new project. Anyone can tell me how to get one...
by rasp14
Mon Apr 17, 2017 11:23 am
Forum: General discussion
Topic: Pi Zero W Not Available In South East Asia?
Replies: 6
Views: 1006

Pi Zero W Not Available In South East Asia?

Hi All, May i know is there a plan to let element14 or RS Malaysia to sell raspberry pi zero w? Not sure why, seems like the zero series are not available in SEA. I search numerous site, but seems like no one is selling in SEA. I love to get one for my new project. Anyone can tell me how to get one ...
by rasp14
Thu Feb 23, 2017 2:45 am
Forum: Advanced users
Topic: Get bluetooth client connected to Pi 3, talk to each other.
Replies: 0
Views: 854

Get bluetooth client connected to Pi 3, talk to each other.

Here is my references for setting up bluetooth PAN in Pi. I'm using Pi3 by the way. 1. http://blog.fraggod.net/2015/03/28/bluetooth-pan-network-setup-with-bluez-5x.html 2. https://blind.guru/tag/bluetooth-pan.html So i got my Pi3 act as master and got an android phone and a window PC connected via P...
by rasp14
Sun Feb 05, 2017 3:13 pm
Forum: Advanced users
Topic: Any Project Utilizing Cypress Semiconductor Driver?
Replies: 0
Views: 319

Any Project Utilizing Cypress Semiconductor Driver?

I've been working on this project from work that require me to write a library using .NET for interfacing with a Cypress device plugged into raspberry pi via USB. I've been following the instruction from its official web site and got it to work with raspbian after building all the necessary packages...
by rasp14
Wed Mar 09, 2016 1:53 am
Forum: Troubleshooting
Topic: Green Light No Longer Blinking When Power Down
Replies: 14
Views: 2243

Re: Green Light No Longer Blinking When Power Down

NickT wrote:Without knowing about this thread, I posted this in troubleshooting

viewtopic.php?f=28&t=138397&p=918817#p918817

It shows that this phenomenon does manifest itself with the Pi A+ and the current full kernel.
Thanks for the info. I'm not alone after all...
by rasp14
Mon Feb 22, 2016 10:21 am
Forum: Troubleshooting
Topic: What happen if i short "RUN" header with wire while Pi is id
Replies: 3
Views: 601

Re: What happen if i short "RUN" header with wire while Pi i

Noted. I shall not use this unless necessary.
by rasp14
Mon Feb 22, 2016 7:20 am
Forum: Troubleshooting
Topic: What happen if i short "RUN" header with wire while Pi is id
Replies: 3
Views: 601

What happen if i short "RUN" header with wire while Pi is id

As mentioned on the subject, anyone did this before on their Pi? Any damage done on the SD card if we did it while Pi is idling? I did it out of curiosity, and Pi restart on the spot. But it did not go through normal reboot procedure it seems... (No message shown on monitor) My Pi reboot straight aw...
by rasp14
Mon Feb 22, 2016 4:43 am
Forum: Troubleshooting
Topic: Green Light No Longer Blinking When Power Down
Replies: 14
Views: 2243

Re: Green Light No Longer Blinking When Power Down

Checked my P2B with this Jessie (full) version: pi@raspiJamesA8Gb ~ $ uname -a Linux raspiJamesA8Gb 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux and then updated/upgraded** to this: pi@raspiJamesA8Gb ~ $ uname -a Linux raspiJamesA8Gb 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:...
by rasp14
Mon Feb 22, 2016 2:41 am
Forum: Raspbian
Topic: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?
Replies: 6
Views: 1484

Re: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?

I wonder if the phone is drawing a lot of current and tripping the usb current limit. Is the behaviour any different if you put max_usb_current=1 in /boot/config.txt and reboot? I didn't know I can set that. I'll definitely try that later. In fact I suspect that my wall plug could be causing some s...
by rasp14
Sat Feb 20, 2016 9:07 am
Forum: Raspbian
Topic: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?
Replies: 6
Views: 1484

Re: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?

Hi, Another update, seems like several hours later my using the old raspbian image i once again hit into same issue. Except this time, i was able to see more stuff going on. As i explained earlier, i thought my Pi hang and causing LAN and WiFi down. But that is not the case, the Pi is still running,...
by rasp14
Sat Feb 20, 2016 2:58 am
Forum: Troubleshooting
Topic: Green Light No Longer Blinking When Power Down
Replies: 14
Views: 2243

Re: Green Light No Longer Blinking When Power Down

Hi All, I observed another issue on my Pi and I think it is some how related to the green light no blinking after shutdown. I used back old raspbian (2015 Nov) and I can see the blinking green light again when shutdown. So I guess this observation tell us there might be an issue with the latest imag...
by rasp14
Sat Feb 20, 2016 2:51 am
Forum: Raspbian
Topic: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?
Replies: 6
Views: 1484

Re: Jessie Lite 2016-02-09 dhclient issue cause RPi Hang?

I don't think it's 1 or 2. How are you determining that anything is hanging? It sounds like you're just dropping the network by launching another dhcp client. I am not entirely sure why you're doing it that way and what behaviour you're expecting, so I am afraid I can't be of much help here. Hi, Th...

Go to advanced search