Go to advanced search

by m0rgo
Wed Jun 12, 2013 6:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 145065

Re: Using an Arduino as a slave I/O board

If you want a quick test of functionality, the Arduino (at least the R3 and Nano versions anyway) has an onboard LED with built-in resistor, connected to pin 13. Using the Arduino IDE, select the 'Blink' sketch from the example menu (File, Examples, Basic, Blink), upload to the Arduino and enjoy the...
by m0rgo
Wed Apr 03, 2013 9:55 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 601777

Re: [Tutorial] Show RPI's Temperature with a command.

There is another command that you can use to get the system temperature; cat /sys/class/thermal/thermal_zone0/temp. This gives the system temperature in milli-degrees To use the alternate temperature command and import it into Python; First, write shell script to get system time and save it into a f...
by m0rgo
Wed Apr 03, 2013 9:15 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 601777

Re: [Tutorial] Show RPI's Temperature with a command.

I asked earlier if the system temperature could be imported into a python script. Here is my solution; First, write a shell script to get system time and save it into a file in current directory. e.g. #!/bin/bash #get system temperarure and save as 'sysTemp' /opt/vc/bin/vcgencmd measure_temp > sysTe...
by m0rgo
Tue Apr 02, 2013 7:25 pm
Forum: Other projects
Topic: Raspberry Pi LED Matrix with GPIO
Replies: 17
Views: 17143

Re: Raspberry Pi LED Matrix with GPIO

I have just made up a circuit to drive a 8x8 matrix, with a 'Slice of PI/O' board. This gives me 16 outputs from the board, plus another 8 standard GPIO outputs if I want them. I have a 330 Ohm resistor current limiting resistor in series with the positive side to the LED (supply = 3.3 V DC) - this ...
by m0rgo
Wed Mar 20, 2013 10:30 pm
Forum: Advanced users
Topic: Portable Power Solutions
Replies: 21
Views: 33637

Re: Portable Power Solutions

Another factor to take into consideration is the type of battery you intend to use. Although a particular battery will have a Ah figure, a lot of larger capacity batteries do not like being discharged completely and should ideally not go much below 50% If you want to make full use of the potential A...
by m0rgo
Wed Mar 20, 2013 10:02 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 601777

Re: [Tutorial] Show RPI's Temperature with a command.

Is it possible to import the system temperature into a python program?

Go to advanced search