Go to advanced search

by Yazidapple
Fri Feb 23, 2018 6:40 pm
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

Hi, The calculation methods I can comprehend, however........ I want to use a ble sensor instead of an GPIO sensor for my project (I have a Major dislike towards Cords when it can be done Wireless). I get data from my ble sensor but can't use it nor calculate the RPM from it. The point for me is: I...
by Yazidapple
Wed Sep 20, 2017 2:45 pm
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

falent wrote:
Wed Sep 20, 2017 12:20 pm
hey, is it possible to test your code? Could you please send it to me? [email protected]
Sure, will give you the code once i get a hold of my Pi.
by Yazidapple
Sun Aug 20, 2017 11:07 am
Forum: General discussion
Topic: Raspbian Stretch Headless Setup Procedure
Replies: 69
Views: 220841

Raspbian Stretch Headless Setup Procedure

To set any Raspberry Pi in headless mode, you'll only need your Pi with pre-loaded Raspbian OS (latest is Stretch) and your Wi-Fi network. Make sure you know your Wi-Fi SSID and Password in order to perform headless setup. Once you've burned/etched the Raspbian image onto the microSD card, connect t...
by Yazidapple
Mon Jul 03, 2017 12:12 pm
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

gurudattakr123 wrote:How can we change this code so that rpm and kmph must come back to 0 when wheel is not rotating?

will work on that. as for now you could try to search for other alternatives. i would recommend you to use Arduino for speedometer project instead of Pi.
by Yazidapple
Fri Jun 09, 2017 1:46 pm
Forum: General discussion
Topic: Feedback pls: Access desktop and website behind firewall
Replies: 7
Views: 1830

Re: Feedback pls: Access desktop and website behind firewall

(this is a carbon copy of my enquiry in your other post) I know that someone has already asked this question before but it seems like there is no solution to that problem yet. So basically i want to build a simple smart home CCTV that can stream MJPEG and also control home appliances using websocket...
by Yazidapple
Fri Jun 09, 2017 1:34 pm
Forum: General discussion
Topic: Feedback pls: Remotely connect to your Raspberry Pi
Replies: 64
Views: 19304

Running 2 web services of different ports

I know that someone has already asked this question before but it seems like there is no solution to that problem yet. So basically i want to build a simple smart home CCTV that can stream MJPEG and also control home appliances using websocket. So i have installed UV4L on my Pi which basically strea...
by Yazidapple
Fri May 12, 2017 9:58 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

hey i am not able to open the drop box link it shows crashed could you jst guide me through the dropbox files as i am unable to download them. sorry the dropbox account is no longer exist. if you really want the project folder i could try to share it again. but it is such an old project and i'm pre...
by Yazidapple
Tue Apr 11, 2017 12:39 pm
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

Onkarb68 wrote:Can anyone please tell which RPM sensor has got best accuracy for Raspberry pi3 model B?
are you asking for devices that could be used as speed sensor for Raspberry Pi?
any hall effect sensor or even a simple reed switch would suffice.
by Yazidapple
Tue Apr 11, 2017 12:37 pm
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

i've tried the code and i get a normal result overall. but reading can't back to 0 if rotation get stopped. how did it happen? actually its just because there's simply no logic for it in the code :lol: i just found a speed sensor (rotary disc) for Arduino on this website. https://brainy-bits.com/bl...
by Yazidapple
Wed Dec 07, 2016 5:40 am
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

am3u wrote:but how much accurate is it
the accuracy is quite acceptable for small and simple project where you just wanna create a simple speedometer to calculate the speed of your bike / motobike. as mentioned our friend above, pigpio method is the most accurate implementation.
by Yazidapple
Wed Dec 07, 2016 5:35 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

MrBulp wrote:hi Yazid... can i have your email please..

thanks
hi mr blurp!
my email : [email protected]om
by Yazidapple
Sat Aug 13, 2016 4:31 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

It works!!!! :lol: The issue was with the download i made from your dropbox, I downloaded this on my work (enterprise) network so i guess the amcharts.js file was not downloaded correctly. did it again at home and it works just fine now. corporate security!!! :lol: i see. congratz then! now you hav...
by Yazidapple
Tue Aug 09, 2016 2:27 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

Thanks for the reply, I had to start over as due to my fumbling around, the OS crashed. now though, i guess i am being impatient, launch fast_perfect_clean.py using python (rather Dash.py - renamed the file) is not launching the html file. tried mentioning the path of the file in your code (althoug...
by Yazidapple
Sat Aug 06, 2016 7:31 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

Hi I am trying to do the same thing, but when i launch the html page, i only get the text, the guages are not showing, any advice? it might have something to do with ur javascript dependencies such as: -jQuery.js -socketio.js -amcharts.js did u use the same exact project folder that i've uploaded? ...
by Yazidapple
Tue Jul 12, 2016 5:35 am
Forum: Teaching and learning resources
Topic: Internet GoPiGo using Web socket
Replies: 0
Views: 1368

Internet GoPiGo using Web socket

Watch my complete tutorial on how to build this robot on YouTube. All the necessary links are in the description box. https://lh6.googleusercontent.com/-YHZ9Wi3XEbQ/V4SD8TmMT3I/AAAAAAAAArQ/QyuAViIMlj4T7C9_F_VFDWvuVznZvmMgQCL0B/w1836-h1148-no/title.png https://lh6.googleusercontent.com/-Ltbr07f-uWI/...
by Yazidapple
Mon Jun 20, 2016 6:55 pm
Forum: Teaching and learning resources
Topic: Internet of Thing GoPiGo with UV4L Live Streaming
Replies: 0
Views: 1062

Internet of Thing GoPiGo with UV4L Live Streaming

This is my IoT version of GoPiGo! https://lh6.googleusercontent.com/-3x5bQd3fbnE/V2g8Xswa1VI/AAAAAAAAApo/4eCUFl-d3xk4ds4paKcj4lv8DiJnT3ELQCL0B/w1598-h1198-no/magpibot.JPG Method of control: HTML, SocketIO, Flask, jQuery Method of streaming: User space Video4Linux collection (UV4L) + Pure HTML Check...
by Yazidapple
Tue Jun 14, 2016 9:35 am
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

joan wrote:http://abyz.co.uk/rpi/pigpio/examples.h ... ead_RPM_py shows a method using pigpio.

You might be interested in viewtopic.php?f=37&t=90243
Thanks so much! Thats really what I was looking for before I started working with this project.
by Yazidapple
Tue Jun 14, 2016 9:15 am
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Re: Speed sensor calculation using Python

Hall effect sensor has 3 pins or legs. There are VCC, Ground and Output. Connect the VCC to 5V . Ground as usual. And output to any GPIO that you wish. If everything is connected, you are good to go. This is ok only if the hall has a OC output. If it's a RC output you can damage your pi powering it...
by Yazidapple
Tue Jun 14, 2016 6:25 am
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 35509

Speed sensor calculation using Python

There are 2 methods for calculating speed using Python. The first method is using "pre-defined interval". The second method is using "calculated interval". Before we dive straight into the code let me show you the setup of this project. What we need are RaspberryPi, hall effect sensor or reed switc...
by Yazidapple
Mon Jun 13, 2016 9:55 pm
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Re: Raspberry Pi based Speedometer using Hall Effect Sensor

hello , im trying to make same thing . is your code open source and available for sharing ;) ? im facing some issu to find this files <script src="{{ url_for('static', filename='js/Chart.min.js') }}"></script> <script src="{{ url_for('static', filename='js/gauge.js') }}"></script> <script src="{{ u...
by Yazidapple
Tue May 24, 2016 3:36 am
Forum: Teaching and learning resources
Topic: Raspberry Pi Speedometer (Python+Terminal Only)
Replies: 4
Views: 3053

Re: Raspberry Pi Speedometer (Python+Terminal Only)

Why not add a time.sleep(1) in the While True: loop? is that the solution for lowering the CPU load? :shock: i have tried adding time.sleep(1) in the while true but the problem still exist. Probably something else was not right during my test. I'll try that again soon. Thanks for the feedback! :D Y...
by Yazidapple
Mon May 23, 2016 6:31 pm
Forum: Teaching and learning resources
Topic: Raspberry Pi Speedometer (Python+Terminal Only)
Replies: 4
Views: 3053

Re: Raspberry Pi Speedometer (Python+Terminal Only)

joan wrote:Why not add a time.sleep(1) in the While True: loop?
is that the solution for lowering the CPU load? :shock: i have tried adding time.sleep(1) in the while true but the problem still exist. Probably something else was not right during my test. I'll try that again soon. Thanks for the feedback! :D
by Yazidapple
Mon May 23, 2016 4:54 pm
Forum: Teaching and learning resources
Topic: Raspberry Pi Speedometer (Python+Terminal Only)
Replies: 4
Views: 3053

Raspberry Pi Speedometer (Python+Terminal Only)

ORIGINAL CODE WITHOUT FLASK/SOCKETIO This is the code of my speedometer project without the server event code included (without Flask) . Therefore, you could run this program and get the result printed out on the terminal. I uploaded this because I'm afraid that some of you might just want to get t...
by Yazidapple
Sat May 21, 2016 11:23 am
Forum: Teaching and learning resources
Topic: Raspberry Pi based Speedometer using Hall Effect Sensor
Replies: 21
Views: 26004

Raspberry Pi based Speedometer using Hall Effect Sensor

Hello again for the third time . THIS PROJECT REQUIRES A FEW DEPENDENCIES IN ORDER TO WORK PROPERLY. THE DEPENDENCIES ARE: -FLASK (MUST INSTALL)-YOU COULD RUN THIS PROJECT WITHOUT ANY PROBLEM WITH JUST FLASK :lol: -SOCKETIO (OPTIONAL SINCE I'M NOT REALLY USING MUCH SOCKETIO METHOD. I'M STILL USING ...

Go to advanced search