Go to advanced search

by amcdonley
Sun Oct 08, 2017 2:53 pm
Forum: Troubleshooting
Topic: remote desktop from Mac to RPi "incompatible version"
Replies: 0
Views: 917

remote desktop from Mac to RPi "incompatible version"

For some reason "Screen Sharing" app from my Mac Mini (OS 10.12.6 Sierra) started reporting that that "version running on remote computer is incompatible with Screen Sharing". It seems like a crash had left some droppings in /tmp/.X11-unix/ To fix it, I did the following: ssh pi@...
by amcdonley
Mon Oct 02, 2017 8:55 pm
Forum: Automation, sensing and robotics
Topic: MCP3008, Voltage Divider and Pressure Transmitter
Replies: 8
Views: 2771

Re: MCP3008, Voltage Divider and Pressure Transmitter

On my robot, I use the 5v RPi for vRef (and VDD) on the 3008, and only level shift the DOUT (using r1.r2 divider) from the 3008. The I2CS, DIN, CLK from RPi (3.3v) go straight into the 3008 no problem, no level shift needed. When running the 3008 with 5v ref, there is no need to level shift your 0-5...
by amcdonley
Mon Oct 02, 2017 7:51 pm
Forum: Troubleshooting
Topic: Throttling 0x10000?
Replies: 2
Views: 424

Re: Throttling 0x10000?

Thanks.
by amcdonley
Mon Oct 02, 2017 6:46 pm
Forum: Troubleshooting
Topic: Throttling 0x10000?
Replies: 2
Views: 424

Throttling 0x10000?

I've been running BOINC projects on my Pi3 at an average load of 2 and 70-74C, powered at 4.97v at the header for the last 18 days with no problems. I updated the OS last night, and rebooted, which started BOINC processing again. Roughly eight hours later, while showing the same load, temps, and vol...
by amcdonley
Wed Sep 27, 2017 4:12 pm
Forum: Automation, sensing and robotics
Topic: Raspi + L298N = Hang
Replies: 4
Views: 1047

Re: Raspi + L298N = Hang

Try check temperature and power status in each loop:

vcgencmd measure_temp
vcgencmd get_throttled
by amcdonley
Wed Aug 23, 2017 4:35 pm
Forum: Advanced users
Topic: Under-voltage warnings
Replies: 209
Views: 392068

Interpreting get_throttled=0x10000 or 0x30000

How should I interpret get_throttled=0x10000 or 0x30000 ? This post seems to imply under-voltage and throttling come together (I added hex views) 0: under-voltage (0xX0001) 1: arm frequency capped (0xX0002 or 0xX0003 with under-voltage) 2: currently throttled (0xX0004 or 0xX0005 with under-voltage) ...
by amcdonley
Tue Aug 22, 2017 10:25 pm
Forum: Automation, sensing and robotics
Topic: cam-track.py Now Windows, Unix compatible using web cam as well as Raspberry Pi
Replies: 1
Views: 1180

Re: cam-track.py Install - Wow!

Cool - Especially thank you for the one line opencv and all dependencies install. Somewhere I read about a book with 128 steps to follow to install OpenCV, so I have been putting off my initiation into OpenCV. I am running cam-track.py on Stretch upgraded from Jessie (using OS X remote desktop displ...
by amcdonley
Mon Aug 21, 2017 9:12 pm
Forum: Troubleshooting
Topic: LifePO4wered/Pi3, BOINC, and throttled=0x100000
Replies: 0
Views: 326

LifePO4wered/Pi3, BOINC, and throttled=0x100000

I added the LiFePO4wered/Pi3 UPS to my RPi3, along with the 15x15x15mm Adafruit heatsink and moved from a metal Flirc case to an acrylic case for the UPS and Pi3. My "boincstatus.sh script checks the temperature and throttled flags once every 10 seconds. I was seeing get_throttled would return ...
by amcdonley
Sun Jul 23, 2017 1:45 am
Forum: Automation, sensing and robotics
Topic: tilt-pan servo reference directions?
Replies: 0
Views: 414

tilt-pan servo reference directions?

The GoPiGo robot pan_servo(angle) function puts 0 degrees facing left, 90 degrees straight ahead, and 180 to the right. (gopigo.py for rev 2.) If I understand the ROS Wiki correctly, ROS (and iRobot) put the robot frame X axis straight ahead, Z up), with positive angles turn left (from the x axis/fo...
by amcdonley
Sat Jul 22, 2017 2:49 am
Forum: Automation, sensing and robotics
Topic: Can't Recharge While RPi Is On
Replies: 8
Views: 1753

Re: Can't Recharge While RPi Is On

mosespi wrote: MoPower UPS
I needed to study this puppy a bit. It looks good as a UPS, but 50ma charge rate won't get me 4000ma over night. Oh well, was hoping.
by amcdonley
Sat Jul 22, 2017 2:04 am
Forum: Automation, sensing and robotics
Topic: Can't Recharge While RPi Is On
Replies: 8
Views: 1753

Re: Can't Recharge While RPi Is On

Thanks @mosespi - gives me some options and helps me understand how schottky diodes work.
by amcdonley
Fri Jul 21, 2017 10:51 pm
Forum: Automation, sensing and robotics
Topic: Can't Recharge While RPi Is On
Replies: 8
Views: 1753

Re: Can't Recharge While RPi Is On

Somewhere I saw an I2C Real Time Clock that could wake-up the RPi. I'll have to see if I can drive onto a recharging station, then shutdown with a scheduled "wake me up in four hours". If the bot shuts down right away, it might just work. I'll have to figure out if my Pololu SP power switc...
by amcdonley
Fri Jul 21, 2017 7:16 pm
Forum: Automation, sensing and robotics
Topic: Can't Recharge While RPi Is On
Replies: 8
Views: 1753

Re: Can't Recharge While RPi Is On

Good point - so perhaps a large Capacitor (or on the extreme the LiFePO4wered/Pi battery+charger) would isolate the load variation from the battery.
by amcdonley
Fri Jul 21, 2017 6:43 pm
Forum: Automation, sensing and robotics
Topic: Can't Recharge While RPi Is On
Replies: 8
Views: 1753

Can't Recharge While RPi Is On

My RPi3 based robot is powered by 6 Ni-MH 5000mAh C-cells. I use a Tenergy 1025 "Smart" charger which auto detects that the nominal battery is 7.2v, charges at 2A using "negative delta-V" to detect when to switch to trickle charging. This all works wonderful IF my robot is shutdo...
by amcdonley
Thu Jul 20, 2017 4:17 pm
Forum: Camera board
Topic: Object and Feature Recognition
Replies: 2
Views: 1040

Re: Object and Feature Recognition

The problem space is huge, and OpenCV is *THE* solution. We need to grow the number of people that understand how to apply OpenCV functions to basic vision problems.

There are no vision "components" yet, only tools for folks to build with.
by amcdonley
Tue Jul 18, 2017 2:28 pm
Forum: Automation, sensing and robotics
Topic: Robot Life on Ni-MH Batteries
Replies: 1
Views: 620

Robot Life on Ni-MH Batteries

My RPi3 robot is powered by six 5000mAH Ni-MH C-cells, and a Tenergy 1025 Smart Charger. Last weekend, when I plugged my bot in to recharge, the charger blinked "bad battery" condition. Two of the (year old) Tenergy C-cells were at 0 volts, while the other four cells read 1.1 volts. I had ...
by amcdonley
Fri Jul 14, 2017 10:37 am
Forum: Advanced users
Topic: frequency(45)?
Replies: 1
Views: 609

frequency(45)?

What is the meaning/reason for the (45) in the "vcgencmd measure_clock arm" result?

frequency(45)=1200000000
by amcdonley
Wed Jul 12, 2017 8:37 pm
Forum: Automation, sensing and robotics
Topic: RPICT3 Temperature and Current Sensor
Replies: 2
Views: 1109

Re: RPICT3 Temperature and Current Sensor

Did you try their sample program ?? sudo apt-get install python-serial Then copy the following into an executable file and run it. #!/usr/bin/python import serial ser = serial.Serial('/dev/ttyAMA0', 38400, timeout=1) try: while 1: response = ser.readline() z = response.split(",") if len(z)...
by amcdonley
Wed Jul 12, 2017 7:17 pm
Forum: Automation, sensing and robotics
Topic: Laser Ranging Sensor (VL53L0X)
Replies: 1
Views: 2179

Laser Ranging Sensor (VL53L0X)

Anyone integrated the new Dexter Industries laser "Distance Sensor" or the Adafruit VL53L0X Time-of-flight sensor to their robot? They both contain the VL53L0X laser "time of flight" sensor and interface via I2C. The "laser" beam and sensor acceptance cones are quite la...
by amcdonley
Sat Jul 01, 2017 6:19 pm
Forum: Automation, sensing and robotics
Topic: Distributed Computing for BOINC
Replies: 3
Views: 6664

Re: Distributed Computing for BOINC

Thanks for the heads up on einsteinathome.org - I added to my deskPi3 projects. I have been a part of SETI@Home since it started in 1999 and then WorldCommunityGrid. I just don't like having my computers powered off - weird but me. I have BOINC configured for 5GB disk, 80% of memory 70% of CPU time ...
by amcdonley
Thu Jun 29, 2017 3:44 pm
Forum: Automation, sensing and robotics
Topic: What does your Ultrasonic Scan look like?
Replies: 1
Views: 470

What does your Ultrasonic Scan look like?

What do your ultrasonic distance scans look like? Do you get wide variations in distance readings? Here is my "sample=30" run of us_servo_scan.py , (from GoPiGo), when placed 60 cm looking at a corner: tMap: ----------------------------------------------------------------------------------...
by amcdonley
Thu Jun 29, 2017 3:01 pm
Forum: Automation, sensing and robotics
Topic: Using PiCam for situation awareness
Replies: 2
Views: 594

Re: Using PiCam for situation awareness

mattmiller wrote:You might want to consider using ArUco type markers to assist with its situational awareness
Wow - so cool. Thanks.

The markermapper from the same folks puts it all together. I am so pumped. I just need to retire, right now, to have the time to play with all this!
by amcdonley
Thu Jun 29, 2017 2:12 pm
Forum: Automation, sensing and robotics
Topic: Using PiCam for situation awareness
Replies: 2
Views: 594

Using PiCam for situation awareness

Lately I've been doing a lot of thinking about how best to raise my robot's intelligence level beyond basic motor skills. The need for this stems from my desire for the robot to be able to find its way back to a recharging station, to enable a more continuous robot "life" cycle. With the P...
by amcdonley
Mon Jun 05, 2017 11:29 pm
Forum: Python
Topic: Threads vs processes
Replies: 8
Views: 2500

Re: Threads vs processes

This is a very apropos question for what I am doing - attempting to convert a robot written in Interactive C (on 68HC11) to Python (on Raspian Jessie). Interactive C had concepts of light weight "processes" and shared memory (even persistent across reboot shared memory) with hardware inter...
by amcdonley
Thu Jun 01, 2017 1:25 pm
Forum: Automation, sensing and robotics
Topic: Selecting Autonomous and Manual Control
Replies: 6
Views: 1383

Re: Selecting Autonomous and Manual Control

Then here is main(): def main(): startup() #prints some instructions. while True: print("Auto mode = ", AUTO) if AUTO == 1: auto_mode() elif AUTO == 0: print("auto mode is off") sleep(1) else: sys.exit() # just for testing purposes And here is auto_mode(): def auto_mode(): print...

Go to advanced search