Go to advanced search

by markkuk
Wed Oct 10, 2018 6:57 am
Forum: General discussion
Topic: Use pigs to control led strip
Replies: 4
Views: 477

Re: Use pigs to control led strip

The led strip shut down, I can't power up the three color in same time, I can power up 2 color at the same time, when I power up the third color, every led shut down. The first thing you should check is the LED power supply. It could be overloading and shutting down when you try to use all three co...
by markkuk
Sun Oct 07, 2018 9:42 am
Forum: Beginners
Topic: OS names / current / latest vesrion ?
Replies: 7
Views: 710

Re: OS names / current / latest vesrion ?

AnneCreek wrote:
Sun Oct 07, 2018 12:34 am
Are there any current issues / resolved issues published - like in Github?
The Raspberry Pi Foundation has a GitHub page: https://github.com/raspberrypi/
The Raspbian Linux distribution uses Launchpad for issue tracking: https://bugs.launchpad.net/raspbian
by markkuk
Wed Oct 03, 2018 10:18 am
Forum: Automation, sensing and robotics
Topic: LC Technologies BME280
Replies: 2
Views: 553

Re: LC Technologies BME280

You need four wires: 3.3V, ground, SDA and SCL. The breakout connections appear clearly labeled, see pinout.xyz for Raspberry Pi connections. The picture shows that you are missing the SDA wire to RPi pin 3.
by markkuk
Mon Oct 01, 2018 1:02 pm
Forum: Automation, sensing and robotics
Topic: Motor torque and gearing
Replies: 6
Views: 804

Re: Motor torque and gearing

I am working on a project which involves the Pi controlling a motor. The motor needs to lift a 750g weight to a height of a 60cm. How quickly? That's 4.4 Joules of work, the amount of time spent for the lift determines the power required. In the event there is somebody on this forum who can offer a...
by markkuk
Tue Sep 25, 2018 7:19 pm
Forum: Beginners
Topic: Mysql table creation to store sensor data
Replies: 13
Views: 1631

Re: Mysql table creation to store sensor data

There is no option like CURRENT_TIMESTAMP. Did you follow the links in my previous post? CURRENT_TIMESTAMP definitely exists in MySQL. Maybe the problem is with whatever GUI tool you are using. It bydefault set to varchar(45) varchar(45) is a data type (which you should replace with TIMESTAMP), CUR...
by markkuk
Tue Sep 25, 2018 6:55 am
Forum: Beginners
Topic: Mysql table creation to store sensor data
Replies: 13
Views: 1631

Re: Mysql table creation to store sensor data

The type of your TIMEDATE column should be TIMESTAMP and its default value should be CURRENT_TIMESTAMP. Assuming you are intending to use this as the primary key, it should have the NOT NULL and UNIQUE attributes as well.
by markkuk
Fri Sep 21, 2018 8:24 am
Forum: Beginners
Topic: LED project help, please?
Replies: 7
Views: 896

Re: LED project help, please?

Kekewy wrote:
Fri Sep 21, 2018 1:22 am
Thanks for the suggestions. I'm not familiar with the Arduino. Can you make your own pattern into it or does it only use pre-set ones?
Arduino devices are fully programmable microcontrollers. Check out the Adafruit Gemma and Gemma M0 that are specifically designed for wearable projects.
by markkuk
Tue Sep 18, 2018 11:48 am
Forum: Beginners
Topic: How do I compile SharingService.exe (x64) for ARM processors on the Raspberry Pi
Replies: 3
Views: 383

Re: How do I compile SharingService.exe (x64) for ARM processors on the Raspberry Pi

If you manage to compile the code for Windows on ARM it still won't run on a Raspberry Pi. Windows for IoT can't run Win32 applications, and Raspbian or other Linux distributions won't run any Windows software.
by markkuk
Sun Sep 16, 2018 12:22 pm
Forum: Python
Topic: int Object has no attribute GPIO
Replies: 19
Views: 2027

Re: int Object has no attribute GPIO

kentang1102 wrote:
Sun Sep 16, 2018 10:06 am
Thanks all~~

Error codes came out from the IDLE, but it works fine finally on Raspberry pi Python3. Don't know why..
When you are running under IDLE the standard output isn't connected to a terminal. That's why you received the "inappropriate ioctl" error.
by markkuk
Sun Sep 16, 2018 8:44 am
Forum: Python
Topic: int Object has no attribute GPIO
Replies: 19
Views: 2027

Re: int Object has no attribute GPIO

How are you starting your code? Are you using IDLE, Thonny or some other IDE? Try running your code from a normal terminal window instead.
by markkuk
Fri Sep 14, 2018 12:19 pm
Forum: Beginners
Topic: Connectin to Windows 10 PC.
Replies: 26
Views: 3442

Re: Connectin to Windows 10 PC.

How do I access boot volume and create blank file named ssh in windows 10.? Step by step please. Power off the Raspberry Pi and remove the MicroSD card. Insert the card into your Windows 10 computer using whichever adapters and reader devices you need. Ignore any messages from Windows if it suggest...
by markkuk
Thu Sep 13, 2018 11:22 am
Forum: Beginners
Topic: Connectin to Windows 10 PC.
Replies: 26
Views: 3442

Re: Connectin to Windows 10 PC.

Not yet, but I am getting there. I have flashed Rasbian Lite to micro card using Etcher. Did you create the empty file named "ssh" according to the instructions: https://www.raspberrypi.org/documentation/remote-access/ssh/README.md I have a connection listed in Network Connections as follows. rasbe...
by markkuk
Mon Sep 03, 2018 8:58 am
Forum: General discussion
Topic: Bedroom Display Interface
Replies: 5
Views: 647

Re: Bedroom Display Interface

DAKboard has basically all the features you want. It's not free/open source, but maybe you can use it while designing your own superior solution :)
by markkuk
Mon Sep 03, 2018 8:49 am
Forum: General discussion
Topic: Connect two device on same 3.3 V pin
Replies: 3
Views: 477

Re: Connect two device on same 3.3 V pin

There's a second 3.3V output at pin 17, but the answer to your actual question is:
Yes, you can connect multiple devices to a single power or ground pin as long as you don't exceed the maximum current capacity. You don't need any additional hardware other than suitable wires.
by markkuk
Fri Aug 31, 2018 4:21 pm
Forum: Python
Topic: DHT22 MariaDB
Replies: 7
Views: 835

Re: DHT22 MariaDB

"Table" is a reserved keyword in SQL, and you really should use some other name for your table.
by markkuk
Thu Aug 30, 2018 3:27 pm
Forum: General discussion
Topic: Security certification for pi based IOT.
Replies: 6
Views: 622

Re: Security certification for pi based IOT.

Heater wrote:
Thu Aug 30, 2018 6:05 am
I don't know of any such "official" 3rd party that would put their seal of approval security.
There's the UL Cybersecurity Assurance Program which is based on ANSI-approved standards. That's fairly "official", at least in the USA.
by markkuk
Fri Aug 24, 2018 8:26 pm
Forum: General discussion
Topic: LAMP server
Replies: 14
Views: 1360

Re: LAMP server

Ok Thanks, The PHP test pages says that I'm using PHP Version 7.0.30-0+deb9u1 I am receiving in the logs as followed: (...) [Fri Aug 24 14:44:41.962585 2018] [:error] [pid 2331] [client 192.168.0.25:43102] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/...
by markkuk
Thu Aug 16, 2018 11:50 am
Forum: Python
Topic: connecting raspberry to ms sql server via ethernet
Replies: 3
Views: 535

Re: connecting raspberry to ms sql server via ethernet

Code: Select all

sudo apt-get install python3-pyodbc
by markkuk
Wed Aug 01, 2018 6:56 am
Forum: Beginners
Topic: PuTTY connection
Replies: 13
Views: 828

Re: PuTTY connection

OK, i am using the SSH library on the laptop and nothing on the Pi zero. You must have the sshd service running on the Pi Zeros. I have to use something, to create the 3 connections. The Visual Basic code you have posted twice creates the connections. There's no need to create additional connection...
by markkuk
Thu Jul 12, 2018 12:03 pm
Forum: C/C++
Topic: How to compile C++ on Raspberry Pi
Replies: 10
Views: 55446

Re: How to compile C++ on Raspberry Pi

ganeshpadgalwar23 wrote:
Thu Jul 12, 2018 10:48 am
I'm combinely using wiringPi Library and Rpi-rgb-led-matrix library in my .CC code
If you are using multiple libraries then you must link your code with all of them.

Code: Select all

g++ example.cc -o example -lwiringPi -lrgbmatrix
by markkuk
Mon Jul 02, 2018 9:27 pm
Forum: Beginners
Topic: Can't get Thumb Drive to work, can I save data to my PC instead?
Replies: 14
Views: 662

Re: Can't get Thumb Drive to work, can I save data to my PC instead?

Just has PRINT for the terminal window - I don't know how to get the sensor to save the data to a file - preferably csv or doc file for a mysql Time to start learning Python programming, read "Automate the Boring Stuff with Python" and/or How to Think Like a Computer Scientist: Learning with Python...
by markkuk
Sat Jun 16, 2018 10:37 am
Forum: Beginners
Topic: Pi Zero W: What image fit best
Replies: 7
Views: 10383

Re: Pi Zero W: What image fit best

mccpi wrote:
Sat Jun 16, 2018 10:23 am
Where can I get a description of the physical capabilities of the GPIOs of the Pi Zero (pull up/down resistor
values, max. current out, max. voltage out, residual capacity etc...) ?
https://www.raspberrypi.org/documentati ... /README.md
by markkuk
Thu Jun 14, 2018 9:00 am
Forum: Beginners
Topic: Looping through Powerpoint
Replies: 2
Views: 450

Re: Looping through Powerpoint

amidabrian55 wrote:
Tue Jun 12, 2018 10:31 pm
I understand that I would need to install Libre Office and then I am a little unsure what to do next. Any help would be appreciated.
Read the LibreOffice documentation: https://helponline.libreoffice.org/late ... /show.html
by markkuk
Tue Jun 12, 2018 7:26 pm
Forum: C/C++
Topic: wchar functions
Replies: 3
Views: 627

Re: wchar functions

The following code demonstrate the problem. I create a new file: [email protected]:~/c $ echo "æble" > in.txt [email protected]:~/c $ ls -l in.txt -rw-r--r-- 1 pi pi 6 jun 12 18:53 in.txt Note file size 6 bytes... The text file is UTF-8 encoded, one 2-byte character followed by 4 single byte characters (...

Go to advanced search