Go to advanced search

by panik
Sun Oct 23, 2016 11:56 am
Forum: Add-ons
Topic: Introducing "ARMinARM", an STM32 Cortex-M3 breakout board
Replies: 21
Views: 18806

Re: Introducing "ARMinARM", an STM32 Cortex-M3 breakout boar

It would certainly help with precise control over (multiple) servos. In fact with anything that requires precise timing controlling/sensing GPIO pins. It depends on the type of IoT project how useful it is. Complicated projects with lots of sensors will definitely benefit. While the M3 has DAC and I...
by panik
Wed Mar 16, 2016 7:44 pm
Forum: Add-ons
Topic: Gertboard AVR without Arduino IDE (howto)
Replies: 21
Views: 24832

Re: Gertboard AVR without Arduino IDE (howto)

Hi Soprano15. Welcome to the forum! I need help to write a code using either Pi Terminal or other IDE to drive the GPIO of my Pi. I don't think your question has a lot to do with AVR's or the Gertboard specifically. If you post a new, separate topic in the general section there's a bigger chance tha...
by panik
Thu Feb 18, 2016 12:46 pm
Forum: C/C++
Topic: Geany terminal window
Replies: 3
Views: 1200

Re: Geany terminal window

I don't know. When programming in Geany, I usually 'compile and run' from the built-in terminal window in Geany itself. That always sticks to the bottom. In 'menu->view', click 'Show Message Window', then the 'Terminal' tab. From there, `make && ./myprogram`. In stead of <F5>, click <arrow up> and <...
by panik
Fri Feb 12, 2016 11:03 pm
Forum: Graphics programming
Topic: OpenGL development
Replies: 16
Views: 5180

Re: OpenGL development

It's good that people are trying these big packages and that seem to work, but I'm more interested in hearing from people that are writing their own OpenGL code. I'm using GLFW 3 and OpenGL 2.1 with glsl version 120. That compiles and runs fine. Not very fast, but still impressive. Pretty basic, bu...
by panik
Fri Jan 15, 2016 10:29 pm
Forum: Beginners
Topic: Will it break by continously improper shutdown?
Replies: 22
Views: 2505

Re: Will it break by continously improper shutdown?

It's not possible to call a proper `shutdown` command whenever the Pi is done with whatever it's doing? How often does it need to shut down and start up? Maybe a Pi isn't the best tool for the job. A micro controller pulls micro amps when it's in sleep mode. 3 seconds is an eternity, and the only sl...
by panik
Sat Jan 02, 2016 8:57 pm
Forum: Add-ons
Topic: AVRPi-tools: avrdude-6.1/linuxgpio + Arduino IDE/libs
Replies: 1
Views: 11333

Re: AVRPi-tools: avrdude-6.x/linuxgpio + Arduino IDE/libs

Update to avrdude-6.2 (2015-11-16) in the setup above. Changelog: 2015-11-16 Joerg Wunsch <j.[email protected].heep.sax.de> * configure.ac: Released version 6.2. 2015-10-31 Joerg Wunsch <j.[email protected].heep.sax.de> Submitted by Martino Facchin: bug #45727: Wrong atmega8u2 flash parameters * avrdude.conf.in (AT...
by panik
Sat Dec 12, 2015 12:10 am
Forum: C/C++
Topic: xcode/geany makefile
Replies: 1
Views: 814

Re: xcode/geany makefile

You could look at cmake. I have a software project that compiles and runs on Linux, Mac and Windows. One or more CMakeLists.txt files can generate project files for XCode, Visual Studio, CodeBlocks and Eclipse for example. Or generate Unix Makefiles if you want to use Geany. Cmake can find all depen...
by panik
Sun Nov 22, 2015 2:51 pm
Forum: General discussion
Topic: How to install Valgrind tool, will it work with raspbian?
Replies: 13
Views: 4518

Re: How to install Valgrind tool, will it work with raspbian

rpdom could you please tell me some steps to check with... explain in brief. Valgrind works for me in Jessie, but not with all options that work on x86 debian. That's probably just because it's a somewhat older version though. Run 'valgrind --help' to see what's supported. You asked for valgrind on...
by panik
Sat Nov 07, 2015 3:35 pm
Forum: C/C++
Topic: how to AND a variable by bit coded values (e.g. B00001100) ?
Replies: 19
Views: 2553

Re: how to AND a variable by bit coded values (e.g. B0000110

davenull wrote:a pity!
also not a lib for binary representation available?
In C++, there's std::bitset that might do what you want in a flexible way.
by panik
Sun Oct 11, 2015 6:59 pm
Forum: General discussion
Topic: gpio to gpio
Replies: 7
Views: 1234

Re: gpio to gpio

Correct. Theoretically that should also work.
3.3V is high enough for the 5V pins to register as high.
by panik
Sun Oct 11, 2015 6:07 pm
Forum: General discussion
Topic: gpio to gpio
Replies: 7
Views: 1234

Re: gpio to gpio

Feel fee to let me know if that's a wrong headed approach. I know very little about any of this. Makes perfect sense. I agree with what @buja said. If you're looking for software to program the '3.3V Sparkfun Arduino Pro Micro' from the Pi itself (with the Arduino IDE or a Makefile or LUFA) you can...
by panik
Sat Oct 10, 2015 10:34 am
Forum: Windows 10 for IoT
Topic: A Question - Does IoT 'phone home'
Replies: 11
Views: 1954

Re: A Question - Does IoT 'phone home'

How a developer programs their own device is not at all what I was asking about. IMO a developer programming a device to contact other devices needed to perform its function is not at all the same as a corporation gathering information from the computer used to develop the device. No worries. I'm f...
by panik
Thu Oct 08, 2015 10:55 am
Forum: Windows 10 for IoT
Topic: A Question - Does IoT 'phone home'
Replies: 11
Views: 1954

Re: A Question - Does IoT 'phone home'

Visual Studio "phones home" to Microsoft when you log in to it with your Live account. It does that every time. Not only when you connect to Windows IoT on the Pi to deploy your application. So yes, it does. Always. That said, Windows 10 IoT by itself probably doesn't "phone home" (not that we know ...
by panik
Wed Sep 30, 2015 5:29 pm
Forum: Raspbian
Topic: Arduino_IDE-1.6.7/github on the Raspberry Pi
Replies: 122
Views: 43910

Re: Arduino-ide-1.6.5 + due on the Raspberry Pi

I read somewhere that you can just: apt-get install arduino. I tried it and it seems to work. Is that different from what everyone here is doing? On Weeasy that installed a 1.0.X version. I've not tried it on a Jessie. PeterO In the Jessie repo it's also the 1.0.5 version which indeed works fine if...
by panik
Sun Sep 20, 2015 5:22 pm
Forum: General discussion
Topic: Suggestion for HATS
Replies: 4
Views: 845

Re: Suggestion for HATS

Yes, putting an EEPROM on a HAT is a very good idea. The specification is very solid. It works great.

But you probably don't want an EEPROM on the board you put in between the Pi and the HAT as a solution to the problem you mentioned (access to the Pi GPIO's). It will clash with the one on the HAT.
by panik
Sat Sep 19, 2015 11:25 am
Forum: General discussion
Topic: Suggestion for HATS
Replies: 4
Views: 845

Re: Suggestion for HATS

Having the (unused) GPIO pins broken out somewhere on the HAT is a good idea. Then you at least have access to them. There are valid reasons for HATs not to be stackable by specification (just saying in case the discussion goes that way). An alternative solution could be to use an extension header (...
by panik
Sat Sep 05, 2015 12:06 pm
Forum: General discussion
Topic: Sense HAT
Replies: 10
Views: 1762

Re: Sense HAT

@jonesypeter You have a PM. Give me your address and I'll send you a bag of stand-offs.

(That's not creepy. You can trust me. I'm some guy on the internet.)
by panik
Sat Sep 05, 2015 11:36 am
Forum: General discussion
Topic: Sense HAT
Replies: 10
Views: 1762

Re: Sense HAT

Mine came from the Swag store, but without a GPIO extension header. That would have been nice. Not strictly necessary. Just nice. And I don't need 12 screws. 8 will be fine. I can't imagine being a happy camper without stand-offs though. Nobody likes their board flapping about. You really need *at l...
by panik
Thu Sep 03, 2015 9:54 am
Forum: OpenGLES
Topic: OpenGL gotchas !
Replies: 2
Views: 2305

Re: OpenGL gotchas !

I feel you :) Similar things that happened to me: - backface culling is on, and the camera is *inside* the model. - model is outside the clipping plane. - model is *way* too big or too small (1 pixel is hard to spot on a blank HD screen) - model has a fully transparent texture. I'm sure there are mo...
by panik
Thu Jul 30, 2015 3:04 pm
Forum: General discussion
Topic: bitcoin mining on a pi?(advice on the device i am getting)
Replies: 19
Views: 11891

Re: bitcoin mining on a pi?(advice on the device i am gettin

ok...is it a matter of price of the device? because i looked into it more and found one for roughly 50 dollars with 63 Gh/s(its a ANTMINER U3 machine but i highly doubt ill get 63 Gh/s) thank you both for the replies If you don't need the $50 for food or rent, by all means go ahead. It's a fun proj...
by panik
Thu Jul 30, 2015 12:15 pm
Forum: General discussion
Topic: bitcoin mining on a pi?(advice on the device i am getting)
Replies: 19
Views: 11891

Re: bitcoin mining on a pi?(advice on the device i am gettin

Technically it will work. Have a look at bfgminer, cfgminer, or minepeon for example. They can all run on the Pi.

It's fun to build and watch it work, but do NOT expect to earn your money back. Not even when you're lucky in your pool.
by panik
Wed Jul 08, 2015 12:13 pm
Forum: General discussion
Topic: Programming Arduino via GPIO
Replies: 9
Views: 2006

Re: Programming Arduino via GPIO

Resetting the Arduino and uploading the hex file is handled by a program called avrdude, which has to be patched to make use of the gpio pins. You have a couple of options. There are some pointers and links in this topic: https://www.raspberrypi.org/forums/viewtopic.php?f=96&t=106655 All these optio...
by panik
Tue Jul 07, 2015 1:32 pm
Forum: Add-ons
Topic: Where to install arduino libraries?
Replies: 2
Views: 16743

Re: Where to install arduino libraries?

Note the capital 'P' in NeoPixel.

Code: Select all

#include <Adafruit_NeoPixel.h>
Libraries go in '/home/pi/sketchbook/libraries'. Also make sure the directory you put in there has the correct name (rename it to 'Adafruit_NeoPixel' if it hasn't got that name already).
by panik
Sun Jun 28, 2015 12:16 pm
Forum: Add-ons
Topic: What do I gain from having an EEPROM on an add-on board?
Replies: 2
Views: 1502

Re: What do I gain from having an EEPROM on an add-on board?

If your users need to run user space software for your board to be useful (such as a motor driver board) you can handle the pin settings in your software (as you said) and you don't really need an EEPROM. In my case (microcontroller addon boards), an EEPROM would even limit/restrict the functionalit...
by panik
Sat Jun 20, 2015 11:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO pin will not hold its output value
Replies: 5
Views: 3926

Re: GPIO pin will not hold its output value

A pin will return to an input as soon as it is unexported: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=99113 It should stay high if you don't unexport the pin or close/end the program. RPi.GPIO should automatically clean up after itself when the program closes, but I'm not 100% sure it d...

Go to advanced search