Go to advanced search

by Tzarls
Mon Jun 10, 2019 4:07 pm
Forum: General discussion
Topic: Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic
Replies: 6
Views: 269

Re: Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic

Yes, and the project seems to have some bad comments.

Thanks anyway, let's see if someone else knows how to achieve what I want.
by Tzarls
Fri May 17, 2019 1:06 pm
Forum: General discussion
Topic: Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic
Replies: 6
Views: 269

Re: Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic

But I don't need to actually sniff packets off the air. The idea is to have the robot connect directly to the Pi, which would be acting as the Windows PC's bluetooth adapter. In reality this would be more like a MITM thing than actual sniffing.
by Tzarls
Fri May 17, 2019 7:17 am
Forum: General discussion
Topic: Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic
Replies: 6
Views: 269

Pi Zero W as Bluetooth Dongle to inspect Bluetooth traffic

Hi. I have this small "robot" which can be programmed using Scratch 2 on Windows with some extensions made by the manufacturer. The robot connects to the computer using Bluetooth. I had the idea that, if I could inspect the messages sent from and to the robot I could make a Python API to program it ...
by Tzarls
Thu Mar 28, 2019 12:17 pm
Forum: General discussion
Topic: Pi 4 questions
Replies: 166
Views: 8339

Re: Pi 4 questions

Since the only thing we know for sure about the Pi4, or Pi5, or Pi6 is that price will be 35$...can I pre-order right now? Coumt me as first in line, others can stand behind me. 😁
by Tzarls
Mon Mar 18, 2019 2:45 am
Forum: General programming discussion
Topic: Mixing C and assembly?
Replies: 18
Views: 1487

Re: Mixing C and assembly?

A few years ago I got involved in porting some software to the Raspberry Pi, and had to investigate how function arguments and returns work in assembly - learnt a lot about r, s and d registers. The whole discussiones and work progress is documented here: https://www.gamedev.net/forums/topic/634187-...
by Tzarls
Sat Mar 16, 2019 10:50 pm
Forum: General discussion
Topic: design of a generic raspberry pi 3 form factor open source notebook cabinet?
Replies: 18
Views: 1261

Re: design of a generic raspberry pi 3 form factor open source notebook cabinet?

Such "cabinet" exists:

http://www.wawaperu.org/

I've seen it working with a Raspberry Pi and at least one iother kind of SBC.
by Tzarls
Wed Jan 16, 2019 10:48 pm
Forum: Advanced users
Topic: Raspberry PI cold boot attack protected / Zero out RAM after boot?
Replies: 71
Views: 3981

Re: Raspberry PI cold boot attack protected / Zero out RAM after boot?

Another idea, this time with some hardware hacking: Could you just modify the power adapter in such a way that when it is connected to the load (the RPi) it slowly charges some kind of device (a capacitor?) and only after that it powers its main device (the RPi)? By delaying the reboot process the R...
by Tzarls
Wed Jan 16, 2019 12:40 am
Forum: Advanced users
Topic: Raspberry PI cold boot attack protected / Zero out RAM after boot?
Replies: 71
Views: 3981

Re: Raspberry PI cold boot attack protected / Zero out RAM after boot?

Ok, here's the solution you've been looking for, without having to redesign SOCs or spend millions. You just need to design a new case based on this guidelines: The case should be closedd and cover the SD slot with some kind of lid. When the lid is opened it activates some mechanism that moves some ...
by Tzarls
Wed Dec 26, 2018 5:42 am
Forum: Off topic discussion
Topic: Merry Xmas RasberryPi!
Replies: 21
Views: 2014

Re: Merry Xmas RasberryPi!

What are we all eating today? Well... Just came back from having a late Festivus dinner at TGI Friday's... That would be ribs for me, some chicken for the kids and lemonade and chicha morada for drinks... And yes, it's summer solstice around here. Live long and prosper, and may the schwatrz be with...
by Tzarls
Sat Nov 24, 2018 3:41 am
Forum: Off topic discussion
Topic: My 1st ever dead Pi.
Replies: 14
Views: 2477

Re: My 1st ever dead Pi.

You must have tripped your Pi's polyfuse, maybe when testing voltages. Now it has reset, that's why it is working again. I had something like this happen once to one of my Raspis, one that was doing almost nothing, just displaying photos over and over. One day it was dead. After a coupe of days it w...
by Tzarls
Thu Aug 02, 2018 5:30 am
Forum: General discussion
Topic: RPI 3B+ reports incorrect clockspeed. Video
Replies: 60
Views: 3594

Re: RPI 3B+ lies about it's clockspeed. Video

One Meg just does not cut it with modern browsers, even with all sorts of ad and script blockers and a pi-hole up front in a separate Rpi. The 3B doesn't just slow down when hot...it 'effin quits. You mean 1 Gig, right? FWIW, I have a RPi3B in an AIY Voice V1 - no heatsink, locked in a cardboard bo...
by Tzarls
Tue Jul 24, 2018 5:19 pm
Forum: Off topic discussion
Topic: What was your 1st game?
Replies: 49
Views: 16927

Re: What was your 1st game?

My first computer game must have been one called "chopper" where you controled a helicopter and had to manuever through caves and rescue people from the top of buildings. All graphics were done with text characters. As far as I remember this was on an Olivetti machine, like 200 years ago. I don't re...
by Tzarls
Fri Jun 29, 2018 9:25 pm
Forum: Beginners
Topic: virtual keyboard for touch screen?
Replies: 49
Views: 10071

Re: virtual keyboard for touch screen?

ok, I give up with Jessie Don't. For downloading I usually "cheat" - I download the package using my Windows Pc and then transfer the file to the Pi (mainly because I use Windows to browse,so it's faster that way) but you can do it that way directly from the chromium browser on the Pi. Or investiga...
by Tzarls
Fri Jun 29, 2018 5:20 am
Forum: Beginners
Topic: virtual keyboard for touch screen?
Replies: 49
Views: 10071

Re: virtual keyboard for touch screen?

I use Jessie and xvkbd and everything works ok. Now, I remember having the problem you describe (not being able to launch the keyboard again) and found that the version in the repositories apparently had a problem when shutting down. I don't remember exactly how I solved it but I think it had to do ...
by Tzarls
Sat May 26, 2018 6:51 pm
Forum: Beginners
Topic: (Solved) How to shut down a rasp you cant connect to
Replies: 9
Views: 724

Re: How to shut down a rasp you cant connect to

If you have an USB keybiard you can try the following:
1. Plug the keyboard to the Raspberry.
2. Press this combination: control alt f1
3. Write this command: sudo shutdown - h now

If this works, after a few seconds you should see the activity led blinking 10 times, which means your Raspberry is off.
by Tzarls
Wed May 02, 2018 11:06 pm
Forum: The MagPi
Topic: STICKY: Errata
Replies: 54
Views: 59637

Re: STICKY: Errata

Issue 69, page 38: For playing music using omxplayer it says to use the following:

Code: Select all

oxmplayer ~/Music/Anton_Rothschild_-_03_-_Its_Not_Vegas.mp
It should be omxplayer, not oxmplayer.
by Tzarls
Thu Mar 29, 2018 6:35 am
Forum: General discussion
Topic: How expensive does "The Pi Bug" get?
Replies: 32
Views: 2478

Re: How expensive does "The Pi Bug" get?

But what sort of sound should it make? A buzz is no good - we'd really like something that sounds like bagpipes, or maybe church bells. What makes a church bell sound like it does? So now, before we start working out the details of the project, we have to find out what it's going to do. The first t...
by Tzarls
Sun Mar 04, 2018 5:07 am
Forum: Beginners
Topic: Ultrasonic Theremin Problems
Replies: 16
Views: 1425

Re: Ultrasonic Theremin Problems

AFAIK there is a problem with the ultrasonic sensor interface in gpiozero - Basically the sensor won't detect any distance so any project based on distance will not work. I had to develop my own ultrasonic class using Pigpio to make the theremin and other projects work.
by Tzarls
Thu Feb 08, 2018 8:19 pm
Forum: Español
Topic: Raspberry Jam en Lima, Perú
Replies: 0
Views: 306

Raspberry Jam en Lima, Perú

Hola a todos. Les comento que el 3 de marzo estaremos realizando un Raspberry Jam en la ciudad de Lima, Perú, con motivo del aniversario de la Raspberry Pi. La reunión está organizada por la empresa Generación Tec en coordinación con el FabLab de la Universidad ESAN y se llevará cabo en el local de ...
by Tzarls
Mon Jan 29, 2018 6:54 pm
Forum: Camera board
Topic: Camera: Looking for a C++ library that includes encoders
Replies: 2
Views: 652

Re: Camera: Looking for a C++ library that includes encoders

Thanks, I'll have a look at the code you mention.
by Tzarls
Tue Jan 23, 2018 8:46 pm
Forum: Camera board
Topic: Camera: Looking for a C++ library that includes encoders
Replies: 2
Views: 652

Camera: Looking for a C++ library that includes encoders

Hello to all. I need to use the Raspberry Camera (V2) from C++. Not wanting to reinvent the wheel, I searched for some existing library with some kind of interface for controlling the camera and found these 2 examples: https://github.com/cedricve/raspicam http://robotblogging.blogspot.pe/2013/10/an-...
by Tzarls
Tue Nov 28, 2017 12:39 pm
Forum: Beginners
Topic: Script running in IDLE not in Thonny
Replies: 13
Views: 1946

Re: Script running in IDLE not in Thonny

Your script might have been created usong IDLE3 but when you run it from the CLI (as you said you are) then the Python version used depends on what command you are issuing. AFAIK using 'python script.py' will call Python 2. For Python 3 the command would be 'python3 script.py'.
by Tzarls
Thu Nov 16, 2017 6:15 pm
Forum: Python
Topic: Recording Slow Motion video with Official Camera
Replies: 0
Views: 727

Recording Slow Motion video with Official Camera

Hi. Here´s a script to record slow motion video with the official camera v2. I saw a request for this on Twitter so I´m sharing here so anyone can benefit. I´ve added comments so you can adapt this to your own needs. For the script to work you need to install the MP4Box program, which can be done us...
by Tzarls
Sun Oct 29, 2017 12:13 am
Forum: Python
Topic: Audio processing - Have I hit the limit?
Replies: 0
Views: 391

Audio processing - Have I hit the limit?

I have this small script: import pyaudio import time import numpy as np from scipy.signal import butter, lfilter, lfilter_zi def design_filter(lowcut, highcut, fs, order=3): nyq = 0.5*fs low = lowcut/nyq high = highcut/nyq b,a = butter(order, [low,high], btype='band') return b,a def callback(in_data...
by Tzarls
Sun Oct 29, 2017 12:06 am
Forum: Python
Topic: Audio processing with PyAudio - can´t change sample values
Replies: 1
Views: 714

Re: Audio processing with PyAudio - can´t change sample values

Nevermind, I found the answer - it was just a matter of getting the sample formats and numpy arrays right.

Go to advanced search