Go to advanced search

by ilovemipi
Sat Mar 04, 2017 7:28 pm
Forum: General discussion
Topic: RPi USB Interface to an Arduino
Replies: 1
Views: 803

Re: RPi USB Interface to an Arduino

Checked my emails after I made the post and a contact I discussed it with earlier today had sent me the fix. It requires cat in a separate terminal / ssh window. This is the full procedure: stty -F /dev/ttyUSB0 115200 -echo (Window 1) cat /dev/ttyUSB0 (Window 2) echo '1' > /dev/ttyUSB0 (Window 1, Na...
by ilovemipi
Sat Mar 04, 2017 6:58 pm
Forum: General discussion
Topic: RPi USB Interface to an Arduino
Replies: 1
Views: 803

RPi USB Interface to an Arduino

Plugging an Arduino Nano into the USB port of an older Model B Pi (or a USB hub attached to a Pi Zero) creates 'two' devices. One is ttyUSB0 and the other is serial . sudo echo '1' > /dev/ttyUSB0 sends a signal to the Nano which is confirmed by the RX LED on the Nano but the Nano is not responding t...
by ilovemipi
Sun Feb 12, 2017 2:49 pm
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 393
Views: 714484

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

Excellent guide and bang up to date, thanks @paulv Just a couple of points: 1. With gpu_mem set at anything less than 32 you will get a warning message on bootup as covered by the GitHub issue at https://github.com/raspberrypi/firmware/issues/428 2. I am getting a "Duplicate entry in /etc/fsta...
by ilovemipi
Thu Aug 25, 2016 6:53 am
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 168083

Re: Controlling 433MHz RF outlets with Android devices

A Maplins 5 pack RF socket set was brought to me, from the UK, by a friend yesterday. Pleased to say that even without putting the 12V battery in the remote control unit my microprocessor can control the 5 sockets independently. The coding was done whilst I was waiting for the sockets to arrive from...
by ilovemipi
Thu Jul 28, 2016 9:04 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 168083

Re: Controlling 433MHz RF outlets with Android devices

Murphyprecht wrote:Hi guys, anyone in the UK wanting to try this, Maplin are selling a 5 pack of 3kw 240v RF outlets for just £19.99 currently.

http://www.maplin.co.uk/p/remote-contro ... pack-n38hn
I have ordered my set, thanks.

Anyone using the Maplin units with a Pi or an Arduino?
by ilovemipi
Tue Jun 14, 2016 2:46 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 168083

Re: Controlling 433MHz RF outlets with Android devices

You say WiFi or IR but I assume you mean RF too? When you say no space in the conduit do you still have available gpio pins? Maybe this link is better for you http://www.ebay.com/itm/282005636831 but it looks like you need your own RF transmitter (under $1 from http://www.ebay.com/itm/182033267191 w...
by ilovemipi
Tue Jun 14, 2016 2:05 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 168083

Re: Controlling 433MHz RF outlets with Android devices

@darios70 much easier to buy the whole kit for less than $4, see http://www.ebay.com/itm/191816976973
by ilovemipi
Fri May 13, 2016 5:01 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 90733

Re: PiHAT - Rasberry Pi Home Automation Transmitter

@greatdane my EEPROM's arrived today and I'm happy to say that despite my DREADFUL soldering skills the first Status socket now survives through a power failure.

Great hack and thanks again for posting.
by ilovemipi
Fri May 06, 2016 6:31 pm
Forum: Other projects
Topic: Controlling a mains power socket switch? (home automation)
Replies: 174
Views: 69657

Re: Controlling a mains power socket switch? (home automatio

Just to bring this old thread up to 2016 the Status and Nexa Sockets and even RF controlled Central Heating Thermostats can now be safely controlled over the internet with a free Blynk app plus a few parts (WeMos D1 Mini and RF Receiver / Transmitter set), total cost of around 4 quid . Not directly ...
by ilovemipi
Wed Mar 30, 2016 12:57 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 90733

Re: PiHAT - Rasberry Pi Home Automation Transmitter

For the fully qualified individuals they also fit nicely into the Raspberry Pi modular cases. Status Socket in a Pi Case 60kb.jpg @greatdane I can clearly see where the EEPROM goes but I can't see R15. I have had the magnifying glass out on the board. Is it marked on the reverse side as I have this ...
by ilovemipi
Wed Mar 30, 2016 12:24 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 90733

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Nice work @greatdane.

We have quite a few power failures here so your mod might be quite useful for us.
by ilovemipi
Sun Jan 17, 2016 8:33 am
Forum: Troubleshooting
Topic: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+
Replies: 1610
Views: 1575606

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.1.xx+

SpaceCowboy wrote:I'm trying to download the following, however I'm getting a 404 Not Found error. Is the file still available at this location?

Code: Select all

https://dl.dropboxusercontent.com/u/80256631/8188eu-v7-2015yyzz.tar.gz
Thanks,
SpaceCowboy
Replace the yyzz with the relevant details obtained from the first post.
by ilovemipi
Fri Jan 01, 2016 10:59 pm
Forum: Raspberry Pi OS
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 745
Views: 656568

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Tried the Jessie build and each time I run startkodi it crashes. Latest log is: ############## Kodi CRASH LOG ############### ################ SYSTEM INFO ################ Date: Sat 2 Jan 00:52:01 EET 2016 Kodi Options: Arch: armv6l Kernel: Linux 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 Rel...
by ilovemipi
Wed Dec 30, 2015 9:51 am
Forum: Python
Topic: Python Gateway to Blynk with Arduino on USB
Replies: 0
Views: 1069

Python Gateway to Blynk with Arduino on USB

Blynk have some Python code to connect to their servers. With an Arduino connected to the USB port of a Windows machine the connections to their server are fine. With an Arduino connected to the USB port of a Raspberry Pi (B+) the connection drops after 20 seconds with errno 32 broken pipe message. ...
by ilovemipi
Mon Dec 07, 2015 5:58 pm
Forum: Automation, sensing and robotics
Topic: Interfacing a Pi with an Arduino Nano
Replies: 5
Views: 3756

Re: Interfacing a Pi with an Arduino Nano

Pi to the Nano with a 20K resisitor worked fine. The Arduino folk also provided a link to a very detailed PDF (56 pages) by Microchip Technology Inc called 3V Tips 'n Tricks for interfacing between 3.3V and 5.0V devices. Looks to be from 2006 but I guess the laws of physics haven't changed that much...
by ilovemipi
Sun Dec 06, 2015 8:24 pm
Forum: Automation, sensing and robotics
Topic: Interfacing a Pi with an Arduino Nano
Replies: 5
Views: 3756

Re: Interfacing a Pi with an Arduino Nano

For what it's worth I've just connected a Pi to a (5V) Pro Mini. The Pro Mini loop was reading a GPIO and if the GPIO was high it flashed its LED. It worked fine. For safety reasons it may be sensible to add a 20k current limiting resistor in between the Pi and Arduino. That will protect the Pi GPI...
by ilovemipi
Sun Dec 06, 2015 6:44 pm
Forum: Automation, sensing and robotics
Topic: Interfacing a Pi with an Arduino Nano
Replies: 5
Views: 3756

Re: Interfacing a Pi with an Arduino Nano

Thanks for your reply joan but I don't want to blow up any more devices even at the low cost prices of the Pi's and Nano. I realise you can't do it in reverse (5V Nano pins into the Pi) and it will depend if the Nano recognises >3V as high so I posted the same question on the Arduino forum. I was ho...
by ilovemipi
Sun Dec 06, 2015 5:54 pm
Forum: Automation, sensing and robotics
Topic: Interfacing a Pi with an Arduino Nano
Replies: 5
Views: 3756

Interfacing a Pi with an Arduino Nano

I currently have 2 off 5V Arduino Nano's. On the first Nano I set a digital pin high and low intermittently for 5 seconds. I read the status of this pin with the second Nano and a common ground. All working fine with RGB LED on second Nano lit as red for low and green for high. I think the 5V Nano's...
by ilovemipi
Fri Apr 10, 2015 10:41 am
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 90733

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Ok, we have several versions of the 220V 'learner' relays but most of them will program as Status sockets. So if you have PiHat set up and from https://github.com/s7mx1/pihat try: ./pihat --brand=5 --repeats=50 --id=0 --channel=7 --state=1 when the relay is in learner mode. You don't need to know wh...
by ilovemipi
Fri Apr 10, 2015 9:41 am
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 90733

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I need some help. I have tried and tried but cant figure it out. I have a relay that works great when using this remote. http://netram.co.za/1458-thickbox_default/315mhz-wireless-car-key-fob.jpg But when I use pihat I am not able to pair it with a random code in learning mode. What I need to know i...
by ilovemipi
Tue Apr 07, 2015 8:29 am
Forum: Automation, sensing and robotics
Topic: Sharing my project : Wireless Room Temp Monitoring System
Replies: 34
Views: 14467

Re: Sharing my project : Wireless Room Temp Monitoring Syste

We haven't tested in the 3 digit temperature range i.e. over 99.75 degrees but now we have done away with string splicing it should cover the full range of -55.00 degrees up to 125.00 degrees. Having completed the 'sub zero' temperature tests we have now successfully simulated the results for tempe...
by ilovemipi
Sat Mar 28, 2015 5:50 pm
Forum: Automation, sensing and robotics
Topic: Sharing my project : Wireless Room Temp Monitoring System
Replies: 34
Views: 14467

Re: Sharing my project : Wireless Room Temp Monitoring Syste

We have had our sensor in the freezer today to check performance below zero degrees. Got down to about -20. Made some changes to the code to accommodate sub zero temperatures. In the Arduino sketch we now have: const char *msg = "Sensor #1 is showing a temperature of <"; const char *diese ...
by ilovemipi
Fri Mar 27, 2015 1:22 pm
Forum: Automation, sensing and robotics
Topic: Sharing my project : Wireless Room Temp Monitoring System
Replies: 34
Views: 14467

Re: Sharing my project : Wireless Room Temp Monitoring Syste

i see, I actually have a question for you (and Joan if he is reading this) Can you actually explaint what this line means exactly : received = ("".join(chr (c) for c in rx.get())) i know this line is gathering the received message ... but i can't understand how it actually works as it con...
by ilovemipi
Thu Mar 26, 2015 7:15 pm
Forum: Automation, sensing and robotics
Topic: Sharing my project : Wireless Room Temp Monitoring System
Replies: 34
Views: 14467

Re: Sharing my project : Wireless Room Temp Monitoring Syste

Cool stuff ! Thanks for sharing your code. i will have a look :) The basic code I provided accounts for the length of the transmitted signal increasing as the signal count goes from 9 to 10, 99 to 100, 999 to 1000 i.e. finalPart = received[-(len(received)-43):] However the length of the signal up t...
by ilovemipi
Tue Mar 24, 2015 8:29 pm
Forum: Automation, sensing and robotics
Topic: Sharing my project : Wireless Room Temp Monitoring System
Replies: 34
Views: 14467

Re: Sharing my project : Wireless Room Temp Monitoring Syste

Nice write up. Screenshot of sensors on two Nanos and the Python code for string manipulation on the Pi. Two Sensors.PNG import time import pigpio import vw received = "" RX=27 BPS=2000 pi = pigpio.pi() rx = vw.rx(pi, RX, BPS) start = time.time() print(" Waiting for data from the Ardu...

Go to advanced search