No video

Can a Raspberry Pi be used as an Arduino? || RPi GPIO Programming Guide 101

  Рет қаралды 513,078

GreatScott!

GreatScott!

Күн бұрын

Пікірлер: 776
@FlameSoulis
@FlameSoulis 6 жыл бұрын
One thing I will also suggest is that you can use BOTH an Arduino and a Pi. In a project I'm working on, I'm letting the Arduino be the powerhouse for I/O interactions with sensors and transmit the data back via Serial to the PI, who is acting as a Websocket server for other things to connect to as well as handling other math computations on the sensor's data, leaving the Arduino to only worry about managing sensors. Because the Arduino IDE is even available on the Raspberry Pi, you can have a fully set up development kit ready and on standby.
@Rushil69420
@Rushil69420 4 ай бұрын
it's nuts how far we've come in 5 years. A single ESP32 (or Pi Zero W) can basically do all the now lmao.
@orange_tweleve
@orange_tweleve 24 күн бұрын
​@Rushil69420 the esp32 is amazing for these iot data transfer stuff. Rpi 2w is good for something that needs a cam.
@rickseiden1
@rickseiden1 6 жыл бұрын
One thing you didn't touch on is the fact that the Raspberry Pi is not a real-time system. Because it runs a full OS, when you delay 1000 ms, you may get a delay of 1010 ms instead. Not a big deal, but it does add up in the long run. The Arduino platform, on the other hand is a real-time system. 1000 ms means 1000 ms. (Real-time might not be the correct term here.)
@AxelMontini
@AxelMontini 6 жыл бұрын
Rick Seiden if using the Rpi os then yes, but there are other options available. I heard about a real-time Linux Kernel and other small but yet usable operative systems made for rt applications
@bobbobson5595
@bobbobson5595 6 жыл бұрын
Axel Montini Perhaps you could use tiny core Linux to that effect?
@PaulSpades
@PaulSpades 6 жыл бұрын
nope. The Linux kernel schedules tasks and threads for multitasking, you can't use it as a single-task real-time environment. The only way to obtain the same degree of control over hardware that you get with an Arduino is running your program after the bootloader with no OS.
@bobbobson5595
@bobbobson5595 6 жыл бұрын
Paul-Adrian Stoleriu Ah, thanks
@rickseiden1
@rickseiden1 6 жыл бұрын
I didn't know there was a real-time Linux Kernel. Actually, as Paul-Adrian Stoleriu says below, I didn't think it was possible to have one. I'm not saying they don't exist, just that I didn't know about them. I've made some great projects with my Raspberry Pis, and the real-time issue never came up, because I didn't rely on it for those projects.
@vitstankus4474
@vitstankus4474 6 жыл бұрын
This is the best channel on KZfaq, you inspired me to go into electrical engineering
@bobcandothis
@bobcandothis 4 жыл бұрын
I have been watching your channel for the last two weeks, after taking a hiatus from electronics for a few years. Literally any topic I can think of you have already done an excellent video on!
@arshamskrenes
@arshamskrenes 6 жыл бұрын
I like both. I used to use kernel modules for timing with sysfs to interact with user space, but now I use an Arduino to provide a software and hardware abstraction layer that simplifies development and protects my much more expensive raspberry pi from electrical damage.
@JohnAbrahamsen
@JohnAbrahamsen 4 жыл бұрын
You can run bare metal C on raspberry pi, just like Arduino :).
@steve-adams
@steve-adams Жыл бұрын
Legend has it he sold his drawer of raspberry pi boards during the pandemic and bought an island in the Bahamas
@TopAnimeRating
@TopAnimeRating 6 жыл бұрын
7:00 ... hahaha all the semicolons
@mxr1337x
@mxr1337x 6 жыл бұрын
Kinda understandable if he comes from c. Took me a month and a linter to get rid of that behavior^^
@TopAnimeRating
@TopAnimeRating 6 жыл бұрын
ah no shit, i just pointed it out no reason to be triggered
@monad_tcp
@monad_tcp 6 жыл бұрын
Now I have a behavior of not putting it after programming in Kotlin, F#, TypeScript, Haskell, Python, OCaml When I program in C, for minutes I get compile errors until I switch my behavior and start putting ";", such a shame those old languages have stupid parsers hand-crafted that don't use formal parsing theory and need to be told then statements finish.
@AndersJackson
@AndersJackson 6 жыл бұрын
+Lulz Felipe, That is BECAUSE they are OLD languages. C is from beginning of 1970:th, made to compile Unix and the tools. The compiler theories have developed MUCH since the Algol languages (which inspired C and other languages, as they used compiler compiles, like Yacc and Lex). The computers was so slow, that the programming languages wasn't suitable for modern functional languages, and the compiler theories wasn't developed enough for languages like Haskell and Ocaml.
@Jay0neDE
@Jay0neDE 6 жыл бұрын
likewise we python devs forget semicolons and curly brackets when we have to code C ;)
@UselessDuckCompany
@UselessDuckCompany 6 жыл бұрын
Is there a pi clone available with 5v output pins? I think that would be more convenient.
@Noor-oh4jq
@Noor-oh4jq 3 жыл бұрын
Pi has 5 v
@electronichaircut8801
@electronichaircut8801 3 жыл бұрын
@@Noor-oh4jq pi takes 5v but outputs 3.3 v through its gpio pins.
@deansdrawings6844
@deansdrawings6844 3 жыл бұрын
@@electronichaircut8801 Pi outputs both, at least Pin 1 is 3.3v I think and at least pins 2 and 4 output 5v (I say at least because there may be more)
@canaDavid1
@canaDavid1 3 жыл бұрын
@@deansdrawings6844 Yeah, but logic high on the i/o pins are 3,3v.
@depressedyouth
@depressedyouth 3 жыл бұрын
You mean 5V GPIO output pin? Because 5V DC output is already available.
@The_Novo
@The_Novo 6 жыл бұрын
You don't need anything but network to work with RPi. SSH gives you ultimate power of remote control.
@hadireg
@hadireg 6 жыл бұрын
always a pleasure to be notified about your videos! Thanks for sharing your valuable knowledge!
@bernardofranco33
@bernardofranco33 5 жыл бұрын
I accidentally notice that almost everytime that you start speaking, you inhale so hard like if you were breathless And now I can't unnotice... ... nor you all
@ghost2coast296
@ghost2coast296 5 жыл бұрын
oh fuck you now I can't focus on the vid
@TimeoutMegagameplays
@TimeoutMegagameplays 5 жыл бұрын
Lol
@cyall6287
@cyall6287 5 жыл бұрын
so breathtaking
@sebastianmacchi6802
@sebastianmacchi6802 4 жыл бұрын
Daaammnn you're right, how I haven't notice before?
@johnrubensaragi4125
@johnrubensaragi4125 4 жыл бұрын
He's just too close to the mic, I suppose.
@TheBrightPixel
@TheBrightPixel 6 жыл бұрын
Please do a project using Raspberry Pi and Arduino together. Arduino GPIO with the brains of the Pi would be cool. Maybe an irrigation system where you can access a web server front end to control, or something similar?
@DrKnow65
@DrKnow65 6 жыл бұрын
Yup, +1
@ArjanvanVught
@ArjanvanVught 5 жыл бұрын
Why adding a 8-bit controller to a 32/64-bit ARM core(s) with plenty of RAM? When you want to do, for example, just add a PCA9685 : github.com/vanvught/rpidmx512/tree/master/lib-pca9685
@YOUnoobGER
@YOUnoobGER 5 жыл бұрын
@@ArjanvanVught what does that do?
@AndersJackson
@AndersJackson 5 жыл бұрын
@@YOUnoobGER read the link?
@hobbyelectronics2121
@hobbyelectronics2121 6 жыл бұрын
please make more tutorials on raspberry pi
@Turborider
@Turborider 6 жыл бұрын
+LogicalOne kzfaq.info/get/bejne/ebuAptiHqZ63c58.html
@codingmaster6321
@codingmaster6321 6 жыл бұрын
7:07 : O G ! the ";" in python ! brings back old memories
@jfk4229
@jfk4229 6 жыл бұрын
7:04 I see what you did there with deleting all the semicolons!
@M4CHINE69
@M4CHINE69 5 жыл бұрын
He is prob used to C language and he made a mistake
@Stridsvagn69420
@Stridsvagn69420 Жыл бұрын
The GPIO can definitely be awesome for getting started with simple hardware development that also involves a software-in-an-OS side. But for things that need a lot of GPIO stuff and not really a complete operating system, I'd directly use a Microcontroller like an Arduino, or an ESP if you want a bit of networking as well. I personally use the GPIO more like a custom pin header to include things like fan control and a power button and LED, perhaps also for sensors in the future (though only if it's really stationary and requires to run with an OS).
@AaronHoyt-forever
@AaronHoyt-forever 6 жыл бұрын
Two projects I have always wanted to see done with a RPI...solar panel alignment system using solar tracking (panel follows the sun for max power) and similar auto window blind adjustment to most efficiently adjust vertical blinds to allow blocking direct sunlight as the sun tracks across the sky.
@shikharverma1253
@shikharverma1253 2 жыл бұрын
im trying to make an ai based solar mppt using raspi
@RobSummers993
@RobSummers993 6 жыл бұрын
I recommend the DIY Roomba Sweeper project with Raspberry Pi. I've been toying around with this idea for a little bit and have seen a couple examples on KZfaq. Some useful features would be collision avoidance and some type of space mapping algorithm.
@AndersJackson
@AndersJackson 6 жыл бұрын
Notice the flash in the upper right corner on the booting screen? That is an indication that there are to low current from the charger. It usually need at least a 2.1 A charger. Also notice, you can use python, C or Scratch to control the IO pins.
@Nono-hk3is
@Nono-hk3is 6 жыл бұрын
Extremely well done comparative analysis. I would add that in addition to data collection and analysis, RPi excels at Internet-style communication, especially if you invest time in learning Python. I put custom web server front ends on most of my projects so I can use RESTful clients on my tablet and phone to control them. I also run Arduino IDE on a permanently integrated RPi zero w controller so I can update software without recabling my Arduino projects. In fact I don't even need to get off the couch.
@northshorepx
@northshorepx 6 жыл бұрын
Awesome! This the first C programming tutorial I've seen on the PI and it was a great introduction. A question though - can you see any advantages to using C except familiarity? I can understand that in a memory and processor limited cpu like the arduino it's absolutely needed but on the resource rich environment of the PI I think the python tooling is so much richer. Either way thanks for the video - it's great to see your detailed analysis.
@benedikts53
@benedikts53 6 жыл бұрын
northshorepx Using Python is always the better choice on a Raspberry Pi.
@skittlemittle
@skittlemittle 6 жыл бұрын
It depends on the type of project.
@alanramirezherrera7485
@alanramirezherrera7485 6 жыл бұрын
Usually C is much faster than python because C compiles to machine code and python needs an interpreter, however, you have Cython
@AxelMontini
@AxelMontini 6 жыл бұрын
It's very useful if you need performance (for example generating a pwm signal) since it bottlenecks the RPi a bit. For most applications, however, python is fine
@benedikts53
@benedikts53 6 жыл бұрын
Alan Ramírez Herrera In that way you are absolutely right. But you have to look in another way onto a Project with a Raspberry Pi. Performance is secondary.
@rpl1
@rpl1 6 жыл бұрын
Do the remote supervising system with motion detectors and sensors (for doors and windows). Plus the USB camera - when the sensors are triggered, than a camera can activate to start capturing (making photos) and upload them to remote account + send an alarm email/sms to you. This would combine the arduino elements (sensors) and raspberry functions (USB, access to FTP, emails, etc.). But this will be probably a project for 2 or 3 episodes.
@gshan994
@gshan994 6 жыл бұрын
RBPL1 I have already created one using python. It captures pics videos timelapse and automatically uploads to my Google drive (+ I have FTP and Dropbox also ) with a click of a button from a custom android app that I have built using app inventor....I am also developing the app using native android studio using kotlin. If u are really interested I can start video tutorial series.😄
@gshan994
@gshan994 6 жыл бұрын
Alarms in the form of SMS is also there.
@gshan994
@gshan994 6 жыл бұрын
Camera can act as a motion detector and sensor using opencv.
@praveenelumalai7624
@praveenelumalai7624 6 жыл бұрын
Gunesh Shanbhag are you a KZfaqrs tooo
@praveenelumalai7624
@praveenelumalai7624 6 жыл бұрын
Make video on it pls
@zaprodk
@zaprodk 6 жыл бұрын
Finally a video on the Pi GPIO - I might have a play with this soon, just for a change :) BTW, I don't understand the reason to mention 'void' all the time. Noobs keep asking the same question over and over, what this 'void' is. Just call the function Setup or Loop. No reason to mention 'void' all the time. Just my .2 cents.
@nThanksForAllTheFish
@nThanksForAllTheFish 6 жыл бұрын
Wow - *Best video* I've seen this year. Thank you for this.
@brainfreeze7979
@brainfreeze7979 6 жыл бұрын
As always, great video, and not for just the topic at hand (which is better for what), but the detail you go to regarding the whole process: declarations, IDE, and more. Awesome instructional and succinct! I wish more authors but as much time into preplanning executing their works. Cheers!!
@777giorgos
@777giorgos 4 жыл бұрын
Another cool way to use your Raspberry Pi, is to set it as headless, meaning no need to use peripherals. Instead you can connect to the Raspberry Pi via SSH, essentially enabling remote access to the Pi. To make your Pi headless, install the Rasbpian Lite image (no desktop available) which is very lightweight compared to full desktop version, as it doesn't install any additional software or desktop libraries. You can then connect via SSH, from your PC, to run your scripts or manage the Pi. I would recommend to use VSCode Insiders and remotely connect to your Pi to start developing. This is an IDE that provides code highlighting, as well as many other features via extensions, a really powerful, yet free tool.
@EdwinvandenAkker
@EdwinvandenAkker 5 жыл бұрын
7:58 What about showing us some kind of GPS tracking system for a raspberry pi, connected with the ODB2 connector of a car. ODB2 shares some info about the car's specs. Like mileage etc. The raspberry Pi could connect with the user's addressbook (contacts) or calendar via APIs to figure out if a certain trip is business or leisure.
@anycatdessai
@anycatdessai 6 жыл бұрын
I started with Raspberry Pi for electronics projects until I came across your channel few months ago. Since then its been all Arduino. Until you shift to Pi I am with arduino.
@Molloss
@Molloss 6 жыл бұрын
It would be very interresting to have a video around the wireless communication (radio) between an arduino and a raspberry. Let's say the arduino is where the sensors are connected and the data logging part is on the raspberry (like that we can have a UI to display the data later)
@videolabguy
@videolabguy 5 жыл бұрын
I have a project where I need at least two analog outputs, X & Y and one analog input Z. Ten bit resolution in/out would be ideal. This part of the project is all hardware and will probably use a three wire SPI interface. This will be for an addressable video camera that does not continuously scan, but can operate completely statically. It can be parked on a single pixel and measure it continuously or scan in any pattern desired. Full raster, pseudo random, full random, spiral, tracking microscan, etc. Microscanning a small region also improves data collecting efficiency as the entire field of view need not be read in each time. Aspect ratio is 1:1. I want to use the Raspberry Pi because it has magnificent video display support built in and full file system support, unlike Arduino. A hybrid Pi/Arduino approach is not out of the question. For the curious, the project is called the Philocam and can be seen, in process, on my own YT channel.
@kashifthemaker3945
@kashifthemaker3945 4 жыл бұрын
I love you Scott, i was looking for these answers, you told them very clearly.
@ngxson
@ngxson 6 жыл бұрын
The raspberry pi is easier for programmers like me. Since it runs linux, there're many things to play with the software. For example, using nodejs to remotely control it via firebase is a much easier way to build complicated IOT projects.
@pwnmeisterage
@pwnmeisterage 6 жыл бұрын
I find RPi easier/faster to work with when whatever I'm doing has to have connectivity to networks/peripherals/etc - it's already built into the hardware. But Arduino isn't a full SBC, it's an MCU - much better when you need finer control over timings and stuff, you don't have to fight against the multitasking bloat or play within the cracks on a "full" computer - and small code runs faster, simple hardware runs faster (if it has same spec, anyhow) - MCU or SoC is just the better choice than SBC for some things.
@lithiumwyvern_
@lithiumwyvern_ 5 жыл бұрын
You're not even intended to use the Arduino for really complicated IOT things. The Arduino is a microcontroller board (like @P said), you program close to the metal, you don't run a whole OS, it's better for fine control and real-time but you shouldn't use it for a web server or to otherwise communicate with networks. An SBC is far better for more advanced things, especially for things with cameras or network connectivity. There's kind of a middle ground in the form of the ESP8266 and ESP32 series, microcontrollers with a pretty good amount of processing power which are generally capable of come in boards built around network connectivity, Wi-Fi and Bluetooth, and can be easily programmed with Lua, Python or even Node.js thanks to their power and the fact that they usually have 1MB or more flash storage.
@AndersJackson
@AndersJackson 5 жыл бұрын
@@lithiumwyvern_ tell that to the people that make CNC controllers based on 8-bit Arduinos. :-) But yes, the different devices have different strength and weaknesses. You can still add simple network and IO protocols like for IoT. You can still use IPv6 on them, which you actually should do instead of IPv4. ;-)
@ggeasy8499
@ggeasy8499 5 жыл бұрын
7:03 He had just put that semicolon.. and then removed it really quick...mhmmmmmmmmm
@M4CHINE69
@M4CHINE69 5 жыл бұрын
He made a mistake
@maxrobotics3703
@maxrobotics3703 4 жыл бұрын
hehee
@free_spirit1
@free_spirit1 4 жыл бұрын
So you're saying that while I was having fun with my Arduino you were secretly teaching me C++? You bastards! I didn't sign up to learn anything >:(
@cashel1111
@cashel1111 6 жыл бұрын
i would very much like to see you control motors with the pi 3 B, i think it would be a brilliant demo of what it can do also if you need more ideas for pi videos, you could re-create some electronic analysis tool like an oscilloscope, or make a variable power supply where the pi controls the amount of current and/or voltage from variables in code. love the videos, and im glad you have started pi projects
@MartinBgelund
@MartinBgelund 6 жыл бұрын
Thanks for a great episode! I'd like to see a project with Raspberry Pi and an Arduino in conjunction, communicating with each other over I2C.
@rishabhkumar17
@rishabhkumar17 6 жыл бұрын
Connecting Arduino to raspberry pi through i2c communication will be a nice project. Raspberry pi as master and Arduino as slave. And I think this will also increase the gpio pins...
@TheRailroad99
@TheRailroad99 6 жыл бұрын
Raspberry Pi = small computer. useful for - low power Server applications (like a webserver, print server, server to controll some smart home stuff etc.) - Media applications (the graphics are quite good for such a small/cheap unit) Arduino, Teensy = Microcontroller stuck on a tiny PCB. - Replaces a Microcontroller if you are to lazy to solder one into your circuit (+ it is a LOT easier to program than for something like an AVR or a PIC without a firmware/toolkit like arduino) -Useful as an usb interface / controller, like for example in homemade input devices (keyboards, joysticks etc.) and in robotics
@StevePietras
@StevePietras 6 жыл бұрын
Always enjoy your videos.
@dabunnisher29
@dabunnisher29 6 жыл бұрын
I really love your videos. I like how you write down things too.
@naveenkumar-ot8jy
@naveenkumar-ot8jy 6 жыл бұрын
All of your videos are highly informative.
@crohkorthreetoes3821
@crohkorthreetoes3821 6 жыл бұрын
So what I wanna know is "How stable is Raspberry Pi, When it comes to inputing and outputing data on the fly?" AvE says you cannot trust arduino to not crash during critical operations that require external coms. Ex. Let's say you have a moving object that is reporting it's position to the R.P. then the R.P. does the math and tells the object to proceed to the next coordinate. The moving object is logging data. It doesn't have to transmit all the data. It just has to get 'home' safely. Can Raspberry Pi find it's way home without crashing in the woods somewhere? This may be bit long winded, but basically how stable is Raspberry Pi with processing external data?
@tanmay______
@tanmay______ 6 жыл бұрын
Great video, GreatScott!
@NeelSancheti
@NeelSancheti 6 жыл бұрын
It will be awesome if you can make a video on LIDAR and Maping of Unknown Environment.
@jparky1972
@jparky1972 6 жыл бұрын
Thank you! I have a version 1 Raspberry Pi that I bought with big plans and never got around to doing anything with it. A CarPuter to use a touchscreen, GPS, MP3 player and interact with my Megajolt car ignition system. As an arduino. It is ovrrkill. but if you have a project where heavy processing is needed. Then yes. a RPi is the way to go.
@sanjayvora5986
@sanjayvora5986 6 жыл бұрын
I had been always waiting for this video super helpful video
@aidanwansbrough7495
@aidanwansbrough7495 6 жыл бұрын
Thanks for the video!! I haven't really tried to use the Raspberry Pi for electronics, but seeing how it works, I think I might!
@nochsoeinlouis5835
@nochsoeinlouis5835 6 жыл бұрын
One of the advantages is the ability to run any linux program including webservers, etc. and still having the ability to connect your electronic parts to it.
@JOELwindows7
@JOELwindows7 5 жыл бұрын
4:02 void loop(){} is while(1){} 5:08 The programable GPIO pin is 3.3 V instead of 5V. Those pin which you do e.g. digitalWrite(pin, value); to!
@douglasmaclean5836
@douglasmaclean5836 4 жыл бұрын
ya gotta love a great channel ! awesome video !
@leonardofranco7398
@leonardofranco7398 6 жыл бұрын
I would like to see how to do computer vision (like YOLO object detection) on a rasperry pi board. Wish you the best, Great Scott!
@rgmtb
@rgmtb 5 жыл бұрын
I would love to see more Raspberry Pi videos. Anything would be great using Python. I'm starting to focus a little more on the Pi because it just seems more powerful and can do more complex tasks. Also, I'm trying to attempt to focus on a system since it's hard for me to learn all things things right now. Finally, I'm finding Python very helpful for my other programing tasks so learning that language is very helpful 👍👍👍
@anothertijuano
@anothertijuano 6 жыл бұрын
A video about SPI, UART and i2c sounds interesting.
@regisdereuter9463
@regisdereuter9463 6 жыл бұрын
Great introduction of C in Pi. That was something very interresting and i was looking for that since a while. Thanks you for your video.
@alejozambranoz
@alejozambranoz 6 жыл бұрын
Also the raspberry Pi (Rpi) can have connection with arduino by USB, and have a bidirectional communication, with that you can easily use both and now you have the vintages of arduino like ADC. A good project could be an intelligent cae that map his specific route and of course add another's items like distance measure, lights and so.. Interesting introduction of RPI
@martinberanek460
@martinberanek460 6 жыл бұрын
I think that they are not comparable as they offer really different functions. For example raspberry can multitask. Arduino is a real time system... its just why can they both coexist at the same time. Because you need both of them for different things.
@jnsp6081
@jnsp6081 6 жыл бұрын
GreatScott! OMG YOU HAVE A NEW VIDEO
@braselectron
@braselectron 5 жыл бұрын
Thank you for sharing your knowledge. Great tutorial. As a feedback to your channel, I would like to see a project of a DRM/DRM+ radio transmitter and receiver, using Arduino and Raspberry Pi (which I believe could be the best choose because of the SDR processing power needed). This could be a very important development.
@franciscopen1681
@franciscopen1681 6 жыл бұрын
Do a zero-cross voltage level proyect or something that controls the power output but with an micro Controller! Would love that (maybe even a PID)
@MCsCreations
@MCsCreations 6 жыл бұрын
Awesome, dude! That's a great option for more complex projects! 😊
@productorasb
@productorasb 4 жыл бұрын
For us, coming from VB, XOJO allows you tu program in a fully graphic environment as well as,in a command line one, and even web. Not free, but excellent.
@1973Washu
@1973Washu 5 жыл бұрын
I have been using a pi as a controller for a robot and I have been getting very good results , The only downside is that I need to run a motor controler off a seperate 12v battery for propulsion.
@leo940806
@leo940806 6 жыл бұрын
WoW, thanks for introducing JCL PCB. It's worth trying!!!!!!!!
@zandersvetgoff6550
@zandersvetgoff6550 6 жыл бұрын
Raspberry Pi also has a 5V GPIO pin, just clearing that up! Great video
@HighFidelityFox
@HighFidelityFox 6 жыл бұрын
I prefer the arduino over a Pi for things like this. I just have my Pi hooked up to my weather station and in a bucket of mineral oil.
@TudorGruian
@TudorGruian 6 жыл бұрын
Fun fact:In future you can officialy run Arduino Schetches on rPi ": The idea is there's a tonne of people that know how to use Arduino and they can take their knowledge and apply it to this," Banzi told the Embedded Linux Conference 2018 in Portland in the US.
@user-bn4rb3tn3y
@user-bn4rb3tn3y 6 жыл бұрын
Before watch it I said "Nope. They are not same" P.S. Can you make videos about networking(actually, making router or AP) using RPI with ethernet hub or BPI R series(router, R1 or R2)
@canaDavid1
@canaDavid1 3 жыл бұрын
Wouldn't a raspberry pi be better as an EEPROM programmer? Contributing factors are 1) The Arduino does not have enough flash memory (32kb for both code+data, most larger EEPROMs are 32kb by themselves) 2) The raspberry pi (at least the newer ones with 40pin) has enough pins for address, data and ce/oe/we without using a shift register 3) You can have assembler, compiler and programmer on the same thing, and not need to translate the binary file to a C array. Just realized that I am commenting thinking that I'm watching Ben Eater and referencing his projects. The points should still hold. I bought Eater's 6502 kit and got a Nano and some shift registers in addition to make his EEPROM programmer. But because I am stupid and got parallel-to-serial shift registers, I will have to use my raspberry pi (2b). I'll update y'all with progress once I start to figure it out.
@ozzymandius666
@ozzymandius666 5 жыл бұрын
A Pi-based oscilloscope/spectrum analyzer would be neat.
@alexreeve
@alexreeve 6 жыл бұрын
as a masochist, you can also programm it using the bash console! ("echo 1 > /sys/class/gpio/gpio15/value") ;)
@albertox0404
@albertox0404 6 жыл бұрын
Please ,can you make the magic mirror?😌 Nice video...
@bjoernsan99
@bjoernsan99 6 жыл бұрын
Very educational video! Pleas more!
@julioda5914
@julioda5914 6 жыл бұрын
You can install Processing 3, this program have the hardware io library and by the way you can make a graphic environment or use a camera to control the raspberry
@zihasz5305
@zihasz5305 5 жыл бұрын
You can connect the Arduino the Pi to get ANALOG pins.
@MrKristian252
@MrKristian252 6 жыл бұрын
This video is gonna get a LOOOOT of views
@michakumiega8580
@michakumiega8580 5 жыл бұрын
Sorry for the date but raspberry pi 3 has a 5v pin outputs. I recommend you looking for a pin schematic ;)
@Mat2095
@Mat2095 6 жыл бұрын
I'd definitely be interested in a video about the MicroPython pyboard. I've heard about it, but never looked at it in more details.
@greatscottlab
@greatscottlab 6 жыл бұрын
I put it on my to do list
@joemAwesomeMan
@joemAwesomeMan 6 жыл бұрын
Awesome! Python at last!
@amyshaw893
@amyshaw893 6 жыл бұрын
i like watching you writing the python, and putting the semicolon at the end of each line before quickly deleting it. Been doing that for a while in lua =D
@Extra_Mental
@Extra_Mental 6 жыл бұрын
You can also install node.js on the pi and use javascript to program it, which solves the problem of timers as javascript is event based
@DeanPeart
@DeanPeart 4 жыл бұрын
A BMS based on a Raspberry Pi seems like it could be very useful (assuming that it's possible). I've been trying for a while to dream up a BMS that could monitor and optimize each cell individually by being aware of it's specifications (which is probably unnecessary, but could potentially make it very beginner friendly) and a Pi seems like it could be a good way to achieve that
@WhiteBULLtheONE
@WhiteBULLtheONE 6 жыл бұрын
It's also possible to program the Pi directly through the PC (just for Win 10). Just install Windows 10 IOT on the PI and Visual Studio on the PC. Then open an Arduino-Wireing-Project in Visual Studio and there you go .... The thing ist, the Pi might have an other drawback besides the ones you mentioned: It can't do very accurate timing, because there is still an OS Running in the background.
@anycatdessai
@anycatdessai 6 жыл бұрын
I was expecting the sequel of the E bike videos
@chotasolarcryptominer
@chotasolarcryptominer 6 жыл бұрын
I want to see a smart home controlling future with raspberry pi 3 which will have automatic water tank filling, power management with solar pcu. automatic stair lighting, motion sensing outdoor lighting with motion capturing, home security when in home or out of home, disconnecting the external cunnections when lightning or thunderstorm is happening to prevent internal home appliance getting damaged from lightning etc.
@sunilmore5212
@sunilmore5212 6 жыл бұрын
Spotted new breadboard!!
@waltercomunello121
@waltercomunello121 5 жыл бұрын
1:10: "I went for the Raspberry Pi 3 model B." 1:42: "...and powered up the system with a 5v phone charger". Me: "He's gonna have the yellow lightning." 1:46 *Called it* Simple 5v phone chargers as RPi3B power supplies might cause sudden/unclean reboots, even more likely if you use USB devices attached on it (such as keyboards or USB flash units). A stable voltage is given on about 5V1 with thicker copper wires. That said, I would calculate that the Arduino draws much less power than the Raspberry, and is much faster, being a RT system. Using it as an Arduino substitute? Yes, but only if you have no concerns about power, don't care about speed, and you need to create complex projects (such as a retrogaming portable). Otherwise it would be a misused waste of potential IMO.
@krishnalimbad112
@krishnalimbad112 6 жыл бұрын
Great video 🤘
@robertschmidt6360
@robertschmidt6360 5 жыл бұрын
One important thing, you didn't mentioned is, that you can run multiple programms in parallel, because you execute the code on a Operation system. May it's not an RTOS but in most cases it isn't necessary. I jused this fact, to controll a IR-LED in a sub-programm with delays, that didn't affect the main Programm noticeable.
@lucysluckyday
@lucysluckyday 4 жыл бұрын
You can use a Raspberry Pi as a uC, except when you need a hard-realtime system - hard realtime systems require an RTOS to guarantee event driven responses and you cannot rely on the HW of a General Purpose CPU for that (largely due to the OS). Soft realtime can be implemented on a Raspberry Pi as the events become less critical. For example, if you want to build a pacemaker - ONLY EVER USE a uC with a solid RTOS (as no events must EVER get missed) !!!!
@kazolar
@kazolar 6 жыл бұрын
I have a couple of original Pi 1s doing basically arduino type stuff in my home automation system, but they run a basic java server. They run i2c library and I expand to a bunch of ADC inputs, and a bunch of opto isolated outputs. Why Pi, because I had them, and I wanted to have a bit more processing capability for the data. Now I'd use an esp32 for similar application, but these Pis have been in service for close to 8 years and have up times since the last time I was messing around with power -- about 250 days. The java server can do things a bit easier for data processing and analysis before sending it along to the home automation brain. For instance I can pick which ADC post processes I want to use when subscribing to an ADC input in the home automation brain, either straight data, or one of several mathematical smoothing algorithms -- SMA, WMA, and Bezier -- just the ones I implemented. Arduino could do it, but it would be pretty taxing on the CPU to that much data smoothing. Just depends what the use case is, and what you have around.
@senceryazici
@senceryazici 6 жыл бұрын
He is definitely familiar with C family though still uses semicolons on python :)). Video was great! Good Job!
@crckdns
@crckdns 4 жыл бұрын
Great introduction into raspberry world for me as esp/arduino user! I'd love to see a cheap way to map environment with the rasbpi and probably lasers..to guide a robot through the garden :)
@m.shafiqsofian4188
@m.shafiqsofian4188 6 жыл бұрын
I want GreatScott to do his own magic mirror. Lets get started! ^^
@killroy42
@killroy42 6 жыл бұрын
What I'd love to see is something like a Raspberry Pi controlled system, (perhaps wit ha LCD/touchscreen interface) controlling various arduino-based sub-systems for home automation. Basically, have a PI with touch screen on the wall and connect via wifi or similar to various arduino boxes to control lights, shutters, A/C, etc.
@moritzlaszlo3115
@moritzlaszlo3115 6 жыл бұрын
I'd like see a video on building a ceep NAS. Meaby from an old laptop or from a Pi. There are some videos of this kind here on KZfaq but I really like YOUR way of explaining things. Thanks for all the hard work you put in you videos.
@vipervidsgamingplus5723
@vipervidsgamingplus5723 4 жыл бұрын
A Raspberry Pi is a micro computer meant to replace the standard computer, it runs on a Linux distro. So it could be used for prototyping but it won’t be the same.
@gotsane
@gotsane 6 жыл бұрын
for those of you arguing about what language it actually is or which should be used... WHO CARES?!?! In the end it doesnt matter what language you write it in unless you actually pick one and get something working. The raspi can work in any language that is supported under linux. Just chose one. My first raspi script was written in node.js with some python backend scripts.
@herantd
@herantd 6 жыл бұрын
I built a self driving car with real time video processing(not trained network) so i used opencv and lots of others awesome python libraries. But the amount of memory best rpi version offers is not really enough for computing some real advaced stuff.
@FallingofHeroes
@FallingofHeroes 6 жыл бұрын
This is really good! Thank you!
@Nicksperiments
@Nicksperiments 6 жыл бұрын
Raspberry Pi seems to be good for graphics and arduino is good at logic. Would be cool to see an arduino-raspberry duo possibly running Processing on the Pi being controlled through serial by the arduino. That way you get the best of both worlds
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 605 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 67 МЛН
123 GO! Houseによる偽の舌ドッキリ 😂👅
00:20
123 GO! HOUSE Japanese
Рет қаралды 5 МЛН
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 15 МЛН
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
WAY faster than a Raspberry Pi-but is it enough?
17:26
Jeff Geerling
Рет қаралды 666 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,5 МЛН
I've never seen ANYTHING like this before... Temple OS
17:57
Linus Tech Tips
Рет қаралды 4,2 МЛН
Your USB-C Cable probably SUCKS! Sooo is that Bad?
10:54
GreatScott!
Рет қаралды 709 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 774 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 145 М.
HACKED!: Using an HDD Motor as a Rotary Encoder?!
8:21
GreatScott!
Рет қаралды 1,5 МЛН
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН