Go to advanced search

by grahamed
Wed Mar 13, 2019 11:58 am
Forum: Advanced users
Topic: What is the latest MySQL on Pi?
Replies: 7
Views: 561

Re: I want MySQL instead of MariaDB

So I say want to use MySQL so I can use Workbench and the advice is use sqlite. Yeah sure.
by grahamed
Wed Mar 13, 2019 10:07 am
Forum: Advanced users
Topic: What is the latest MySQL on Pi?
Replies: 7
Views: 561

What is the latest MySQL on Pi?

Hi What is the latest re MySQL on Pi? I have a working system using Maria installed about a year ago (might be more). At the time I could access it from MySQL Workbench on my PC (Workbench came with MySQL V5.7.25 but I think Workbench had a different number). I could also access MySQL server on my P...
by grahamed
Sun Sep 23, 2018 6:32 pm
Forum: Beginners
Topic: PWM AC Dimmer
Replies: 21
Views: 2609

Re: PWM AC Dimmer

There are a number of posts here implying that the OP is little short of an idiot. This is completely unfair - he asked a sensible question about a device he found on line. In fact I feel there is a lot of confusion in the responses here. The device is clearly stated to use phase angle firing to con...
by grahamed
Sun Sep 23, 2018 5:59 pm
Forum: Beginners
Topic: What battery do I need based on these components?
Replies: 4
Views: 421

Re: What battery do I need based on these components?

The current for the USB-serial is suspiciously large, not more than 50mA and probbly more like 25mA.

The current draw of the devices is the same whether they are pugged into the Pi USB ports or elsewhere; why assume a fully loaded Pi and then count them twice?
by grahamed
Tue Jul 17, 2018 3:54 pm
Forum: Automation, sensing and robotics
Topic: connecting multiple magnetic switches
Replies: 26
Views: 5517

Re: connecting multiple magnetic switches

Variable resistors are there to set voltage, i.e. to conteract volts-drop. hence my question.

Agree with all the rest.

3V3 is fine, could do 5V plus 3 diodes if the mood takes you.

I suggest resistors in series with inputs also good to protect inputs..
by grahamed
Mon Jul 16, 2018 11:16 am
Forum: Automation, sensing and robotics
Topic: connecting multiple magnetic switches
Replies: 26
Views: 5517

Re: connecting multiple magnetic switches

Variable resistors to set voltage? Current through wiring and switch is less than 330uA. How much volts drop are you expecting?
by grahamed
Sun Jun 03, 2018 10:41 pm
Forum: Other programming languages
Topic: moving mysql database to a usb drive
Replies: 17
Views: 5376

Re: moving mysql database to a usb drive

Last week I made a new Pi image c/w MySQL (actually MariaDB but hey). I created the mount points, I edited fstab, I edited my.conf. I rebooted. I checked datadir variable. Shows it is using the USBstick. I imported the data using MySQL Workbench. I read, wrote, etc the data no problem. Left the thin...
by grahamed
Thu Apr 12, 2018 12:46 pm
Forum: Camera board
Topic: motion
Replies: 1
Views: 392

motion

Rpi3B+, latest Raspian (13-030-2108), updated and upgraded just now sudo apt-get install motion >>> " E: Unable to locate package motion" sudo apt-get install motion-mmal >>> " E: Unable to locate package motion-mmal" (from https://embeddedday.com/projects/raspberry-pi/a-step-further/install-motion-...
by grahamed
Wed Nov 15, 2017 5:13 pm
Forum: Automation, sensing and robotics
Topic: Raspberry and Arduino RF Communication range problem with rc-switch
Replies: 12
Views: 2572

Re: Raspberry and Arduino RF Communication range problem with rc-switch

I use 433MHz a lot. I send the packet maybe 10 times to ensure it gets through at least once. Like the shop-bought remotes and sockets do. My antennae a better than the bitty things within the units. I actually use a PIC micro so timing is not a problem. It's just not terribly good. And that's only ...
by grahamed
Sat Jun 24, 2017 6:34 pm
Forum: Automation, sensing and robotics
Topic: Automatic Car Battery Cut off to prevent rundown andAAA call
Replies: 48
Views: 8937

Re: Automatic Car Battery Cut off to prevent rundown andAAA

Hi So this topic is still running and generating more hot air than most. Having read through it again I see there are any number of factual errors, false assumptions, etc which are then corrected, possibly ignored, forgotten about, resurrected, recycled as firelighters, whatever. For my $2/100 - the...
by grahamed
Sat May 06, 2017 3:28 pm
Forum: Automation, sensing and robotics
Topic: Controlling two 12 v cabinet locks
Replies: 9
Views: 1594

Re: Controlling two 12 v cabinet locks

Hi Obviously it should not get hot when turned off, but I don't think this is the best device to connect to a 3V3 sysem. i_o characteristics.jpg (http://www.infineon.com/dgdl/irfp3206pbf.pdf?fileId=5546d462533600a401535628d64a1ff0) Unless used in a very hot place the line does not go much below 4V. ...
by grahamed
Fri Dec 16, 2016 9:59 pm
Forum: Automation, sensing and robotics
Topic: using my doorbell to trigger music that wakes me up
Replies: 3
Views: 1236

Re: using my doorbell to trigger music that wakes me up

How is this doorbell receiver powered?
by grahamed
Tue Nov 01, 2016 11:07 am
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi I guess there might be a Windows program that can copy *x partitions but I am not aware of it. For Windows to copy the partition sparsely, i.e. not copy unused space, etc, it would have to understand the structure. I have used an old Partition Magic live CD but it cannot change the write-protecte...
by grahamed
Sun Oct 30, 2016 10:30 pm
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi Adjusting the size of the partition is part of the solution. You then have to copy from old card to new card. Windiskimager copies card not partitions so you end up using dd or such and that means having a spare Linux machine to hand. Actually early versions of Windiskimager did not check sizes r...
by grahamed
Sun Oct 30, 2016 4:33 pm
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi Further findings a USB stick attached during failed SDcard copy was also found to be read-only in the Pi and by Windows, however Windows disk manager recovered it. W10 disk manager says the SDCARD is found, 2 healthy partitions. I can create a new file on the (still read-only) SDCARD boot partiti...
by grahamed
Thu Oct 27, 2016 1:54 pm
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi drgeoff

I know it's not, that's why I'd really like Raspian to allow expansion to nominal size less 10%. I don't think that will happen either. At this time I do not trust SCARD copier in accessories. I don't like what it does either, copy a live file system... never did that in my day.
by grahamed
Thu Oct 27, 2016 11:38 am
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi hippy I think you are correct. I also think it was SDCARD copier what done it. I have no evidence for this excepting that I saw it immediately after a failed attempt to copy a card. But how to undo it? Googling gets many hits re the w/p switch found on full size cards, and many references to Wind...
by grahamed
Thu Oct 27, 2016 11:02 am
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi Thanks I never buy such things from eBay - I know people who do and are surprised when their incredibly well-priced card/stick turns out to fill up quicker than its alleged capicity would suggest. Unless two cards are the same size one will be bigger than the other.....irrespective of other quali...
by grahamed
Thu Oct 27, 2016 10:27 am
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi again

SDformatter says the card is write-protected.

So I shall buy some more 16G cards.....and hope the new 16G is as big as the old 16G, or has that problem been sorted? - but please do not say use SDCARD copier.
by grahamed
Thu Oct 27, 2016 10:03 am
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Re: Strange things after SDCARD backup

Hi OK, thanks for the reply. I was hoping that Linux had somehow become read-only and could be reset. Unless it's an amazing co-incidence it happened during SDCARD COPIER which is a bit worrying, I will use Win32DiskImager to copy off this card, format it with SDformatter, write the earlier backup b...
by grahamed
Wed Oct 26, 2016 10:12 pm
Forum: Troubleshooting
Topic: Strange things after SDCARD backup
Replies: 17
Views: 2535

Strange things after SDCARD backup

Hi I am quite sure that i have got hold of the wrong end of the stick here; otherwise something rather odd is happening. Well I think it's odd, maybe it is well-known. If I edit a file (such as /etc/rc.local as root), save it, reopen it, see it has changed, reboot, reopen it find it has changed back...
by grahamed
Sat Apr 23, 2016 2:17 pm
Forum: Automation, sensing and robotics
Topic: Monitoring electrical device activation times
Replies: 4
Views: 843

Re: Monitoring electrical device activation times

Hi The sensor is a current transformer (CT). The CT produces a secondary (output) current proportional to the primary current according to the turns ratio. In this case 1:2000 so 30A will give 15mA in the secondary. The user must choose a suitable resistor to convert this current into a voltage. 1k ...
by grahamed
Fri Apr 22, 2016 9:27 pm
Forum: Automation, sensing and robotics
Topic: PCF8591P and 50-70mV difference
Replies: 3
Views: 761

Re: PCF8591P and 50-70mV difference

Hi

Where are you connecting the meter? Is it across the battery terminals or across the input of the ADC?
by grahamed
Fri Apr 15, 2016 10:57 pm
Forum: Automation, sensing and robotics
Topic: Two wire temperature sensor
Replies: 3
Views: 1322

Re: Two wire temperature sensor

Hi

Looks like a K-type thermocouple. If it is then MAX6675 looks like a good solution. The plug is often a clue.

Go to advanced search