Recent Posts

Pages: [1] 2 3 ... 10
1
PiBot Pioneers Questions/Answers / Git merge - December 4, 2017
« Last post by jemartel on December 05, 2017, 12:14:50 am »
Hi All,

Today I performed a "merge" of the latest piBot/pioneers.git repository. I was most curious of python files and arduino mobility uploads. I found that for both MovingAndShaking1.ino and MovingAndShaking2.ino sketches my piBot moved in reverse direction from as the sketch indicated. (Did I mount my DC Motors reversed?) The wheels when turning left and right were moving in the reverse direction.

To resolve my apparent directional issues (and possible yours) I just changed the polarity of the LMpower and RMpower variables to "-LMpower and -RMpower" respectively in the forward and backward as well as Left and Right loops.

Now to figure out the use of roboNavigator2.py!!!!
2
PiBot Pioneers Questions/Answers / Re: WARNING - Be careful with on/off switch
« Last post by mrAgilic on November 28, 2017, 06:05:00 pm »
This switch is important as it controls the battery power to the whole system .  Please see Fast Start Guide Booklet for details of its position for charging etc.!
3
PiBot Pioneers Questions/Answers / Re: piBot problems
« Last post by mrAgilic on November 28, 2017, 06:02:23 pm »
Just added you to the Repo Thomas.  Let us know how you get on!
4
PiBot Pioneers Questions/Answers / Re: PiBot Mods
« Last post by mrAgilic on November 28, 2017, 06:00:09 pm »
Thanks for sharing all this Jim.  Not many Pioneers have got round to using their PiBots yet though it will be good for them to see your mods when they do:)
5
PiBot Pioneers Questions/Answers / Re: Arduino IDE does not program piBot
« Last post by mrAgilic on November 28, 2017, 05:57:18 pm »
Hi Thomas

The boards were tested before sending so I am hoping that this may be easy to fix.  Here's some ideas:

  • Is the board pushed onto the GPIO pins of the Raspberry Pi firmly?  (electrical contact necessary)
    Was serial enabled in the Raspi-config program? If so this may be the problem!
    Is there power definitely going to the MCU?  (don't power from the Raspberry Pi mini usb input)

If there is anything else that has happened on the software side then the best way may be to start from a fresh image:

http://www.pibot.org/pioneers/distro/

The test image should work in uploading the test blink program.  If this doesn't work then it suggests it's a hardware issue.

Can you try some of these things to troubleshoot and feedback how you get on?

6
PiBot Pioneers Questions/Answers / Arduino IDE does not program piBot
« Last post by thomasM on November 27, 2017, 07:11:16 pm »
The Arduino IDE does not fine the piBot. Looking for ttyS0. no ttyS0 in the dev directory
7
So today I received the 8"/200mm PiCamera flex cable  --Adafruit pn 1647 $1.95 for the Pan-N-Tilt mod. I previously submitted. It works well with test script, I will need to invert/flip video 180* so as not to have the funky reverse bend in the cable...But as I like to have local HDMI access when coding I purchased Adafruit's NEW MINI HDMI cable and hardware...as well as an HDMI Straight F connector-pn 3551 $6.50, an HDMI R/A-D/M connector-pn 3549 $6.50, and a HDMI Ribbon 10mm cable- pn 3560 $1.50 to add a right angle HDMI cable/port so I could attach a monitor without removing the wheel.

Following posted manual SD card build with revised Github downloads:...

So all revised code examples have been tested, Tilt camera, wheel drive, Ultrasound, and audio, Arduino and Python test codes working.

No to see about WebSockets and camera/video streaming.....
8
PiBot Pioneers Questions/Answers / Re: piBot problems
« Last post by thomasM on November 19, 2017, 09:17:50 pm »
I'll send the old board back. I looks like postage will be about $12. Also can you add my GitHub user name tmccaffr to the repo so I can clone the software.
9
I turned on Arduino verbose during upload in the Arduino preferences tab: these are the error results during upload. I have PiBot MCU plugged into RPI3 DC adapter 5.1v
Fresh Raspbian Stretch build 2017-09-07-raspbian-stretch.zip 1,716,107KB
SanDisk 16GB microSDHC card (pn SDSDQ-016G-RS46)
Arduino 2:1.0.5+dfsg2-4.1
Board: Pibot
Programmer: Raspberry Pi GPIO
Serial Port: /dev/ttyS0
*****************
Original error log
*************************
Binary sketch size: 2,536 bytes (of a 30,720 byte maximum)
/usr/bin/autoreset:16: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(pin, GPIO.OUT)
done with autoreset
avrdude-original: stk500_recv(): programmer is not responding
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe

***************
Turned on verbose during upload in Arduino preferences per:
https://stackoverflow.com/questions/19765037/arduino-sketch-upload-issue-avrdude-stk500-recv-programmer-is-not-responding
***********************


Binary sketch size: 2,536 bytes (of a 30,720 byte maximum)
/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyS0 -b57600 -D -Uflash:w:/tmp/build8751029525346121626.tmp/Sweep.cpp.hex:i

avrdude-original: Version 5.10, compiled on Jun 18 2012 at 12:38:29
                  Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                  Copyright (c) 2007-2009 Joerg Wunsch

                  System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
                  User configuration file is "/root/.avrduderc"
                  User configuration file does not exist or is not a regular file, skipping

                  Using Port                    : /dev/ttyS0
                  Using Programmer              : arduino
                  Overriding Baud Rate          : 57600
done with autoreset
avrdude-original: Send: 0 [30]   [20]
avrdude-original: Send: 0 [30]   [20]
avrdude-original: Send: 0 [30]   [20]
avrdude-original: ser_recv(): programmer is not responding
avrdude-original: stk500_recv(): programmer is not responding
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe
strace: |autoreset: Broken pipe

avrdude-original done.  Thank you.

strace: |autoreset: Broken pipe
10
PiBot Pioneers Questions/Answers / Re: piBot problems-New SD CArd
« Last post by jemartel on November 13, 2017, 02:06:55 am »
I  was unable to get the Arduino 1.8.5 or Arduino 2:1.05+dfsg2-4.1 to connect and upload any files to the PiBot MCU, so I have tried to rebuild a new SD card from a fresh download of the Raspbian stretch as indicated in the wiki and in the Pioneers github
autoInstall.sh and Pi-Bot git install. The fresh install did not have the Arduino 1.8.5 (good cuz that didn't recognize the PiBot MCU). Following the forum :
https://github.com/pi-bot/pioneers/blob/master/config/installSteps.md.... got me further but I am not an expert with editing with "VIM" but a handy google search helped me insert and save. I could now select PiBot and the serial port was listed (good)...I have tried each listed programmer...

no so fast....the upload is failing with a:
 
avrdude-original: stk500_recv(): programmer is not responding
strace:  |autoreset:  Broken pipe


I think A revised document is in order
Pages: [1] 2 3 ... 10