Go to advanced search

by kghunt
Wed Oct 30, 2013 6:34 am
Forum: General discussion
Topic: Land your RasPI in a datacenter for free
Replies: 57
Views: 11075

Re: Land your RasPI in a datacenter for free

Royal mail charged me £11 signed for and I got the jiffy bag from work :-). I could have sent it cheaper but I wanted a signature and tracking information. I think it would have been £8. Also with royal mail size matters. If I had just shipped it in the element14 bow with no padded envelope it would...
by kghunt
Tue Oct 29, 2013 3:21 pm
Forum: Python
Topic: telnet with python
Replies: 5
Views: 5534

Re: telnet with python

Here is an example of a python script I created to send telnet commands. It may give you some pointers. #!/usr/bin/env python #This program will telnet acweb's tcs service and open and close doors. Intended to be used with task scheduler. import telnetlib import sys doors = ["1001","1002"] # comma s...
by kghunt
Tue Oct 29, 2013 10:32 am
Forum: General discussion
Topic: 3G USB Dongle from China
Replies: 3
Views: 1177

Re: 3G USB Dongle from China

I would say the chances are good as they all tend to use similar extended AT commands. But I would personally try to pick up a second hand dongle off ebay as they can be had for £5 then you will also get one that is better supported. I use a huawei e156g and I have seen those on ebay for cheap and t...
by kghunt
Mon Oct 28, 2013 3:45 pm
Forum: General discussion
Topic: Land your RasPI in a datacenter for free
Replies: 57
Views: 11075

Austria via Czech Republic!

I posted my pi to EDIS on friday. The tracking information has been updated a few times but now it says "Your item, posted on 24/10/13 with reference xxxxxxxx has been passed to the overseas postal service for delivery in CZECH REPUBLIC." Is it normal for international post to Austria to go via the ...
by kghunt
Thu Oct 24, 2013 7:51 pm
Forum: Staffroom, classroom and projects
Topic: Raspberry Pi and Door Sensor
Replies: 6
Views: 3325

Re: Raspberry Pi and Door Sensor

Use an interrupt instead of constant checking.
by kghunt
Wed Oct 23, 2013 9:35 pm
Forum: Python
Topic: RFID Rasp Debouncing
Replies: 4
Views: 913

Re: RFID Rasp Debouncing

My uart rfid readers have a card present pin that goes low when card is presented. You can use an interrupt to start the read instead of looping.
by kghunt
Tue Oct 22, 2013 9:34 pm
Forum: Networking and servers
Topic: PI in COLO Encryption?
Replies: 4
Views: 956

Re: PI in COLO Encryption?

No one said I was worried about the data centre. I'm more worried about the courier. Plus there is no reall secure place on this earth. Security is only as good as the people that enforce it. It pays to take precautions what if someone hacks my pi or another device in the data centre hacks my pi. Th...
by kghunt
Mon Oct 21, 2013 7:00 pm
Forum: General discussion
Topic: Land your RasPI in a datacenter for free
Replies: 57
Views: 11075

Re: Land your RasPI in a datacenter for free

Edis order Recieved. Check! 128gb usb Recived. Check! Os built and configured.Check! New Edis pi arrived from Farnell. Almost Check! Almost ready for a pi holiday. I'll be sending it with a toothbrush and change of clothes. If you can just make sure it doesn't get up to mischief I would appreciate i...
by kghunt
Mon Oct 21, 2013 4:17 pm
Forum: C/C++
Topic: Bits, Bits and more Bits
Replies: 6
Views: 3551

Re: Bits, Bits and more Bits

I pass it as HEX from C to python because it is easy to convert HEX to BIN in python but in C I struggled.
by kghunt
Mon Oct 21, 2013 3:37 pm
Forum: Networking and servers
Topic: PI in COLO Encryption?
Replies: 4
Views: 956

PI in COLO Encryption?

Im sending a pi to Edis for colocation. I plan to use for some file syncing and other bits and bobs. I have around 80GB of data that I will be syncing and I am sending the pi already loaded with this data.. Should I encrypt this data? My gut feeling is that I should just in case. But how then will a...
by kghunt
Mon Oct 21, 2013 10:10 am
Forum: General discussion
Topic: 3g dongle succesfully connected DIRECTLY to USB ?
Replies: 8
Views: 2160

Re: 3g dongle succesfully connected DIRECTLY to USB ?

I cannot vouch for the longevity as I only tested it for a couple of hours. I used wvdial to make the connection which worked fine. I don't remember having to do anything special. If i was putting it in a permanent setup Id probably write a script that periodically pings a known external host and af...
by kghunt
Mon Oct 21, 2013 9:40 am
Forum: C/C++
Topic: Bits, Bits and more Bits
Replies: 6
Views: 3551

Re: Bits, Bits and more Bits

Thanks for the input @Banfa it is much appreciated. Like I said this is my first C program outside of an arduino. I understand what you are saying. I am collecting the correct number of bits and the value is correct but it is printing without the leading zeros when I pass it as a parameter to my pyt...
by kghunt
Mon Oct 21, 2013 9:35 am
Forum: General discussion
Topic: 3g dongle succesfully connected DIRECTLY to USB ?
Replies: 8
Views: 2160

Re: 3g dongle succesfully connected DIRECTLY to USB ?

I don't have any specifics but my e156 3g dongle works on my rev 1 pi with no hub. Although anything else plugged into the usb stops working (except ethernet). I imagine this would be better on a rev 2.
by kghunt
Fri Oct 18, 2013 9:57 pm
Forum: Wanted
Topic: Strip Board like this
Replies: 8
Views: 4614

Re: Strip Board like this

@techpaul I know it doesn't take long to cut copper strip but no amount of cutting is going to change the copper direction. I want narrow board with crossways strips not long ways.
by kghunt
Fri Oct 18, 2013 4:15 pm
Forum: Wanted
Topic: Strip Board like this
Replies: 8
Views: 4614

Strip Board like this

http://www.maplin.co.uk/stripboard-1918 I am after stripboard like the above just without the price tag. All cheaper eBay type board has the strips of copper long ways. I want them across ideally with the gap but not necessary. Normally anything you can find in maplin you can find online but my goog...
by kghunt
Wed Oct 16, 2013 2:50 pm
Forum: C/C++
Topic: Bits, Bits and more Bits
Replies: 6
Views: 3551

Bits, Bits and more Bits

Where do I store my bits in C? Be gentle as this is my first bit of C code (outside the world of arduino). This C codes using interrupts to capture the incoming bits from 2 wiegand interface readers store them and then passed the data on to a python script(in a new thread) for processing. #include <...
by kghunt
Mon Sep 30, 2013 8:16 am
Forum: For sale
Topic: HD44780 1602 compatible LCDS for sale
Replies: 16
Views: 6888

Re: HD44780 1602 compatible LCDS for sale

I have been using my chinese ones for ages now and they work absolutely fine with all arduino and pi libraries. I know you have to wait 6 weeks but I would never pay £7 for one of these screens when you can get them for £1.60. I have both and they are identical. I can't see a difference.
by kghunt
Wed Sep 11, 2013 7:56 am
Forum: Troubleshooting
Topic: Faulty Pi... Maybe..
Replies: 2
Views: 514

Faulty Pi... Maybe..

I have 3 Pi's in total 2 of which are REV 1's and work fine never had an issue except a baggy sd socket (fixed with a micro sd adapter). My third Pi is a REV 2 which I bought second hand off ebay a while back and used to work fine. But now when I power it up the ACT light flashes once and thats it. ...
by kghunt
Thu Sep 05, 2013 9:39 am
Forum: General discussion
Topic: Paper-Duino-Pi
Replies: 33
Views: 12119

Re: Paper-Duino-Pi

I am waiting on a borderless electronics leonardo clone :-). I hope yours ends up being programmed via TTL. I think USB adds too much to the board when its not needed. I have umpteen other arduino's I can connect to the pi via usb plus I have a tonne of usb to TTL adapters if the need ever struck me...
by kghunt
Tue Sep 03, 2013 3:32 pm
Forum: General discussion
Topic: Paper-Duino-Pi
Replies: 33
Views: 12119

Re: Paper-Duino-Pi

Any more news?
by kghunt
Sat Aug 31, 2013 9:46 pm
Forum: Python
Topic: Re: USB RFID door alarm system reed switch problem
Replies: 11
Views: 2662

Re: USB RFID door alarm system reed switch problem

I gave you that code. I do think you need to run through some python tutorials and some gpio basics. The theory is sound the reed pulls the gpio to ground and you monitor its state. I never tested the code as my pi(s) are busy but I tested a similar piece of code on an arduino and it works fine. You...
by kghunt
Sun Aug 25, 2013 1:22 pm
Forum: Beginners
Topic: Pi Clock
Replies: 5
Views: 835

Re: Pi Clock

The waiman rtc are small about 2cm by 2cm ish. Should fit easy.
by kghunt
Sat Aug 24, 2013 8:52 pm
Forum: Beginners
Topic: Pi Clock
Replies: 5
Views: 835

Re: Pi Clock

I have successfully used the 'waiman' rtc available cheap on eBay I got 2 for £2 delivered free from china. There are 2 resistors you need to knock off to make it 3v but that's it.
by kghunt
Fri Aug 23, 2013 8:47 pm
Forum: Python
Topic: How do i know which instance of python is running
Replies: 3
Views: 650

Re: How do i know which instance of python is running

Or you can change the process name in python so it displays a custom proc name instead of just python.
by kghunt
Sun Aug 18, 2013 6:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Do I need to regulate a 12v source?
Replies: 3
Views: 984

Re: Do I need to regulate a 12v source?

I'll be using one of these for my 5v regulator
http://uk.farnell.com/tracopower/tsr-1- ... dp/1696320

The 12v supply will be powering some Rfid readers (likely hid iClass) and a 300k Maglock or strike.

Go to advanced search