@administrators can you please enable /dev/mem and rebuild the firmware to fix the broken Fast-gpio ?
Costas Costas
@Costas Costas
Master Blynker for Home and Business Automation
Best posts made by Costas Costas
-
RE: [SOLVED]Question about building custom image
-
Power your Omega without a dock or an iron
I'm terrible with a soldering iron and I'm waiting until the basic docks are a dollar a piece before I buy any.
Step 1 expose the 5V and Gnd from that old blue USB cable you got with all those Nano, next to no memory, clones.
Step 2 dig out the "Grove" connector you bought for supporting the WioLink Kickstarter. The 4 pin female plug end fits quite snuggly across GND, 3.3V, USB D+ and USB- pins on the Omega 2/2+. Use all 4 pins even though we only need Gnd and 3.3V as it keeps it more stable on the Omega.
Step 3 dig out that voltage regulator from the time you wasted on the ESP-01's.
Step 4 tie it altogether with the PCB terminal block. It's a tight fit but you can get 3 connections in the Gnd terminal. Gnd leg of the voltage reg, Gnd from "Nano" USB cable and Gnd to Omega. Centre pin of the terminal block has 2 connections. Leg of the 3.3V out of voltage reg and 3.3V to Omega. Last terminal just has the 5V from the "Nano" cable.
Job done. I'll not include a photo of my end product but it's working just great including the addition of the obligatory blu-tack to hold the "Grove" plug onto the Omega.
-
RE: Omega2+: reboot and sd card fixed!
and if you have a second partition it will be mounted at /tmp/mounts/SD-P2 etc
-
RE: Access point not found
@patrick-seb bonjour is only required to see the AP in a browser with the Omega-XXXX reference. Without bonjour just use 192.168.3.1 in a browser.
This is after the AP has appeared and you have connected to it.
Biggest reason the AP doesn't appear is normally inappropriate power supply. The Omega is very fussy. I would try as many different power supplies as you can.
-
RE: Omega doesn't power up
@Greg-Lorincz I would say the Omega's are pretty well made and generally most work to specification. There are a small number that are faulty but it seems to be quite a small proportion.
Omega's are VERY particular about the power they need. I have many power units and most don't work with the Omega. For most people if they find the correct power supply all will be fine.
-
RE: onion cloud force crashes node.js & gpio_helper
Same for me with a different node.js.
-
RE: [SOLVED]Question about building custom image
@WereCatf yes it is ra0 and details can be seen with:
cat /etc/config/wireless
-
RE: Cloud API documentation?
@Koos-du-Preez bit of documentation on the GitHub at https://github.com/OnionIoT/onion-ubus#gpio
@Manuel-Godinez I know many people start with controlling the onboard LED's but I'm guessing that ultimately you will want to control the GPIO pins. Also the LED was a bit flakey for me when I tried but it works up to a point and certainly works with console commands. With the GPIO details below and the syntax from the url you can check out LED's if you want to try.
If you are connected to the Device Explorer via the cloud and enter the correct commands and parameters you can control the pins from the web interface.
So command get and params {"gpio":"0"} will return:
"success": true, "pin": "0", "value": "0" }
Command set and params {"gpio":"1","value":"1"} will return the following and can be checked with a follow up get
{ "success": true, "pin": "1", "value": "1" }
Ultimately some users will want to control the pins via their own web interface or application. So if you obtain an API key and click the Generate Code button it will give you curl, C, Python and NodeJS versions of the required code.
The Device Explorer is considered to be a bit buggy by some people as you have to ensure the data in the fields is not "cached" but if you retype the data in the fields and move to another field it works as expected.
-
RE: Documentation is incomplete
-
Yes the documentation would be better if you didn't have to skip about, poor design in my book (no pun intended).
-
Noticed the almost invisible grey commands hidden within the text. +1 for new line in red.
-
Looks like fast-gpio doesn't work as documented, comes back with:
segmentation error
- Could the Onion doc person confirm they are watching this thread or advise how they want to be informed of the errors and omissions?
-
Latest posts made by Costas Costas
-
RE: I've had it!
@Don-DeGregori you'll be pleased to know that the Raspberry Pi Foundation have added WiFi and Bluetooth 4.1 to their Zero. It's their 5th birthday today and the headline price for the Zero W is $10.
Much more stock available this time around and I managed to pick up 3 quite easily from "different" suppliers.Great little product, plug and play with awesome support. Roll on the next 11 million out of the door.
-
RE: Cron job
In the cron aren't you missing the python call?
So change to something like this, depending where test2.py is located12 6 * * * python /test2.py > /tmp/test.log 2>&1
-
RE: New Omega2 basic shield, Power/FTDI/I2C and SPI
@Marcel-Neculae when did 3D printers start printing electrical components?
If you price up the parts, in bulk, you will see that docks can be made available for a nominal sum.
-
RE: New Omega2 basic shield, Power/FTDI/I2C and SPI
@Marcel-Neculae there's a clue in the name of the business.
-
RE: Omega2 vs. Linkit™ Smart 7688
So for 10+ units the LinkIt is $12.50 compared with the 2+ at $9.00.
I think for many basic users the additional cost of the LinkIt is well worth it for the plug and play features like USB host and power together with regular pin spacing.
-
RE: [resolved] Help, My Omega2 plus can't start successfully
@Zheng-Han that's good news. Roughly how long will it be before crowdfunding is finished?
-
RE: [resolved] Help, My Omega2 plus can't start successfully
@Pierre-Rossinès said in [resolved] Help, My Omega2 plus can't start successfully:
@ccs-hello
The worst part is that sometimes they work, sometimes they don't.That's the problem I have with my 2+'s wired up to AMS1117's. They will normally run for 24 to 36 hours and then fail. Don't know if they get too hot, run out of memory or receive a power spike. When I reboot them sometimes they boot up and sometimes they don't. If they don't bootup after a few tries I leave them for perhaps 30 to 60 minutes and generally they do bootup. Bit of a mystery.
Still waiting for someone to provide a reliable power source for these Omega's on a breadboard dock at a reasonable price. Like the one's Onion gave away for orders over $64.
Surely someone in the Far East can just copy the design or Onion could sell them at a reasonable price. Obviously not enough Omega users around or they would be readily available by now. @onion are you planning to sell the breadboard docks?
-
RE: root @ Omega-[nnnn] is not displayed
@HAJIME-SUZUKI almost all USB2TTL adaptors are seriously low on power and only able to send and receive data, not actually power a device, especially to the narrow tolerances required by an Omega.
-
RE: Omega2+: Can't connect to WiFI
Simple answer is change the router password.