Your Raspberry Pi Projects

initroot

Senior Member
Joined
Jul 30, 2011
Messages
896
Pleasure, I'm testing Grafana as an interface as well and will publish the data parser when completed.
Also looking at doing vulnerability scans using openvas on devices then working results into the dashboard.
 

w1z4rd

Karmic Sangoma
Joined
Jan 17, 2005
Messages
49,747
I have 3x pi, only really using the 1.

Currently have it with a Diet-Pi install, theres an option to setup your pi as an AP.

My ETH0 is internet and WLAN0 is LAN. Installed webmin and shorewall firewall, so its more than just an AP. It does DNS masq, firewalling and is my own little AP network. Wondering if I could put a pi hole and greylog on top of it.
 

SilverNodashi

Expert Member
Joined
Oct 12, 2007
Messages
3,337
I have 3x pi, only really using the 1.

Currently have it with a Diet-Pi install, theres an option to setup your pi as an AP.

My ETH0 is internet and WLAN0 is LAN. Installed webmin and shorewall firewall, so its more than just an AP. It does DNS masq, firewalling and is my own little AP network. Wondering if I could put a pi hole and greylog on top of it.
What kind of throughput do you get ?
 

w1z4rd

Karmic Sangoma
Joined
Jan 17, 2005
Messages
49,747
What kind of throughput do you get ?
I would guess its as fast as my wireless. My network is not ideal to test that on. I go through three AP relays to get to a wifi router thats connected to a wifi wan. Its only 4mb internet. There is no real load on the system though and nothing feels laggy.
 

HApyM3al

Expert Member
Joined
Oct 27, 2012
Messages
1,064
Pleasure, I'm testing Grafana as an interface as well and will publish the data parser when completed.
Also looking at doing vulnerability scans using openvas on devices then working results into the dashboard.

Depending what else doing as well might start running into performance issues.

Was running:
Grafana
Telegraf
Influx
Mysql
Pihole
Openvas

About 12 crons running every 10-20 min. Mainly after the pihole 4 update just got terrible perf. Load averages will sky rocket.

Moved across to a old laptop and was much better. Well now running all in vm on server ive gotten.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
Not Pi related - but if I want to make a smart pulse water meter - what would be the correct Arduino to buy, with wifi - and how do I power it? Never used Arduino before.
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,474
Not Pi related - but if I want to make a smart pulse water meter - what would be the correct Arduino to buy, with wifi - and how do I power it? Never used Arduino before.
What is your budget?

So the Sonoff switches you familiar with is also Arduino's, just heavily towards a specific use case. And Tasmota firmware, is an example sketch program you could load on to it.

If Wifi is what you want, have a look at the ESP32 and ESP8266's: Example: https://www.robotics.org.za/espressif

As for powering them, there are various options. Some can use USB cable for power. Typically they either need 3.3v or 5v. Your sensors will also specify what voltage they need, so also keep that in mind. Most sensors can receive their power from the Arduino, some may need external power.

The Adafruit's are expensive, but I like them because they open up more options:
- They can be powered from a 3.7v battery
- Includes voltage regulator to 3.3v
- Includes a built-in charger, so you can opt to use a small solar panel to power it during the day
--> https://www.robotics.org.za/IM120906006 or https://www.robotics.org.za/IM120906004

You will need a lot of research, and have fun writing the program (sketch) code.
 

Vis1/0N

Expert Member
Joined
Mar 10, 2009
Messages
2,417
One source to consider is Banggood (and possibly Gearbest) with certain items available via cheap courier shipping. Some items in BG with South Africa Direct shipping option at R44 shipped by Buffalo express and local delivery to me in Durban via Fastway. After a processing delay from the 10th to 16th in China it was on the plane on Thursday and in my hand Monday 9am.

I paid R38 on a R500 order customs, vat and clearance.

Beats the post office gamble.
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,474
Looks like it could work. The Uno 100%. The sensor is unknown to me and I dont find much for it on Google in terms of working examples. Still it could work I think.

You will want to read this:
https://www.openhacks.com/uploadsproductos/g1__water_flow_sensor_-_wiki.pdf
Thats for a different flow sensor, but I am sure you can just tweak the values to match the sensor from banggood. Both are pulse type sensors.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
Looks like it could work. The Uno 100%. The sensor is unknown to me and I dont find much for it on Google in terms of working examples. Still it could work I think.

You will want to read this:
https://www.openhacks.com/uploadsproductos/g1__water_flow_sensor_-_wiki.pdf
Thats for a different flow sensor, but I am sure you can just tweak the values to match the sensor from banggood. Both are pulse type sensors.

Thanks - yeh - since it's a straight forward pulse sensor, it should be simple to get working once picked up, project is urgent because I don't want my wellpoint burning out. So hopefully by mid Fed, end Feb I'll be done.
 

jd.vdm

Well-Known Member
Joined
Aug 12, 2009
Messages
121
I did a water meter pulse reader with a Raspberry Pi Zero:
Municipal meter has a small hole on the side where I inserted a reed switch to pick up the pulses. (2 pulses / liter)
Wired it to the GPIO. RPi Zero on home wifi and emails "reading" each day. Also sends an email when the daily consumption exceeds a certain value.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
I did a water meter pulse reader with a Raspberry Pi Zero:
Municipal meter has a small hole on the side where I inserted a reed switch to pick up the pulses. (2 pulses / liter)
Wired it to the GPIO. RPi Zero on home wifi and emails "reading" each day. Also sends an email when the daily consumption exceeds a certain value.

I wouldn't mind doing it to track when my usage escalates - but - with the meter outside the property, and no nearby power - won't be possible.
 

Willie Trombone

Honorary Master
Joined
Jul 18, 2008
Messages
60,038
My son has put together a solution for my son-in-law for cutting wire at regular intervals. Right now the factory requires a person to measure out a length of wire then cut it with tin snips, measure out another length, etc. They easily do 100s a day. It's time consuming and boring. The solution involves an Arduino, keypad, LCD screen, stepper motor to feed the wire and solenoid valve to operate the pneumatic cutter.
The LCD prompts the user to enter the number of wires and the length of each on the keypad and they hit * to start cutting. The Arduino then fires up the stepper to measure out the exact length of wire using a rubber roller system, stops it, fires the pneumatic cutter and measures the next etc. I'll post images and project details as soon as we've completed assembly.
Right now it's all firing well and just needs to be assembled on the production line. We need to build a good box for the electronics as well - we'll probably use the laser cutter and ply for that so we can build something custom size wise.
A little vid of it in action. Production will involve a bin at the end for full automation. It was being tested on someone’s desk.


Will post build details ASAP including Arduino code.
 
Top