Go to advanced search

by scotty101
Thu Aug 16, 2018 10:47 am
Forum: Other projects
Topic: what to do with an old police scanner.
Replies: 6
Views: 274

Re: Not sure where else to ask this....

If this device is totally broken and beyond repair, I'd consider turning this in to a Software Defined Radio "scanner".

Strip out the contents and replace with a Pi and a USB SDR module (many TV modules can be used) and install some software to pick up and decode radio frequencies.
by scotty101
Wed Aug 15, 2018 1:58 pm
Forum: Automation, sensing and robotics
Topic: Motor/Driver Recommendation for balancing robot
Replies: 2
Views: 84

Motor/Driver Recommendation for balancing robot

Recently started looking at a project that I had set aside a few years ago to create a robot that can balance on two wheels but am having no success. I'm using the "standard yellow gearboxed motor" and a ZeroBorg motor controller. The ZeroBorg seems to have a few problems; If you set the motor speed...
by scotty101
Wed Aug 15, 2018 12:46 pm
Forum: C/C++
Topic: read() is blocked forever on raspberry pi 3 UART
Replies: 3
Views: 138

Re: read() is blocked forever on raspberry pi 3 UART

Why not try the serial port functions included in the WiringPi library. You may have more luck with that.

http://wiringpi.com/reference/serial-library/
by scotty101
Wed Aug 15, 2018 10:39 am
Forum: Automation, sensing and robotics
Topic: What motion sensors suitable for drones, work with a Pi ?
Replies: 4
Views: 117

Re: What motion sensors suitable for drones, work with a Pi ?

so how come this project forum isn't full of drone projects? 1. There are some drone project 2. Drones aren't easy. In theory they are simple but in practice they are a lot more complicated Many drones will use a 'simpler' microcontroller rather than a complex SoC like the Pi. For example the ArduP...
by scotty101
Tue Aug 14, 2018 2:41 pm
Forum: Python
Topic: List Widget Sum
Replies: 1
Views: 43

Re: List Widget Sum

Perhaps you can share the code you have already and someone might be able to help.

Remember to use code tags

Code: Select all

if code.in_code_tags == false:
     code.readable = 'No'
by scotty101
Tue Aug 14, 2018 2:33 pm
Forum: Python
Topic: Reading - ADS122C04 with Python 3
Replies: 2
Views: 62

Re: Reading ADS12C04 with Python 3

Have you read the psuedo code example on page 50 or looked at the flowchart on page 32?

This gives some major hints about how to read from the device.

Is there a reason why you are using this specific ADC? Seems a bit specialised/high-performance for a beginner project?
by scotty101
Mon Aug 13, 2018 4:01 pm
Forum: Beginners
Topic: Graphical User Interface & its framework
Replies: 7
Views: 124

Re: Graphical User Interface & its framework

Many thanks scotty101, What is meaning of 'traditional application UI' I think this is key point of my confusen. I think GUI used in desktop application to control device Something like "Microsoft Word" would be a "traditional application UI" where as "Office 365 Word" is a web based application. B...
by scotty101
Mon Aug 13, 2018 3:54 pm
Forum: Python
Topic: How can I use this screens additional pins in python?
Replies: 2
Views: 53

Re: How can I use this screens additional pins in python?

This screen doesn't give you any "additional pins". The 26 pin header is just the first 26 pins of the raspberry pi's header routed to a different connector on the screen's PCB. In order to use any of those pins, you'd need to work out which of the original 26 pins are utilized by the screen and whi...
by scotty101
Mon Aug 13, 2018 3:46 pm
Forum: Python
Topic: Multiplexing
Replies: 1
Views: 43

Re: Multiplexing

A SPI or I2C port expanders connected to your Pi might be better than trying to multiplex. Given the small number of GPIO pins available, I don't think multiplexing will span out to control 512 pins.
by scotty101
Mon Aug 13, 2018 2:48 pm
Forum: Beginners
Topic: Graphical User Interface & its framework
Replies: 7
Views: 124

Re: Graphical User Interface & its framework

From your description, it sounds like the Graphical User Interface will be presented to the user via a Web Browser rather than a 'traditional application UI' The GUI is the buttons, switches, displays etc that you create inside the web page (using HTML/CSS/JavaScript) and use to control the system. ...
by scotty101
Mon Aug 13, 2018 2:33 pm
Forum: Plan 9
Topic: USB Serial in Plan 9
Replies: 1
Views: 46

Re: USB Serial in Plan 9

I've used either MiniCOM and GTKTerm so read data from serial ports before. These work well if you just want to read the raw serial data. Most programming languages have a way to read from serial ports too. For example the PySerial module allows python to read from serial ports. You'd use a programm...
by scotty101
Mon Aug 13, 2018 2:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: High Speed Communication to Pi Hat
Replies: 4
Views: 91

Re: High Speed Communication to Pi Hat

USB would be better than any of the GPIO pin accessible interfaces.

Perhaps you should explain a bit more about the end goal of your project and what the HAT needs to do.
by scotty101
Mon Aug 13, 2018 10:54 am
Forum: Wanted
Topic: Need Raspberry Pi
Replies: 4
Views: 253

Re: Need Raspberry Pi

It might be worth-while indicating your location. Who knows, if you're within walking distance, even I might be willing to help. But no further than a mile or so. Yep location would be helpful. It's one thing donating a Pi to someone but totally different to have to pay for postage, especially inte...
by scotty101
Fri Aug 10, 2018 3:12 pm
Forum: Beginners
Topic: need advise on gui building
Replies: 14
Views: 224

Re: need advise on gui building

Looks like an error with the bot code rather than the GUI.

Does it work on its own?
by scotty101
Fri Aug 10, 2018 3:08 pm
Forum: Automation, sensing and robotics
Topic: ADC for analog inputs
Replies: 2
Views: 78

Re: ADC for analog inputs

The Raspberry Pi only has digital GPIO pins and has no built in ADC.

You can connect ADCs via the SPI/I2C buses.
by scotty101
Fri Aug 10, 2018 11:53 am
Forum: Beginners
Topic: need advise on gui building
Replies: 14
Views: 224

Re: need advise on gui building

where do i put the main bot code is it before or after the command "app.display()" You'll need to modify the bot code. The initialization and setup code can go before all the GUI code but you'll need to turn the "while" loop in to a function that is called when you press the "press to speak" button...
by scotty101
Fri Aug 10, 2018 8:59 am
Forum: General discussion
Topic: Using raspberry pi as a active low pass filter.
Replies: 2
Views: 77

Re: Using raspberry pi as a active low pass filter.

Why not just buy an active low pass filter? Sure you probably could eventually use a Pi and some ADCs and DACs to read in and process an audio signal to filter out high frequencies but it'll cost you much more in time and money to do that it would be to just buy a correct, purpose designed low pass ...
by scotty101
Thu Aug 09, 2018 7:43 pm
Forum: General discussion
Topic: Sense HAT Question
Replies: 1
Views: 51

Re: Sense HAT Question

Are you sure that the directory that you've created doesn't have a sub-directory or python file called sense_hat inside it?
Folder/file name conflicts might cause this issue.
by scotty101
Thu Aug 09, 2018 3:56 pm
Forum: General discussion
Topic: Vibration and MQ-6 to GSM module
Replies: 1
Views: 34

Re: Vibration and MQ-6 to GSM module

How much research have you done already? There is plenty of information out there for the raspberry pi and all the different sensors/devices that you have mentioned. Is this a school project/hobby project/professional project? Just so people know what level of detail they may need to give based on y...
by scotty101
Thu Aug 09, 2018 2:18 pm
Forum: General discussion
Topic: Help with text from image to mysql database with sim card
Replies: 7
Views: 135

Re: Help with text from image to mysql database with sim card

A Raspberry Pi 3B+ and a standard Raspberry Pi Camera will be more than capable of reading some simple text.
Can't recommend a GSM module I'm afraid but the I'd try something from a seller than has good tech support. The Adafruit FONA might be worth trying (It is only 3G though)
by scotty101
Thu Aug 09, 2018 2:08 pm
Forum: Python
Topic: Adding relay to a tripware
Replies: 4
Views: 72

Re: Adding relay to a tripware

With python after each if, for, def, class, try, except (most things that are followed by a colon : ) etc you need to indent your code by another level for example if __name__ == '__main__': print("Hello World") is INCORRECT but if __name__ == '__main__': print("Hello World") is CORRECT. For control...
by scotty101
Thu Aug 09, 2018 1:58 pm
Forum: Beginners
Topic: need advise on gui building
Replies: 14
Views: 224

Re: need advise on gui building

i dont understand this line "output_box.append(f'[You said] {command}')" Yeah sorry. I recently started using the new python f-strings formatting but it is a bit different and confusing if you haven't used it before. The documentation is at https://docs.python.org/3/reference/lexical_analysis.html#...
by scotty101
Thu Aug 09, 2018 1:27 pm
Forum: Beginners
Topic: need advise on gui building
Replies: 14
Views: 224

Re: need advise on gui building

Here is a rough framework for a simple "chat bot" gui. You type in to the top text bot what you want to say press the "Go" button and it will be 'echoed' in the 'output' box. Inside the sendMessage function, you should pass that command on to your bot, and then print its response to the output box. ...
by scotty101
Thu Aug 09, 2018 1:17 pm
Forum: Beginners
Topic: need advise on gui building
Replies: 14
Views: 224

Re: need advise on gui building

I'm guessing you didn't write the bot code? From having a quick scan though the bot code, I'm not sure what you want to do with the GUI. Does the bot code not try to read speech from a microphone rather than text from a keyboard? Perhaps you should describe, from the perspective of a user, how you w...
by scotty101
Thu Aug 09, 2018 1:04 pm
Forum: Python
Topic: Adding relay to a tripware
Replies: 4
Views: 72

Re: Adding relay to a tripware

How did you get to this point? Did you copy some code or did you write this yourself? You need to setup a GPIO pin as an output and set the pin to True or False depending on the state of the "LaserGPIO" pin. Would you prefer someone to write the code for you or have a link to a tutorial/documentatio...

Go to advanced search