Posts with «network» label

Ethersweep: An Easy-To-Deploy Ethernet Connected Stepper Controller

[Neumi] over on Hackaday.IO wanted a simple-to-use way to drive stepper motors, which could be quickly deployed in a wide variety of applications yet to be determined. The solution is named Ethersweep, and is a small PCB stack that sits on the rear of the common NEMA17-format stepper motor. The only physical connectivity, beside the motor, are ethernet and a power supply via the user friendly XT30 connector. The system can be closed loop, with both an end-stop input as well as an on-board AMS AS5600 magnetic rotary encoder (which senses the rotating magnetic field on the rear side of the motor assembly – clever!) giving the necessary feedback. Leveraging the Trinamic TMC2208 stepper motor driver gives Ethersweep silky smooth and quiet motor control, which could be very important for some applications. A rear-facing OLED display shows some useful debug information as well as the all important IP address that was assigned to the unit.

Control is performed with the ubiquitous ATMega328 microcontroller, with the Arduino software stack deployed, making uploading firmware a breeze. To that end, a USB port is also provided, hooked up to the uC with the cheap CP2102 USB bridge chip as per most Arduino-like designs. The thing that makes this build a little unusual is the ethernet port. The hardware side of things is taken care of with the Wiznet WS500 ethernet chip, which implements the MAC and PHY in a single device, needing only a few passives and a magjack to operate. The chip also handles the whole TCP/IP stack internally, so only needs an external SPI interface to talk to the host device.

Talking about firmware for a moment, to ease deployment, the network configuration is handled by DHCP, although some control over MAC address assignment is promised for the future. All control is via UDP over ethernet, and again the basic functionality is there, but some niceties such as motor synchronisation and state querying are again subject to further releases. Hardware design is implemented in KiCAD and FreeCAD, with Arduino covering the firmware and host control side in python. You can read all about it on the Ethersweep project GitHub, what is there not to like?

If you thought you’d seen this stepper-mounted driver setup before, you’d be correct, here’s a Hackaday Prize 2017 Entry for a CANBUS controlled driver. We also saw this on Dummy: the obscenely well made robot arm by [Zhihui Jun], which if you missed it, then do circle back and take a look, you won’t regret it!

Open Source Electric Vehicle Charging

Electric vehicles are becoming more and more common on the road, but when they’re parked in the driveway or garage there are still some kinks to work out when getting them charged up. Sure, there are plenty of charging stations on the market, but they all have different features, capabilities, and even ports, so to really make sure that full control is maintained over charging a car’s batteries it might be necessary to reach into the parts bin and pull out a trusty Arduino.

This project comes to us from [Sebastian] who needed this level of control over charging his Leaf, and who also has the skills to implement it from the large high voltage switching contactors to the software running its network connectivity and web app. This charging station has every available feature, too. It can tell the car to charge at different rates, and can restrict it to charging at different times (if energy is cheaper at night, for example). It is able to monitor the car’s charge state and other information over the communications bus to the vehicle, and even has a front-end web app for monitoring and controlling the device.

The project is based around an Arduino Nano 33 IoT with all of the code available on the project’s GitHub page. While we would advise using extreme caution when dealing with mains voltage and when interfacing with a high-ticket item like an EV, at first blush the build looks like it has crossed all its Ts and might even make a good prototype for a production unit in the future. If you don’t need all of the features that this charging station has, though, you can always hack the car itself to add some more advanced charging features.

Optical Communication Using LEDs Alone

We’re all used to the humble LED as a ubiquitous source of light, but how many of us are aware that these components can also be used as photodiodes? It’s something [Giovanni Blu Mitolo] takes us through as he demonstrates a simple data link using just a pair of LEDs and a couple of Arduinos. It’s a showing off his PJON networking layer, and while you’d need a bit more than a couple of LEDs on breadboards for a real-world application, we still think it’s a neat demonstration.

PJON itself is very much worth a look, being an implementation of a robust and error-tolerant network for Arduinos and other small microcontroller platforms. It has a variety of communication strategies for various different media, and as this LED demonstration shows, its strength is that it’s capable of working through media that other networks would balk at. Whether it’s controlling home automation through metal heating ducts or providing an alternative to LoRa at 433 MHz, it’s definitely worth a second look. We’ve mentioned it before, but remain surprised that we haven’t seen it more often since. Take a look, the video is below the break.

Hack a Day 22 Dec 09:00

Arduino PRO Gateway for LoRa now available for pre-order

We are very happy to announce the Arduino PRO Gateway for LoRa!

Combined with Arduino MKR WAN 1300 IoT nodes it makes an ideal solution for a wide range of applications, like smart agriculture, smart cities and building automation – and many other remote monitoring applications requiring long range, low power wireless connectivity.

The gateway can be used globally and enables multiple channel management. By supporting advanced features like Listen Before Talk (LBT), it allows users to transmit at higher power on the first free channel, achieving longer ranges than conventional gateways for LoRa. 

Arduino continues its mission of making complex technology easy enough for anyone to use. Customers of the Arduino PRO Gateway will be given exclusive beta access to the Arduino IoT Cloud, which makes installation, provisioning and remote management of the gateway incredibly simple through the popular Arduino Create cloud platform.

The gateway features the advanced Embit EMB-LR1301-mPCIe module, hosted by a Raspberry Pi 3 B+ SBC, in a rugged aluminum enclosure. The gateway comes pre-installed with an optimized packet forwarder and a carrier grade Network server for LoRa WAN that is running on the Arduino Cloud provided by A2A Smart City (part of the A2A Group).

Technical Specifications

  • Chipset: Semtech SX1301
  • Modulation: LoRa Spread Spectrum, FSK, GFSK 868MHz (EU) / 915MHz (US)
  • Number of Channels: 8 LoRa Channels
  • Operating Frequency: 868MHz (EU) / 915MHz (US)
  • Frequency Range: 860MHz to 1020MHz
  • Operating Temperature: -40°C to +85°C
  • RF Output Power: Up to +27dBm
  • Sensitivity: Up to -137dBm
  • Interfaces for the LoRa Module:  mPCIe (SPI / I2C / UART / GPIOs) :
  • Dimensions: 71x40x1mm
  • Operating Voltage: +5V
  • Additional Features:
    • Listen Before Talk (LBT) Capability (for improved transmission power management),
    • On-board uFL antenna connector
    • FPGA support for LoRa Spectral Scan

 

The Arduino Pro Gateway for LoRa (868 MHz , EU version) can be pre-ordered from the Arduino Store.

Arduino Blog 14 Nov 10:39

Ardupower

It’s a power stip driven remotely through an Ethernet network using telnet protocol.
The password and tcp parameters are saved in eeprom.
The user can give names to the six power out, that are also stored in eeprom.

Visit the page of [bigjohnson] on his site.

Arduino Blog 16 Nov 17:06

Programming Arduino on the cloud: codebender

codebender is web-based IDE, mainly built with HTML5 and Javascript, that focuses on the development for the Arduino platform. Since it is going to be used directly from the browser (note that currently codebender is still beta), it will further simplify the whole development process, avoiding the installation of software and libraries on the local machine.

From the home page of the project:

We want to lower the barrier to entry, which is necessary to help everyday people start their first project, become makers and advance technology instead of using it. codebender requires no installation, so you can get started with Arduino programming the minute you get one in your hands! And with the development tools we provide, you can do so faster and easier! codebender also stores your code on the cloud, so it’s safe and accessible from anywhere, anytime.

Several nice features will be available soon, such as remote flashing: together with an Ethernet shield flashed with a properly designed TFTP bootloader, you will be able to upload a sketch remotely, over the internet! Another nice feature regards its integration with the open documentation available on the Arduino website, which will be accessible directly from the IDE by selecting a piece of code and, then, by pressing ctrl+space.

More information can be found here.

[Via: HackADay and codebender's website]

WISP: a WiFi module for the Internet-of-Things

embdSocial™ is an Internet-of-Things (IoT) platform usable to provide communication support to smart objects and devices. embdSocial™ is based on WISP™, an electronic module that can be connected to any microcontroller-equipped device (such as an Arduino board, by means of ad-hoc shield) to exploit several communication services:

Each WISP™ allows real-time bi-directional communication through our secure, globally accessible API. In addition to merely providing internet connectivity, embdSocial™ provides one interface and architecture that simplifies common tasks through the use of plug-ins:

  • Tweeting/receiving @messages
  • Updating Facebook statuses
  • Sending/receiving emails
  • Sending/receiving SMS text messages
  • Manipulating files in your Dropbox

Each WISP™ is equipped with a 802.11 network interface (with support to WEP, WPA and WPA2 protocols) which allows the device to be easily connected with the embdSocial™’s servers; moreover, its configuration is completely web-based.

More information can be found on the embdSocial™ homepage, together with a couple of videos presenting its capabilities.

[Via: HackADay and embdSocial]

Arduino Blog 12 Jun 07:38

Publishing data on the web with Node.JS

Many solutions exist for publishing data coming from Arduino boards on the web. Bangon Kali, in his detailed tutorial, proposes his novel approach, which makes use of several widespread and open-source technologies, such as Node.JS, jQuery and Apache:

Using the USB, the Arduino Board is connected to the PC serially to a certain COM port which the OS allocates. Node.JS, the asynchronous server side JavaScript engine then listens for the port using a Node.JS module called SerialPort2. When a signal is received, using the Node.JS Socket.IO module, data is then served also asynchronously to the web providing a real time feed of the Arduino signal.

The tutorial (which can be applied on Linux, Mac OS and Windows) can be found here.

[Via: DangerousPrototypes and The Code Project]

Arduino Blog 05 Jun 15:31

Hacker builds allegedly pointless data network out of Lego train set

How can we appreciate bullet-quick SSDs and fiber networks without pausing -- at the year's end -- to appreciate where it all came from? We should think back to before the birth of modern computing, even before the telegraph, to a time when bits of data were forced to travel everywhere by train. A hacker named Maximilien has now recreated that locomotive golden era using Lego, Arduino and Linux, and what his system lacks in bandwidth it more than makes up for in historical relevance. A USB flash key is borne by miniature railway carriage from station to station, stopping at each one to unload or pickup information and thus creating its own barebones networking protocol. Click the source link to appreciate the full museum piece.

Hacker builds allegedly pointless data network out of Lego train set originally appeared on Engadget on Tue, 27 Dec 2011 09:19:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments