Go to advanced search

by hippy
Mon May 21, 2018 6:24 pm
Forum: Beginners
Topic: Transitioning from arduino to Pi
Replies: 11
Views: 126

Re: Transitioning from arduino to Pi

Another important note is that this same thing happens in the original folder created automatically by the installer when it do the g++ compilation there.... If it doesn't work where it's installed to it's unlikely to work anywhere else. That's something which you could have perhaps mentioned earli...
by hippy
Mon May 21, 2018 5:39 pm
Forum: Beginners
Topic: Ambitious beginner project
Replies: 1
Views: 55

Re: Ambitious beginner project

Sounds like a perfectly feasible project for yourself. A Pi 3B+ is likely the best way to start. You can move it all to a cheaper Pi Zero WH later if you want to. I would suggest looking at APA102 RGB LEDs which are very easy to drive and WS28xx LEDs should also be suitable. For language probably an...
by hippy
Mon May 21, 2018 5:30 pm
Forum: General discussion
Topic: Buying a Pi for the first time
Replies: 3
Views: 83

Re: Buying a Pi for the first time

I too would recommend a Pi 3B+ If you can spare some time, take a look at how much all the things in any bundle you are looking at would cost individually and don't pay too much over the odds. And don't be too enthralled by "Includes NOOBS on SD Card". Downloading NOOBS or Raspbian and installing to...
by hippy
Mon May 21, 2018 4:54 pm
Forum: General discussion
Topic: Raspberry Pi Lockable Case That Limits Access to I/O Ports
Replies: 2
Views: 61

Re: Raspberry Pi Lockable Case That Limits Access to I/O Ports

Find any lockable case - a cheap "key cabinet" might be ideal - hack a means to install the Pi in that and a way to get the cables you want connected to come out of it and job done.
by hippy
Mon May 21, 2018 4:50 pm
Forum: Beginners
Topic: Transitioning from arduino to Pi
Replies: 11
Views: 126

Re: Transitioning from arduino to Pi

When i try using the g++ compiler it says it cant find led-matrix.h The file is in the library folder called "include" ... If you can compile the thing in one directory, then you should be able to take that, put it all in another directory and it should compile there. Try that, without editing anyt...
by hippy
Mon May 21, 2018 1:35 pm
Forum: General discussion
Topic: Keep Private Messaging function, please help and post
Replies: 21
Views: 371

Re: Keep Private Messaging function, please help and post

These laws were meant to protect us, but instead of protection us, they limit us, make life harder, so we should think for our own and shouldn't follow them, when they harm us. Unfortunately the Foundation and/or those responsible for providing a service which is non-compliant will be the ones find...
by hippy
Mon May 21, 2018 1:18 pm
Forum: General discussion
Topic: Keep Private Messaging function, please help and post
Replies: 21
Views: 371

Re: Keep Private Messaging function, please help and post

I am not entirely familiar with GDPR nor COPPA but I would accept the Foundation's view that Private Messaging has to be removed because of potential non-compliance with either then there is little choice but to do that, no matter how inconvenient, no matter how useful it may be seen by some. It's n...
by hippy
Mon May 21, 2018 1:08 pm
Forum: Beginners
Topic: Transitioning from arduino to Pi
Replies: 11
Views: 126

Re: Transitioning from arduino to Pi

But trying to make even the most tiny alteration to the same code brings me to a grinding halt... Perhaps explain what is bringing you to a grinding halt, what errors you are getting, what doesn't work, where you are stumped. It may be better to start with a smaller or simpler project, incrementall...
by hippy
Mon May 21, 2018 12:54 pm
Forum: Beginners
Topic: Using RPI for searching in huge .txt
Replies: 21
Views: 258

Re: Using RPI for searching in huge .txt

Create an index file of product codes with an offset to the start of the relevant line in the full file and you can probably do the lookup in microseconds.
by hippy
Mon May 21, 2018 11:58 am
Forum: Beginners
Topic: Using RPI for searching in huge .txt
Replies: 21
Views: 258

Re: Using RPI for searching in huge .txt

You can write a program in almost any language which scans through a text file and pulls out lines which match some criteria. What would be best depends on how quickly you want to do that and that may be affected by what data you are looking for. You may be able to search a smaller version of the fu...
by hippy
Mon May 21, 2018 10:52 am
Forum: Python
Topic: DHT22 temp/humidity sensor often fails to read
Replies: 3
Views: 69

Re: DHT22 temp/humidity sensor often fails to read

Please forgive my ignorance, but why does the GPIO have 5V pins, then? The GPIO connector provides power plus I/O pin connections. 5V is supplied for components and circuits attached which require 5V but all I/O pin connections must still be 3V3. The 5V power output is capable of supplying more cur...
by hippy
Mon May 21, 2018 10:00 am
Forum: Beginners
Topic: Raspbian is a challenge
Replies: 7
Views: 177

Re: Raspbian is a challenge

Does anyone have any idea why this would happen? Incorrect shutting down of a Pi, pulling the plug, may cause the SD card to be damaged and/or changes to be lost. Unreliable or unsatisfactory power supply may cause the Pi to shut down and lose settings. What is a "wifi keyboard" ? A wireless keyboa...
by hippy
Mon May 21, 2018 9:49 am
Forum: Python
Topic: DHT22 temp/humidity sensor often fails to read
Replies: 3
Views: 69

Re: DHT22 temp/humidity sensor often fails to read

I've tried to change the voltage to 5.5v Note that Pi GPIO's are not 5V tolerant and you may cause permanent and irreparable damage to your Pi when a voltage above 3V3 is applied to any GPIO I/O pin. The DHT sensors use a proprietary protocol using a single bi-directional signal line with rather fa...
by hippy
Sun May 20, 2018 5:28 pm
Forum: B+ addons
Topic: Please build a better Relative Humidity Sensor
Replies: 1
Views: 67

Re: Please build a better Relative Humidity Sensor

I have never compared DHT11 or DHT22 to a calibrated reference but am surprised you are getting ±30% discrepancies. The datasheets claim ±2% on temperature and ±5% for relative humidity and I don't see a lot of posts from people using them saying they are 'worse than useless'. When I used them they ...
by hippy
Sun May 20, 2018 3:53 pm
Forum: Python
Topic: What is the difference between code academy Python and Pi's Python?
Replies: 24
Views: 398

Re: What is the difference between code academy Python and Pi's Python?

Ah the old command line interpreter whats-it of IDLE confusion. For something which is meant to make things simple IDLE sure makes it complicated. Thonny seemed somewhat better but I only took a brief look at that as I am 'old school'; type the code in using a text editor then run it from the comma...
by hippy
Sat May 19, 2018 8:41 pm
Forum: Python
Topic: What is the difference between code academy Python and Pi's Python?
Replies: 24
Views: 398

Re: What is the difference between code academy Python and Pi's Python?

... This is from codeacademey and it doesn't work on idle 2. Very odd because, with correct indentation applied, it works from the command line for me with - python codeacademy.py That invokes Python 2 on my Pi 3B, NOOBS installation of Raspbian Stretch, updated and upgraded. Works equally when "py...
by hippy
Sat May 19, 2018 10:50 am
Forum: B+ addons
Topic: How to detect what HAT is connected
Replies: 14
Views: 322

Re: How to detect what HAT is connected

With a board as simple as the Pro Hat there is little gained by programming the EEPROM as no pre-configuration is necessary, since it's a completely blank canvas. I would suggest the EEPROM should be programmed with default data which identifies it as a HAT which doesn't configure any GPIO. That ac...
by hippy
Fri May 18, 2018 1:38 pm
Forum: Raspbian
Topic: STICKY: Jessie (now defunct and replaced with Stretch) Q&A
Replies: 392
Views: 118754

Re: STICKY: Jessie (now defunct and replaced with Stretch) Q&A

..... Especially do not edit file /etc/network/interfaces. Add a network section to file /etc/wpa_supplicant/wpa_supplicant.conf like ... I am late to this thread but am wondering why the interfaces file should not be edited in stretch and why the wpa_supplicant.conf and dhcpd.conf are the places t...
by hippy
Fri May 18, 2018 1:30 pm
Forum: Beginners
Topic: Where to buy SD cards from?
Replies: 17
Views: 420

Re: Where to buy SD cards from?

Wilko/Wilkinson's on the UK high street used to have some excellent prices on "Integral" SD Cards which have proven very reliable for me. But they appear to have dropped those and the greatly reduced range they now stock are twice as expensive. For supermarkets it's a matter of keeping an eye open, ...
by hippy
Fri May 18, 2018 11:59 am
Forum: General programming discussion
Topic: How do I protect my code?
Replies: 32
Views: 1868

Re: How do I protect my code?

You could probably leverage something like that to make a crypto dongle that needs to be installed on the device But you are still susceptible to people reverse engineering the code to remove the checks. That is one option but one might as well just make that a micro which holds and executes the se...
by hippy
Fri May 18, 2018 10:09 am
Forum: General programming discussion
Topic: How do I protect my code?
Replies: 32
Views: 1868

Re: How do I protect my code?

I would suggest using something other than an RPi for the product's intelligence. You might like to look at the Microchip PIC range of micro-controllers, or Arduino I would agree but that's the opposite direction to which the OP is going; "I am having a system built around microcontroller. I plan t...
by hippy
Thu May 17, 2018 4:03 pm
Forum: Raspbian
Topic: Raspberry Pi power problems.
Replies: 7
Views: 328

Re: Raspberry Pi power problems.

I agree with the Foundation engineers that the firmware should not be modified to work around hardware problems which may compromise operation. The thing is, if one doesn't need any 5V out of the Pi, then it can be working perfectly with no risk of compromised operation even if the low-voltage warn...
by hippy
Thu May 17, 2018 1:44 pm
Forum: Other projects
Topic: A portable maker space for home
Replies: 5
Views: 178

Re: A portable maker space for home

The Original size... £130 ... miniPod for £110 ... How do those prices sound to you? Seem a bit expensive to me but I am likely not your target market. I don't have too much of a space problem and would probably see things differently if I did. My use case would be mostly in making things portable ...
by hippy
Thu May 17, 2018 12:51 pm
Forum: Raspbian
Topic: Raspberry Pi power problems.
Replies: 7
Views: 328

Re: Raspberry Pi power problems.

I agree with the Foundation engineers that the firmware should not be modified to work around hardware problems which may compromise operation. The thing is, if one doesn't need any 5V out of the Pi, then it can be working perfectly with no risk of compromised operation even if the low-voltage warn...
by hippy
Thu May 17, 2018 12:07 pm
Forum: Other projects
Topic: Raspberry PI 3 ethernet link with (SOA, FTP, SSH, HTTP, mDNS, DHCP, IP) Linux
Replies: 11
Views: 223

Re: Raspberry PI 3 ethernet link with (SOA, FTP, SSH, HTTP, mDNS, DHCP, IP) Linux

I would again point out that FTP should not be used . Though if that's what one side of the system expects then that's what will have to be used. The real world is not always as perfect as one would like it to be. Obviously use better protocols in favour of worse where one can, but that option isn'...

Go to advanced search