I want to use an RPI2 for SMS messaging. I got a Raspberry Pi Itead SIM800 GSM/GPRS V2 Link Here
Where do I begin using shields? Is it as simple as setting the shield into the pins on the RPI2? Do I have to program the GPIO pins in some manner?
Yep, you pop it on to your Raspberry Pi 2, and you communicate with it via serial interface, like you'd normally do. An example can be found here. Very informative article with useful links on how to set-up the software part of your Raspberry Pi can be found here. You have to use the AT commands described in the manual linked at the bottom of the page you mention in your question. GPIO is not really required unless you want to power-on/power-off or reset your add-on programmatically.
I got mine yesterday in the mail, and got the basics working just in a few hours.
Related
for a simple project, I need a cheap wifi device, which can be used as Wifi repeater. I need also the possibility to include own functions (e.g. send own put/get requests to www from device itself).
I found a library to use esp32 as a nat-router (https://github.com/martin-ger/esp32_nat_router), but this seems to be a deep hack and it is too "advanced" for me.
Therefore, I looked for an alternative device.
Is it possible to use Raspberry Pi Pico W as wifi repeater using micropython?
E.g. Raspberry Pi Zero supports AP_STA mode, but I have to consider the costs.
Thank you.
What I did until now:
Research about esp32 as router, but no solution with Arduino or Micropython found. Tried to understand esp-idf code from above git, without a chance to extend with own www requests.
About Raspberry Pi Pico W, I found some examples only with single use in AP or STA mode.
Is it possible to work at Raspberry Pi Pico using Windows 10? My question specified is: do I have to install any Linux distro, for example Raspbian, to be able to work at it? Do I also need to use SD card to work with it?
Just want to receive feedback, cause I'm confused and also kinda new to embedded systems
I may share my experience so far, I'm not an expert and this list does not claim to be complete at all.
The pi pico can be programmed by using
Picomite Basic (found here: https://geoffg.net/picomite.html) which doesnt need anything installed on the PC except a terminal program (I am using Tera Term)
MicroPython (never used it myself, afaik Thonny - found here: https://thonny.org/ is the preferred IDE )
C/C++/ASM This is what I am using, the SDK is available for Windows, Linux and Raspbian (MacOS maybe too?), an excellent guide on how to install it and how to use it is found here: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
Arduino The Pico can even be used as an arduino device too, a good point to start is here: https://github.com/earlephilhower/arduino-pico
Keep in mind, that the interpreted languages (basic and python) are easier to handle (no big SDK or framework need to be installed on the PC, copying code to the pico is a relative easy step) but at a cost of speed. If you need a lot of cpu power, compiled languages are by far the better choice
To answer your questions, yes, no, and no. You should be able to get going on Windows 10 with just the raspberry pi pico and a micro USB to USB cable.
I got started with mine this weekend - seeing the on-board LED blink finally made me so happy.
The official getting started guide pointed me at this script for getting started on Windows.
It set up docs, examples, visual studio code, and more for me. Between its README and chapter 9 of the getting started guide ("Building on MS Windows"), I was able to get my little light blinking :)
Good luck to you on your embedded journey!
As an alternative, an in addition to #Tommylee2k's helpful insights, you can develop and run Python software for a Pico with absolutely no software needing to be installed on a Windows PC.
At its most basic level, you press the BOOTSEL switch and insert the Pico's USB cable into your PC, and the few MB of space on the Pico appear in your Windows File Explorer as a USB disk drive.
You then write your microPython software using any text editor you prefer. All these general purpose modules are available. And all these Pico-specific modules are available.
You then copy (drag and drop) your Python script to the Pico disk drive and save it as main.py.
The Pico will then run that script on every subsequent power-up. Of course you can re-attach the Pico to your PC and edit the file at a later date.
That is adequate and simple enough. If you want a REPL and friendly editor and console logging and other developer-friendly features, you can install Thonny for free and code more effectively but it is not actually absolutely necessary. It's a bit like driving a car without ABS, without an automatic gearbox and without aircon - it can get you from A to B without problems but there are easier and more comfortable methods.
I am trying to currently make a c program that will make a light blink on a Raspberry Pi 3 with embedded linux installed. I am currently building the image for the OS using yocto, poky with the raspberry pi 3 and open embedded. The OS installs on the SD card and I can have managed to add the layer that runs applications and have made a simple hello world. I am now trying to access the GPIO pins but having trouble with this.
There are lot of resources that talk about blink LED on Raspberry.
Check here, here, here, or here
Your question is related to Yocto, because once you constructed the image and boot it correctly, you just need to know how to develop a userspace example to control your desired GPIO.
NOTES:
You may encounter that GPIO is not exported in userspace, so check this answer.
I'm having a problem with tisensor tag kura example.
I am using Raspberry Pi 3 with TI sensortag CC2650. (connected via bluetooth).
TI sensortag's hardware revision is 1.3.2 and software revision is 1.2.1
When I enable all sensors , and I want to read values from them, I got only Temperature and accelerometer values. Looks like that sensortag resets after that and then starts from beggining.
I used BlueZ tool also, and I can read values from any sensor.
I can read with Kura also, but I cann't read them all together. I tried with mobile app to read from sensortag, and it works good.
I am using Kura 2.1.
Does anybody have idea what could go wrong? ( Collegue of mine is getting all values good, with same hardware and software setup. I tried his deployment package, but I had same result.)
Could it be something with Raspberry Pi bluetooth module?
I am using org.eclipse.kura.example.ble.tisensortag example.
Kura web panel setup :
http://prntscr.com/ek868g
Terminal log :
http://prntscr.com/ek86hp
Problem was with firmware on CC2650 TI sensortag. This firmware changed something on handles and characteristics. It was not full compatible.
I am using a buildroot image (3.12 kernel) running on my raspberry Pi with a USB LED light connected to it and I want to control on/off through the CLI.
I went through this. However, there is no control or level file in the power folder.
Is there any kernel configuration that I have to enable to get this ?
Found the answer to this. I have to enable PM_SUSPEND in the kernel configuration to get the class files. But then, as mentioned in the comments, RaspberryPi has the power lines directly connected to the power rails