Go to advanced search

by Pieter-Jan5000
Thu Nov 06, 2014 6:08 am
Forum: General discussion
Topic: Trouble cross compiling linux kernel on osX
Replies: 3
Views: 1286

Re: Trouble cross compiling linux kernel on osX

Well it worked by adding the define. Everything compiled now.

I used to use VM's and stuff to do this but I think they are suboptimal solutions. OSX is what I use to develop stuff at home, so that's what I want to use all the way through ;). It's a pretty great UNIX system as well ...
by Pieter-Jan5000
Wed Nov 05, 2014 8:48 pm
Forum: General discussion
Topic: Trouble cross compiling linux kernel on osX
Replies: 3
Views: 1286

Re: Trouble cross compiling linux kernel on osX

Ok, quick update:

Adding the following line to the build script's includes already got me further:

Code: Select all

#define EM_S390   22      /* IBM S/390 */
I found that in 2012 the dependency for this EM_S390 macro was added to scripts/sortextable.c
by Pieter-Jan5000
Wed Nov 05, 2014 7:53 pm
Forum: General discussion
Topic: Trouble cross compiling linux kernel on osX
Replies: 3
Views: 1286

Trouble cross compiling linux kernel on osX

Hello, I can't cross compile the linux kernel on osX and I don't understand why. Following the steps on the eLinux website I get the following error: scripts/sortextable.c:244:7: error: use of undeclared identifier 'EM_S390' I first installed the arm-none-eabi toolchain with following instructions: ...
by Pieter-Jan5000
Sat Jun 08, 2013 12:04 pm
Forum: C/C++
Topic: Raspberry PI I2C
Replies: 9
Views: 2794

Re: Raspberry PI I2C

Fixed it ;). Sorry again stupid mistake!
by Pieter-Jan5000
Wed Jun 05, 2013 1:59 pm
Forum: C/C++
Topic: Raspberry PI I2C
Replies: 9
Views: 2794

Re: Raspberry PI I2C

Oh Im so sorry you are right! I can fix this on saturday as I am not at home now... Sorry again...
by Pieter-Jan5000
Mon Jun 03, 2013 6:50 pm
Forum: C/C++
Topic: Raspberry PI I2C
Replies: 9
Views: 2794

Re: Raspberry PI I2C

Which language are you programming in?

If you want to use raw C I wrote a tutorial which discusses how to use the I2C here: http://www.pieter-jan.com/node/15
by Pieter-Jan5000
Thu May 30, 2013 8:58 am
Forum: Beginners
Topic: Issue with known working WIFI
Replies: 70
Views: 123891

Re: Issue with known working WIFI

thank you craigward, this fixed my problem. i do not need a powered hub like so many other posts i've read, i knew i could get this working. the wpa.config was the major issue. if anyone is having wifi on wpa issues then use the information below!! copy and pasting wpa.config files resulted in lots...
by Pieter-Jan5000
Sat May 25, 2013 10:06 am
Forum: Troubleshooting
Topic: Unusually slow ssh login
Replies: 15
Views: 31246

Re: Unusually slow ssh login

Have you tried running

Code: Select all

sudo setupcon
I once had a massive delay as well, and after running that command it was reduced dramatically ...
by Pieter-Jan5000
Fri May 24, 2013 6:49 pm
Forum: General discussion
Topic: Extension cable for GPIO pins?
Replies: 5
Views: 3693

Re: Extension cable for GPIO pins?

If you're looking for a cheap alternative, I made one myself. Very easy!

http://www.pieter-jan.com/node/14
by Pieter-Jan5000
Tue May 21, 2013 12:52 pm
Forum: Automation, sensing and robotics
Topic: Will this strain gauge circuit work?
Replies: 13
Views: 7095

Re: Will this strain gauge circuit work?

danjperron wrote: I hope that you will put some caps to filter noise.
Agreed. You need to decouple the 3.3V from your Pi and the power supply of the ADC as to minimize interference with your analog circuit.
by Pieter-Jan5000
Fri May 17, 2013 3:49 pm
Forum: Automation, sensing and robotics
Topic: PWM outputs
Replies: 20
Views: 58532

Re: PWM outputs

As the Pi is not a real time system I would advice to use external hardware for this. You can use a PWM module like PCA9685 which works on i2c. I am pretty sure this is the best option for good results!
by Pieter-Jan5000
Wed May 15, 2013 12:57 pm
Forum: Automation, sensing and robotics
Topic: Quadcopter
Replies: 10
Views: 5931

Re: Quadcopter

Very nice project! Congrats on your work!
by Pieter-Jan5000
Wed May 15, 2013 12:52 pm
Forum: Automation, sensing and robotics
Topic: GPIO = analog in?
Replies: 9
Views: 9395

Re: GPIO = analog in?

I think a decent ADS on i2c like the MCP3008 and a potentiometer are the cheapest/most logical option. I really don't see why you would use an extra processor like the ATiny for a simple task like this ...
by Pieter-Jan5000
Wed May 15, 2013 9:04 am
Forum: Automation, sensing and robotics
Topic: Rpi and relay to switch on/off lights
Replies: 27
Views: 80535

Re: Rpi and relay to switch on/off lights

Ok sorry. I didn't take a good look at the board. With a board that has opto couplers on it, the need for a line driver is obsolete. It also offers better protection for the indutive load of the relay. Good luck.
by Pieter-Jan5000
Tue May 14, 2013 2:27 pm
Forum: Automation, sensing and robotics
Topic: Rpi and relay to switch on/off lights
Replies: 27
Views: 80535

Re: Rpi and relay to switch on/off lights

The gpio pins of the raspberry pi are probably too limited in current to drive a relay directly. Use a line driver like the uln2003a to overcome this problem. Then you can also fix the problem of the voltage by feeding the line driver with 5V
by Pieter-Jan5000
Tue May 14, 2013 10:58 am
Forum: Beginners
Topic: boot to program
Replies: 5
Views: 3805

Re: boot to program

For the command-line version, the safest way is to enable auto-login: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=26052&p=236672&hilit=inittab+d+tty#p236672 And then start the program you want in either .bashrc, or by specifying it as your shell. If you do this, sooner or later you will ...
by Pieter-Jan5000
Tue May 14, 2013 10:51 am
Forum: Troubleshooting
Topic: broken sd slot
Replies: 13
Views: 3233

Re: broken sd slot

My slot was broken too. I just replaced it with one I could cheaply get off ebay: http://www.pieter-jan.com/node/12
by Pieter-Jan5000
Tue May 14, 2013 9:16 am
Forum: Automation, sensing and robotics
Topic: Connect load cell to Pi
Replies: 32
Views: 33242

Re: Connect load cell to Pi

My biggest concern right now are the voltages. The amplifier can take between 2.7v and 5.5v as input, the ADC can handle between 2.7v and 36v as input. So it would be no problem to use 3.3v as input for all components? If you want to use the ADC with good results, you want your input signal to be a...
by Pieter-Jan5000
Tue May 14, 2013 9:07 am
Forum: Beginners
Topic: boot to program
Replies: 5
Views: 3805

Re: boot to program

I would like to know this as well ...
by Pieter-Jan5000
Tue Oct 23, 2012 3:01 pm
Forum: Automation, sensing and robotics
Topic: Alternative for PCF9685?
Replies: 1
Views: 624

Alternative for PCF9685?

Hello, As the raspberry pi is quite bad ad generating PWM directly I was looking at the PCF9685 component. It seems perfect for the task. Two problems however: - It's not PDIP so I would need to have a PCB made - I can't seem to find it in europe I was wondering if anyone knows an alternative compon...
by Pieter-Jan5000
Mon Oct 22, 2012 8:31 am
Forum: HATs and other add-ons
Topic: No more Gert... kits
Replies: 98
Views: 16734

Re: No more Gert... kits

Wow this sucks! I really like the idea of unsoldered boards. Bummer!
by Pieter-Jan5000
Sun Oct 21, 2012 12:02 pm
Forum: Automation, sensing and robotics
Topic: Relays and Motors
Replies: 4
Views: 2674

Re: Relays and Motors

As a relay is a solenoid, even driving one of these might be a problem for your Pi. A good idea is to use a "Line Driver" like the ULN2003a. In the inside it looks like this: http://3.bp.blogspot.com/-DbT_u1eJw88/UFbmqY_xcxI/AAAAAAAACJw/Gs0RcXjO8KI/s1600/ULN2003A.gif You have to connect your relays ...
by Pieter-Jan5000
Sun Oct 21, 2012 10:57 am
Forum: Raspbian
Topic: Minimal / NetInst?
Replies: 2
Views: 635

Re: Minimal / NetInst?

I would be interested in this too!

Go to advanced search