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.
Related
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 have a raspberry pi 3 that I powered with my computer directly and I can not use the GPIO pins because they don't send anything.
Do I really need a power supplier?
Yes, you definitely should use a "real" power supply, as mentioned here: Raspberry Pi, Powers supply
If you use any USB Ports or mobile phone chargers it can happen that some functions are not available, because of lack of power and/or voltage.
Here are the exact specs: FAQ - Power requirements
Quote from the FAQs:
2. CAN I POWER THE RASPBERRY PI FROM A USB HUB?
"It depends on the hub. Some hubs comply with the USB 2.0 Standard and only provide 500mA per port, which may not be enough to power your Raspberry Pi. Other hubs view the USB standards more like guidelines, and will provide as much power as you want from each port. Please also be aware that some hubs have been known to “backfeed” the Raspberry Pi. This means that the hubs will power the Raspberry Pi through its USB input cable, without the need for a separate micro-USB power cable, and bypass the voltage protection. If you are using a hub that “backfeeds” to the Raspberry Pi and the hub experiences a power surge, your Raspberry Pi could potentially be damaged."
I'm trying to simulate a wireless network with 3 access point. I need to set the range of each AP and simulate mobile devices walking around these APs that are sending wireless sign.
I read that a good omnet framework to do so is the INET. I already ran some examples and tutorials but I still cant't do my experiment. Does anybody knows a step by step tutorial to simulate an AP sending sign for a mobility device?
Googled for resources for INET and following these,
http://rockthevoid.tumblr.com/post/17374133262/omnet-and-how-to-create-tcp-applications
https://omnetpp.org/doc/inet/api-current/tutorials/wireless/
I am new guy on Arduino and johnny-five. I am not clear about the way johnny-five work. JS code will run on computer or run directly on Arduino board? Besides, can we use johnny-five for IoT? because I have not found any component to support Arduino uno connect to internet(call rest api or Azure service,..)
Thanks,
johnny-five uses Firmata. The Javascript code is running on your PC, and the Arduino is basically used as a peripheral — the Firmata firmware allows software on your PC to interact with all of the Arduino's inputs and outputs, but there isn't any real "intelligence" running on the Arduino.
Yes, it's possible to use REST APIs on an Arduino without the help of an attached computer, if the Arduino has an Ethernet Shield or some other method of connecting to the internet, but do keep in mind that the Uno only has 2kB of RAM and 32kB of ROM, so there's a limit to how complex you can make things.
You can connect arduino to a raspberry, it is not expensive.
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.