Go to advanced search

by HermannSW
Fri Aug 05, 2016 10:43 pm
Forum: General discussion
Topic: How Do I Find Out Who Manufactured My Pi??
Replies: 13
Views: 3073

Re: How Do I Find Out Who Manufactured My Pi??

Kolban's book on Raspberry Pi has full details, you just need 2 digit of BCM revision, in case of my Zero its Sony: $ cat /proc/cpuinfo ... Hardware : BCM2708 Revision : 900093 Serial : 00000000fe1aea10 p 9 0 0093 Manufacturer: 0x00 – Sony 0x01 – Egoman 0x02 – Embest 0x03 – Not used 0x04 – Embest He...
by HermannSW
Fri Aug 05, 2016 10:30 pm
Forum: General discussion
Topic: Astonishing zero
Replies: 4
Views: 1137

Re: Astonishing zero

viewtopic.php?f=63&t=135081

There are only 4 official resellers, and I bought Zeros at thpihut.com and poimoroni.com a week ago.
Availaible:
https://thepihut.com/products/raspberry-pi-zero
by HermannSW
Wed Aug 03, 2016 6:12 pm
Forum: General discussion
Topic: Zero pi in Italy/Spain
Replies: 39
Views: 6255

Re: Zero pi in Italy/Spain

I am located in Germany, and I did order and receive 4 Zeros in total. Because of the 1 piece restriction I did order two times in parallel at thepihut.com and pimoroni.com. Price was 4£ plus 4£ for shipping to Germany for one piece, which is 9.56€ or 10.65$. But where is the problem -- 1GHz CPU for...
by HermannSW
Tue Aug 02, 2016 6:09 pm
Forum: General discussion
Topic: Using GPIO as Keyboard
Replies: 5
Views: 5925

Re: Using GPIO as Keyboard

https://github.com/mmoller2k/pikeyd

The Readme.md is a bit sparse, but it sounds like it does what you want:
pikeyd

Universal Raspberry Pi GPIO keyboard daemon
Hermann.
by HermannSW
Tue Aug 02, 2016 5:30 pm
Forum: General discussion
Topic: Guide: Chromium 51 on Raspbian Jessie
Replies: 951
Views: 698069

Re: Guide: Chromium 51 on Raspbian Jessie

I read the initial comment and the THIS WILL ONLY WORK ON A Pi2 AND PI3! seems to be right. I did all the installation steps without any issue on Raspberry Pi Zero. But chromium-browser command does not start with an illegal instruction. And when started with sudo it silently dies: pi@raspberrypi01:...
by HermannSW
Tue Aug 02, 2016 2:32 pm
Forum: General discussion
Topic: Raspberry Pi Zero 1ns "cycle counter register"
Replies: 5
Views: 2728

Re: Raspberry Pi Zero 1ns "cycle counter register"

Hi gdb, > You will never get deterministic or nanosecond-precise timing on a system as complex as the Pi SoC. > I agree with that statement for a longer period of code execution. My appliaction runs for a very short timeframe, and I need the super fast readings only in a short time from that: https:...
by HermannSW
Sun Jul 31, 2016 10:18 pm
Forum: General discussion
Topic: How to find Pi Zero OTG(USB) IP under Red Hat linux
Replies: 0
Views: 1025

How to find Pi Zero OTG(USB) IP under Red Hat linux

After connecting Raspberry Pi Zero to a Ubuntu machine connecting or pinging the Pi Zero is easy to do using "raspberrypi.local" address. This does not work on the Red Hat linux machine I have. I found a solution on how to find out the Pi Zero IP address under Red Hat linux: connect Pi Zero over USB...
by HermannSW
Sun Jul 31, 2016 8:41 pm
Forum: General discussion
Topic: Raspberry Pi Zero 1ns "cycle counter register"
Replies: 5
Views: 2728

Re: Raspberry Pi Zero 1ns "cycle counter register"

Now lets talk on the other two programs in the archive. I am interested in reading digital GPIO pins very fast, and the 1ns clock precision of the Pi Zero made me try that. I need this to measure speed of light: https://forum.arduino.cc/index.php?topic=406165.0 Since light travels 0.33m in 1ns "real...
by HermannSW
Sun Jul 31, 2016 8:14 pm
Forum: General discussion
Topic: Raspberry Pi Zero 1ns "cycle counter register"
Replies: 5
Views: 2728

Raspberry Pi Zero 1ns "cycle counter register"

In a previous posting I asked how to (start and) read Raspberry Pi Zero "cycle counter register": https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=155498 Finally I found working code sample in that thread. In this thread I want to show how to work with cycle counter, in kernel mode as well as...
by HermannSW
Sun Jul 31, 2016 4:31 pm
Forum: General discussion
Topic: No internet for Pi Zero OTG after upgrade to 16.04 Ubuntu
Replies: 4
Views: 1641

Re: No internet for Pi Zero OTG after upgrade to 16.04 Ubun

I have latest Raspian Jesse light installed, and that worked fine with Ubuntu 15.?? based on the steps in the link you provided. Now things on Ubuntu side changed, before (15.??) had these options: DHCP manual link-local share to other computers disable Ubuntu 16.04 only provides these options: DHCP...
by HermannSW
Sun Jul 31, 2016 3:24 pm
Forum: General discussion
Topic: No internet for Pi Zero OTG after upgrade to 16.04 Ubuntu
Replies: 4
Views: 1641

No internet for Pi Zero OTG after upgrade to 16.04 Ubuntu

I was asked to upgrade Ubuntu 15.?? to 16.04 on our home computer, and I did that. Probably it would have been better not to do that. Before, with 15.?? Ubuntu I had two options to connect Raspberry Pi Zero over USB (OTG): select "link local" select "connection sharing ..." The first allowed me to c...
by HermannSW
Fri Jul 29, 2016 5:53 pm
Forum: General discussion
Topic: Raspberry Pi Zero "cycle counter register" always returns 0?
Replies: 3
Views: 2076

Re: Raspberry Pi Zero "cycle counter register" always return

Searching this forum (bare metal) did not give a solution. But googling for "arm11" and "cycle counter" did find this posting with code "Counting cycles on the Nokia N810": http://bench.cr.yp.to/cpucycles/n810.html Luckily Nokia N810 is arm11 based as the Raspberry Pi Zero, and the code worked witho...
by HermannSW
Thu Jul 28, 2016 8:13 pm
Forum: General discussion
Topic: Raspberry Pi Zero "cycle counter register" always returns 0?
Replies: 3
Views: 2076

Re: Raspberry Pi Zero "cycle counter register" always return

After a lot of googling I found this relevant posting: http://stackoverflow.com/questions/3247373/how-to-measure-program-execution-time-in-arm-cortex-a8-processor?answertab=active#tab-top It says that counters need to be enabled first. The code does help although it is for Cortex-A8. At the bottom y...
by HermannSW
Wed Jul 27, 2016 2:38 pm
Forum: General discussion
Topic: Raspberry Pi Zero "cycle counter register" always returns 0?
Replies: 3
Views: 2076

Raspberry Pi Zero "cycle counter register" always returns 0?

Yesterday I successfully installed kernel header files needed to build kernel modules on Raspbian: https://www.raspberrypi.org/forums/viewtopic.php?p=1015439#p1015439 Next I went to "the" page wrt. Raspberry CPU "cycle counter register": http://blog.regehr.org/archives/794 The precompiled module did...
by HermannSW
Tue Jul 26, 2016 6:40 pm
Forum: General discussion
Topic: Howto install headers for building kernel module on Pi Zero?
Replies: 1
Views: 2748

Re: Howto install headers for building kernel module on Pi Z

I was unsuccessful with all the different tutorials and instructions I found that did not need internet access. Although I am still waiting for the micro USB to RJ45 module I found another solution to provide internet access for my Raspberry Pi Zero today: https://www.raspberrypi.org/forums/viewtopi...
by HermannSW
Tue Jul 26, 2016 2:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: enc28j60 on pi Zero
Replies: 10
Views: 9120

Re: enc28j60 on pi Zero

I really had problems in getting Raspberry Pi Zero internet access with OTG USB cable connection, no tutorial or instruction worked. Today I found the cool idea of using enc28j60 network module I bought back in March for my Arduinos ( for 4$ at that time ). I found German instruction first, followed...
by HermannSW
Mon Jul 25, 2016 12:30 am
Forum: Automation, sensing and robotics
Topic: Measuring frequency
Replies: 12
Views: 8476

Re: Measuring frequency

> You could also use some uC (AVR - tiny, mega; PICs) to measure the frequency > and output the data in a more useful format for RPi (I2C, serial, etc.). > A (12$) Arduino Due can measure frequencies (and duties) up to 42MHz with the help of timer counter based tc_lib . A Raspberry Pi Zero can gener...
by HermannSW
Sun Jul 24, 2016 6:41 pm
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 12053

Re: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

I do trust your 180Ω calculation, and I did what you proposed, used the two 100Ω resistors in series. The laser is pretty much unusable with that safety resistor (this photo looks even better than reality, right click to view full size): https://stamm-wilbrandt.de/en/forum/IMG_20160724_202919.jpg So...
by HermannSW
Sun Jul 24, 2016 6:15 pm
Forum: General discussion
Topic: Howto install headers for building kernel module on Pi Zero?
Replies: 1
Views: 2748

Howto install headers for building kernel module on Pi Zero?

Hi, I am working with Pi Zero OTG, and tried numerous instructions on how to get internet access from a Pi Zero ssh session without success. So I will just wait for network module to arrive in 2 weeks (bought it from amazon because that was quicker): https://twitter.com/HermannSW/status/754589538593...
by HermannSW
Sun Jul 24, 2016 3:02 pm
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 12053

Re: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

Hi, I had the red cable connected to VΩmA before and did so now, and I got and get only 0 reading for 200m. Maybe the amperemeter component of my device is broken? What is wrong with the voltage measurement and calculation I did, does that not clearly show that the diode draws 3.12mA? Ooops, found a...
by HermannSW
Sun Jul 24, 2016 12:07 pm
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 12053

Re: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

Hi, I tried measuring current before and had problems, and read on google search results that internal resistor of amperemeter can be a problem as well. OK, so I did connect the laser diode directly to a 3.26V power source: https://stamm-wilbrandt.de/en/forum/IMG_20160724_121117.jpg I measured 0.02m...
by HermannSW
Sat Jul 23, 2016 7:37 pm
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 12053

Re: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

Thanks for the answer. > 2) Measure the current your lasers are drawing with a multimeter. > Especially that seems to be more difficult(inaccurate) than I thought according to what I found by google searches. > 1) Find out the current limit of the PI pins. That info is all over the net. > Same here,...
by HermannSW
Sat Jul 23, 2016 1:17 pm
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 12053

Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

Hi, I did buy 3.3V 5mW laser diodes for my Arduino Dues originally, because Due did need motor driver to driver a 5V laser module I had. Since Pi Zero pins are 3.3V as well, I used Pi Zero with wiringPi blink8 sample and 8 laser diodes: https://www.youtube.com/watch?v=wvuO7WAann0 https://stamm-wilbr...
by HermannSW
Fri Jul 22, 2016 9:28 pm
Forum: General discussion
Topic: Speed up wiringPi digitalWrite(), make blink generate 28MHz
Replies: 0
Views: 1188

Speed up wiringPi digitalWrite(), make blink generate 28MHz

Hi, its only few weeks that I got two Raspberry Pi Zero, but I have tons of Arduino's, including 4 Due which are the most performant ones (84MHz clock, 96KB ram). Recently I played wih Arduino Due "tc_lib" for doing high precision, timer based, frequency and duty determination. Although the frequenc...

Go to advanced search