Go to advanced search

by tonyhughes
Wed Dec 28, 2016 9:56 am
Forum: Other projects
Topic: Portable Baofeng UV5R Radio Programmer
Replies: 4
Views: 2531

Re: Portable Baofeng UV5R Radio Programmer

A cheap Chinese tablet second-hand for around $20 would do the trick. :)
by tonyhughes
Wed Dec 28, 2016 9:44 am
Forum: Other projects
Topic: Portable Baofeng UV5R Radio Programmer
Replies: 4
Views: 2531

Re: Portable Baofeng UV5R Radio Programmer

Mike - it's the Pi that is the hotspot... Not the mobile phone.
by tonyhughes
Wed Dec 28, 2016 5:05 am
Forum: Other projects
Topic: Portable Baofeng UV5R Radio Programmer
Replies: 4
Views: 2531

Portable Baofeng UV5R Radio Programmer

pi3 2.jpg Just thought I'd share todays little project, as there wasn't much info around, and certainly not in one place. Consider this a "this is what you can do" and not a "how to", as all the individual steps already have guides available. The Baofeng UV5R (and a bunch of other Baofeng models) a...
by tonyhughes
Wed Apr 13, 2016 9:32 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Re: Send and receive MIDI commands to/from USB MIDI device

Looks like I'll set a variable to be the contents of the tail command, and then I can set up a series of IF statements for my MIDI translations (will only be around 12 MIDI translations, so 12 IF statements), and if one of them is a hit, it can send its new MIDI message to the output MIDI port via a...
by tonyhughes
Wed Apr 13, 2016 7:13 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Re: Send and receive MIDI commands to/from USB MIDI device

Happily tail-ing the text file 50 times a second, and displaying the last line of the tail to screen. Keeps up beautifully with a midi rocker pedal. Just using tail -n1 midi.txt and a loop in Bash to do it 50 times a second. Next to do something with the tail output (but only if its changed, as I do...
by tonyhughes
Wed Apr 13, 2016 6:18 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Re: Send and receive MIDI commands to/from USB MIDI device

amidi --port="hw:,0,0" --receive-mididata.syx Writes the incoming MIDI data to a file successfully, but its in binary format, and I don't know how to deal with it. Any ideas on getting this information written as plain text? ** EDIT - it was blindingly simple.... just redirect output of the amidi d...
by tonyhughes
Wed Apr 13, 2016 4:48 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Re: Send and receive MIDI commands to/from USB MIDI device

Plugged in a MIDI device used $ amidi --port="hw:1,0,0" --dump To specifiy the first port for my device listed in $ amidi -l Pressed my first foot controller button and got the following output: B0 00 00 90 20 00 C0 00 Pressed the second button and got B0 00 00 90 20 00 C0 01 and third got B0 00 00 ...
by tonyhughes
Wed Apr 13, 2016 4:35 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Re: Send and receive MIDI commands to/from USB MIDI device

I have run

amidi -l

and my USB devices ports are listed (No extra software had to be installed). Yay.

Next step - see if i can see some midi data on screen by specifying the port in amidi and dumping output to screen.
by tonyhughes
Wed Apr 13, 2016 4:24 am
Forum: Graphics, sound and multimedia
Topic: Send and receive MIDI commands to/from USB MIDI device
Replies: 22
Views: 15016

Send and receive MIDI commands to/from USB MIDI device

THIS STARTED AS A REQUEST FOR HELP, BUT IS SLOWLY TURNING INTO A HOWTO AS I FIGURE IT OUT MYSELF. JUMP IN IF YOU HAVE ANYTHING TO ADD. I have: Raspberry Pi Model B Raspbian (latest updates, clean install) Generic USB to MIDI adapter with in/out MIDI plugs ("Ashton" brand which is a cheapie brand of ...
by tonyhughes
Thu Apr 07, 2016 8:10 pm
Forum: Raspbian
Topic: raspberry pi
Replies: 4
Views: 759

Re: raspberry pi

Your question is vague and is not going to attract the right answers. Specifically what data are you talking about? Have you tried anything yet (list success and fails). And very importantly to get improved quality of help, what is the actual end goal you want to achieve (sharing settings with other...
by tonyhughes
Fri Nov 27, 2015 1:28 pm
Forum: Wanted
Topic: WTB: B/B+/Pi2B (New Zealand)
Replies: 2
Views: 1221

Re: WTB: B/B+/B+2 (New Zealand)

Sweet
by tonyhughes
Sun Nov 08, 2015 9:05 pm
Forum: Wanted
Topic: WTB: B/B+/Pi2B (New Zealand)
Replies: 2
Views: 1221

WTB: B/B+/Pi2B (New Zealand)

Looking for a secondhand Pi to buy here in New Zealand before I buy another new one.

With or without accessories.
by tonyhughes
Fri Nov 06, 2015 5:21 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: 3G USB modems to capture incoming SMS on Pi?

Script # 1 (unwritten) - I just need to write a script to take the incoming email from the mailbox, reformat to strip unneeded info and have a sane format for script # 2 to deal with: Script # 2 (Midway.sh)- I have written a script to process incoming text messages, check for keywords and decide who...
by tonyhughes
Fri Nov 06, 2015 5:16 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: 3G USB modems to capture incoming SMS on Pi?

Successfully using this app: https://play.google.com/store/apps/details?id=eu.apksoft.android.smsgateway&hl=en .. to recieve incoming SMS on a spare android handset. The incoming SMS are forwarded via SMTP (there is an HTTP option too), to my local mailserver within milliseconds. The android app pas...
by tonyhughes
Thu Nov 05, 2015 7:18 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: Maximum number of USB networking devices on one Pi?

I would dearly love a cloud SMS gateway for incoming, sadly I'm in NZ, and I haven't found an overseas service offering incoming NZ SMS. There are some local providers. The telcos themselves are ridiculously priced, and I am still waiting to hear back from some NZ based bulk SMS companies about inco...
by tonyhughes
Thu Nov 05, 2015 6:13 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: Maximum number of USB networking devices on one Pi?

Oh well, as it turns out, I had completely missed the fact that there are several SMS gateway apps for android, so i wont need to plug any devices into my RPi(s). Stack of cheap android phones running 24/7 with SMS gateways feeding incoming SMS to the Pi via HTTP/SMS whatever. Pi running my apps to ...
by tonyhughes
Wed Nov 04, 2015 3:14 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: Maximum number of USB networking devices on one Pi?

Thanks, multiple Pi's are not an issue, im comfortable with collating data from multiple network interfaces on multiple Pi's, although the actual data processing is so lightweight, it would be a shame to engage too many units when the load average will barely rise. Sounds like dozens wont be an issu...
by tonyhughes
Fri Oct 30, 2015 10:50 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

Re: Maximum number of USB networking devices on one Pi?

Considering several dozen. They won't be particularly busy, on the order of 10-100 incoming SMS each per day and no outgoing.
by tonyhughes
Fri Oct 30, 2015 2:30 am
Forum: Other projects
Topic: 3G USB modems to capture incoming SMS on Pi?
Replies: 9
Views: 1655

3G USB modems to capture incoming SMS on Pi?

(Edited subject to be more useful.) Is there a practical limit to the number of 3G USB modems I could attach to a single Raspberry Pi 2 B+ (using powered USB hubs)? I have a project where it would be beneficial to have a separate cellphone number for each region we operate in (many dozens of regions...
by tonyhughes
Sat Jan 24, 2015 2:22 am
Forum: Graphics, sound and multimedia
Topic: Sending midi notes from a Pi to a DMX controller
Replies: 0
Views: 564

Sending midi notes from a Pi to a DMX controller

I have a cheap generic brand DMX stage lighting controller with midi input that appears to be a clone of a Chauvet Obey 40. The unit can accept midi notes to change scenes/chases and other settings. I would like to use a Raspberry Pi to send midi notes to the device. I would prefer to use GPIO if po...
by tonyhughes
Sun Sep 01, 2013 7:28 am
Forum: Beginners
Topic: tightvncserver error
Replies: 18
Views: 10102

Re: tightvncserver error

Baked Linux Mod has Tight VNC Server as a module. Automates the whole process. Tested with Raspbian.
by tonyhughes
Sun Sep 01, 2013 2:13 am
Forum: Other projects
Topic: Baked Linux Mod - Easily install servers & other software
Replies: 49
Views: 9397

Re: Baked Linux Mod - Easily install servers & other softwar

Try now.

Wont get a chance to look at logs for several hours though.
by tonyhughes
Sun Sep 01, 2013 2:00 am
Forum: Python
Topic: Detect if running on RPi
Replies: 13
Views: 5498

Re: Detect if running on RPi

I check the output of:

Code: Select all

$ uname -m
to at least confirm the processor version. Not a definite that it's a Pi, but certainly excludes most non-Pi hardware.
by tonyhughes
Sun Sep 01, 2013 1:53 am
Forum: Automation, sensing and robotics
Topic: Attaching a temp sensor to Pi
Replies: 11
Views: 3663

Re: Attaching a temp sensor to Pi

I am not sure how to tell, but I get the feeling that that sensor is an analog sensor, and therefore cannot be directly attached to an RPi (as the RPi has no analog GPIO pins).

If that's the case, you would need to find an add-on board with analog support.

Go to advanced search