Go to advanced search

by ElEscalador
Wed Dec 12, 2018 5:03 pm
Forum: Troubleshooting
Topic: false push buttons press when connecting to long wires
Replies: 12
Views: 261

Re: false push buttons press when connecting to long wires

I have run up to maybe 12-14 meters with nothing but the internal pullup/down resistors and have yet to get a false signal. I did, however, use the pullup internally so my input is inverted and a button press feeds ground back to the gpio pin. The idea was that in the noisy environment with power to...
by ElEscalador
Thu Dec 06, 2018 12:50 pm
Forum: Troubleshooting
Topic: UART can't send more than 1 byte at once
Replies: 4
Views: 115

Re: UART can't send more than 1 byte at once

I don't have a problem getting bytes out of my uart. Same code? Is the uart wired right? (Are you getting a legit byte and is it correct? Or are you getting trash?) *EDIT: another thought - is your gps a 3.3 volt module or is it looking for 5v? Your usb will supply 5v data but your uart willl only s...
by ElEscalador
Wed Dec 05, 2018 1:58 am
Forum: C/C++
Topic: Wifi control from C/C++
Replies: 2
Views: 165

Re: Wifi control from C/C++

Closest I've done is system() calls to sudo ifdown or ifup for turning the wifi on or off...as well as the ethernet connection and the wifi hotspot (which could function as ad-hoc connection when no internet was present). So I've done it with c but not really with c, if you know what I mean - I wasn...
by ElEscalador
Sat Dec 01, 2018 12:18 am
Forum: General discussion
Topic: Connecting multiple sensors
Replies: 8
Views: 178

Re: Connecting multiple sensors

Read like you're reading a switch. One per pin. Without knowing what you are doing, I'd wager that a simple, single-threaded program reading one after the other would probably be fast enough. Even a slow computer running a slow language like python is really fast. I don't know how fast these sensor ...
by ElEscalador
Tue Nov 27, 2018 12:37 pm
Forum: Beginners
Topic: How to remote into a Pi without setting a static IP?
Replies: 6
Views: 264

Re: How to remote into a Pi without setting a static IP?

I quit worrying about the hassle of static IP when realvnc dropped it's cloud-based vnc service. (Free).
Static IP still has it's uses ... just none that I need it for.
by ElEscalador
Tue Nov 27, 2018 12:42 am
Forum: C/C++
Topic: C vs Python which has more GPIO support?
Replies: 8
Views: 377

Re: C vs Python which has more GPIO support?

If speed is not critical during program execution python will be much faster to learn and get your project working and there's tooons of tutorials around python but not quite as many for c/c++; I hope you do not mind this qualifier: There are tones of tuts for RPi GPIO in Python, not as many for RP...
by ElEscalador
Mon Nov 26, 2018 6:15 pm
Forum: C/C++
Topic: C vs Python which has more GPIO support?
Replies: 8
Views: 377

Re: C vs Python which has more GPIO support?

If speed is not critical during program execution python will be much faster to learn and get your project working and there's tooons of tutorials around python but not quite as many for c/c++;
by ElEscalador
Tue Nov 20, 2018 2:29 am
Forum: General discussion
Topic: Alexa Pi ZeroW vs Pi3 Performance
Replies: 13
Views: 897

Re: Alexa Pi ZeroW vs Pi3 Performance

DavidS wrote:
Tue Nov 20, 2018 1:30 am

Still stiks the RPi 3A offline, no WiFi.
It has built in wifi chip? I think?
by ElEscalador
Tue Nov 20, 2018 12:50 am
Forum: General discussion
Topic: Alexa Pi ZeroW vs Pi3 Performance
Replies: 13
Views: 897

Re: Alexa Pi ZeroW vs Pi3 Performance

> I am more concerned with size than I am with cost > Today Pi 3A+ was released. While it has reduced RAM (512MB instead of 1GB of the 3B+), it has "all" the connectors the 3B+ has (only 1 USB instead of 4 of 3B+, no ethernet, but Wifi) and has same computational power. It is just smaller form fact...
by ElEscalador
Tue Nov 13, 2018 1:27 am
Forum: General discussion
Topic: Alexa Pi ZeroW vs Pi3 Performance
Replies: 13
Views: 897

Re: Alexa Pi ZeroW vs Pi3 Performance

The problem you're going to run into with a Pi 0 is the fact it lacks audio output and only has 2 micro USB ports (one of which is solely used to power the rpi) You may be able to use a bluetooth speaker, but I've always found it flaky wanting to connect. I'm sure after you figure these problems ou...
by ElEscalador
Mon Nov 12, 2018 1:27 pm
Forum: General discussion
Topic: Alexa Pi ZeroW vs Pi3 Performance
Replies: 13
Views: 897

Alexa Pi ZeroW vs Pi3 Performance

I'm sure it's been asked but my google skills are not solving this for me... I am more concerned with size than I am with cost, but I still want not sucky performance. The end-device in mind is Alexa that does normal Alexa stuff but also plays random sound clips of my wife's kid upon a command I hav...
by ElEscalador
Mon Nov 12, 2018 1:15 pm
Forum: General discussion
Topic: Headless Raspberry pi 3 B+ with Alexa
Replies: 1
Views: 157

Re: Headless Raspberry pi 3 B+ with Alexa

RealVNC comes installed on the pi. Just get a free account and download the vnc viewer from realvnc onto your PC
by ElEscalador
Mon Nov 05, 2018 3:06 pm
Forum: Beginners
Topic: Continually display contents of text file on desktop?
Replies: 9
Views: 232

Re: Continually display contents of text file on desktop?

I guess I have to ask what does the updating of said file? If that's a local program I'd probably use that program to output whatever it is to make it easier to avoid trying to read and write at the same time. That said I'm kind of a caveman and would write a c++ (python probably easier but I don't ...
by ElEscalador
Tue Oct 30, 2018 11:44 am
Forum: Automation, sensing and robotics
Topic: Creating a Self driving Lawnmower
Replies: 6
Views: 877

Re: Creating a Self driving Lawnmower

How intelligent are you hoping to make it? Bump and go good enough? As others have said - unless your yard is huge and you don't mind missing some by programming a large buffer, gps not accurate enough for the typical suburban home. Consider a buried wire like for an invisible dog fence. Next, see i...
by ElEscalador
Mon Oct 29, 2018 3:27 am
Forum: General discussion
Topic: Raspberry Pi Magnetic Field Tolerance
Replies: 16
Views: 580

Re: Raspberry Pi Magnetic Field Tolerance

IDK if this info is even helpful but I did find that strong enough magnets will prevent a zero from even booting. More in this thread:

viewtopic.php?f=63&t=169946&hilit=magnet
by ElEscalador
Sat Oct 27, 2018 2:13 pm
Forum: Python
Topic: C# or Python or C/C++
Replies: 11
Views: 893

Re: C# or Python or C/C++

As a side note, please consider joining my Facebook autonomous robot builder and coders group. Hoping to collect enough people on similar missions to share ideas, troubleshooting skills, etc. https://www.facebook.com/groups/273792653417570/
by ElEscalador
Fri Oct 26, 2018 4:03 pm
Forum: Python
Topic: C# or Python or C/C++
Replies: 11
Views: 893

Re: C# or Python or C/C++

Especially if you are new to doing gpio stuff and using sensors and stuff, I feel that the availability of tutorials and libraries written for python may make it a worthwhile investment to go python. The other way might be C++ ... that's my language of choice (only language, really) but it's way har...
by ElEscalador
Fri Oct 19, 2018 12:54 am
Forum: C/C++
Topic: Codeblocks Crashes
Replies: 15
Views: 1897

Re: Codeblocks Crashes

Awwwwsssome, thank you! A quick google search indicates that I could update to the new version (which I do see after apt-get update) with ' sudo apt-get install --only-upgrade <packagename> ' Is this recommended or am I better off saving all my projects elsewhere, then doing a complete uninstall wit...
by ElEscalador
Thu Oct 11, 2018 3:01 am
Forum: C/C++
Topic: Codeblocks Crashes
Replies: 15
Views: 1897

Re: Codeblocks Crashes

jamesh wrote:
Wed Oct 10, 2018 7:10 pm
The latest version of codeblocks in the repo is 16.x, the latest official release is 17.12. We are currently looking at updating the repo to the latest official version.
That is very exciting news.
by ElEscalador
Tue Oct 09, 2018 9:24 pm
Forum: C/C++
Topic: Codeblocks Crashes
Replies: 15
Views: 1897

Re: Codeblocks Crashes

I haven't found a fix. Saw some chatter about it being a big overhaul and not an easy patch, but not clear on what the issue really is. I keep meaning to make myself get used to Geany, but it seems like quite a hassle. I end up switching between leafpad and Code::Blocks. Also a hassle.
by ElEscalador
Wed Oct 03, 2018 1:39 pm
Forum: General discussion
Topic: Thermometer for raspberry pi
Replies: 5
Views: 278

Re: Thermometer for raspberry pi

You can set it up with just a 2 wires - one for power and one for data, but save yourself some potential headache and hook up the ground wire too. ?? You can use parasitic mode to carry (power and data) on one line, and ground on the other, but I know of no mode that uses the power and ground lines...
by ElEscalador
Wed Oct 03, 2018 11:57 am
Forum: General discussion
Topic: Thermometer for raspberry pi
Replies: 5
Views: 278

Re: Thermometer for raspberry pi

DO you just need it to display the temperature? A DS18B20 (one-wire) is probably the easiest to read and display, and it's dirt cheap....plenty of tutorials out there for your chosen language (I'm guessing python?). You can set it up with just a 2 wires - one for power and one for data, but save you...
by ElEscalador
Mon Oct 01, 2018 12:45 pm
Forum: Automation, sensing and robotics
Topic: Will gps with raspberry work inside home?
Replies: 9
Views: 659

Re: Will gps with raspberry work inside home?

You will not get adequately accurate results with gps for an indoor robot. Sorry. Localization (the robot knowing where it is) is one of the biggest challenges in robotics. I am struggling to get results accurate and repeatable enough for indoor use. Although, I think I'd be much further along if I ...
by ElEscalador
Mon Oct 01, 2018 12:31 pm
Forum: C/C++
Topic: How do I include entire API (many files) for VL53L1 TOF Lidar thing?
Replies: 6
Views: 568

Re: How do I include entire API (many files) for VL53L1 TOF Lidar thing?

True, adding multiple did work. Now just to read 25 files worth of api...*sigh*
by ElEscalador
Mon Oct 01, 2018 12:29 pm
Forum: C/C++
Topic: Read UART Packet
Replies: 5
Views: 550

Re: Read UART Packet

I guess I don't fully understand... it sounds like all bytes sent are received. It also looks like 41 is always your start character... Depending on what I am doing, I will usually use an if statement or a while loop so bytes are thrown away until the program sees my start character. Then I read the...

Go to advanced search